/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 60px;

    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(8px);

    z-index: 1000;
}


/* =====================================================
   LEFT SIDE
   Logo + Home
===================================================== */

.header-left {
    display: flex;
    align-items: center;
    gap: 28px;
}


/* =====================================================
   LOGO MARK
===================================================== */

.header-logo {
    display: flex;
    align-items: center;

    line-height: 0;
}

.header-logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;

    display: block;
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav-left,
.nav-right {
    display: flex;
    align-items: center;

    gap: 34px;
}

.nav-left a,
.nav-right a {
    position: relative;

    color: rgba(255,255,255,0.9);

    font-size: 12px;
    font-weight: 500;

    letter-spacing: 2px;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover {
    color: #d6b36a;
}


/* =====================================================
   SUBTLE NAV UNDERLINE
===================================================== */

.nav-left a::after,
.nav-right a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 100%;
    height: 1px;

    background: #d6b36a;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
    transform: scaleX(1);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {
    display: none;

    color: #fff;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .header {
        height: 70px;
        padding: 0 20px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .header-left {
        gap: 0;
    }

    .header-logo img {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;
    width: 100%;
    padding: 90px 6% 30px;

    /* Keeps the global background visible */
    background:
        linear-gradient(
            to bottom,
            rgba(10, 10, 8, 0.45),
            rgba(8, 8, 7, 0.72)
        );

    color: rgba(255, 255, 255, 0.85);
}

/* Subtle top separation */

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(214, 179, 106, 0.45),
        transparent
    );
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 70px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand h3 {
    margin: 0 0 18px;

    font-size: 25px;
    font-weight: 500;
    letter-spacing: 2px;

    color: #e7d7bb;
}

.footer-brand p {
    max-width: 360px;
    margin: 0;

    font-size: 14px;
    line-height: 1.9;

    color: rgba(255, 255, 255, 0.58);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    margin: 0 0 22px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #d6b36a;
}

.footer-column a,
.footer-column p {
    position: relative;

    width: fit-content;
    margin: 0 0 13px;

    font-size: 13px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* Footer link hover */

.footer-column a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -3px;

    width: 100%;
    height: 1px;

    background: #d6b36a;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-column a:hover::after {
    transform: scaleX(1);
}


/* Contact */

.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.48);
}


/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {
    width: 100%;
    max-width: 1500px;
    height: 1px;

    margin: 70px auto 25px;

    background: rgba(255, 255, 255, 0.10);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-bottom p {
    margin: 0;

    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.38);
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    position: relative;

    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.38);

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #d6b36a;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .footer {
        padding: 75px 7% 25px;
    }

    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 500px;
    }

    .footer-divider {
        margin-top: 55px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer {
        padding: 65px 25px 25px;
    }

    .footer::before {
        left: 25px;
        right: 25px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 45px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand h3 {
        font-size: 22px;
    }

    .footer-brand p {
        font-size: 13px;
        line-height: 1.8;
    }

    .footer-column h4 {
        margin-bottom: 18px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 12px;
    }

    .footer-divider {
        margin: 50px 0 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom p {
        font-size: 9px;
    }

    .footer-legal {
        gap: 20px;
    }
}