/* =========================================================
   COMMON CSS
========================================================= */


/* =========================================================
   FONT
========================================================= */

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --red: #d71920;
    --red-dark: #b9141a;
    --yellow: #ffc400;

    --black: #111111;
    --text: #222222;
    --gray: #666666;
    --light-gray: #eeeeee;
    --white: #ffffff;

    --background: #ffffff;

    --container: 1180px;

    --radius: 8px;
    --radius-small: 5px;

    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 92%;
    max-width: var(--container);
    margin: 0 auto;
}


/* =========================================================
   HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
}


/* =========================================================
   COMMON BUTTON
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 22px;

    border: none;
    border-radius: var(--radius-small);

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-red {
    color: var(--white);
    background: var(--red);
}

.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

.btn-yellow {
    color: var(--black);
    background: var(--yellow);
}

.btn-yellow:hover {
    background: #eeb600;
    transform: translateY(-1px);
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo img {
    width: 190px;
    height: auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    position: relative;

    padding: 27px 0;

    color: var(--black);

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.nav-link.active::after {
    content: '';

    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;

    height: 2px;

    background: var(--red);
}


/* =========================================================
   HEADER PHONE
========================================================= */

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    color: var(--white);
    background: var(--red);

    border-radius: var(--radius-small);

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.header-phone:hover {
    background: var(--red-dark);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 45px 0 18px;

    color: var(--white);
    background: var(--black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1.4fr;

    gap: 45px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo img {
    width: 170px;
    margin-bottom: 18px;
}

.footer-description {
    max-width: 280px;

    color: #cccccc;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   FOOTER TITLE
========================================================= */

.footer-title {
    margin-bottom: 18px;

    color: var(--white);

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #cccccc;

    font-size: 13px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact {
    display: grid;
    gap: 10px;
}

.footer-contact p {
    color: #cccccc;

    font-size: 13px;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    margin-top: 35px;
    padding-top: 18px;

    border-top: 1px solid #333333;

    text-align: center;

    color: #999999;

    font-size: 12px;
}

.footer-bottom a {
    color: var(--yellow);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background: #222222;

    border-radius: 50%;

    font-size: 17px;

    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
    background: var(--red);
    transform: translateY(-2px);
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);
    background: #25d366;

    border-radius: 50%;

    font-size: 28px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    z-index: 999;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .nav {
        min-height: 70px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .header-phone {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

}


@media (max-width: 600px) {


    .container {
        width: 92%;
    }

    .nav {
        min-height: 65px;
    }

    .logo img {
        width: 155px;
    }

    .nav-menu {
        gap: 12px;
    }

    .nav-link {
        font-size: 11px;
        padding: 22px 0;
    }

    .nav-link.active::after {
        bottom: 14px;
    }

    .footer {
        padding: 35px 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .whatsapp-button {
        width: 52px;
        height: 52px;

        right: 16px;
        bottom: 16px;

        font-size: 24px;
    }

}