/* =======================
    NAVBAR (shared)
   ======================= */

/* Layout */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 4%;
    height: auto;
    max-height: 100px;
    background-color: #0f0e0f;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 950;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0f0e0f;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease-in-out;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    flex: 1;
    justify-content: flex-start;
}

.nav-center {
    flex: 1;
    justify-content: center;
}

.nav-right {
    flex: 1;
    justify-content: flex-end;
    gap: 2.5rem;
}

.logo img {
    width: 225px;
    height: auto;
    object-fit: contain;
}

/* Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-family: "Geist", sans-serif;
    font-weight: 700;
    transition: color 0.25s ease-in-out;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-email {
    color: #fff;
    font-size: 12px;
    font-family: "Geist", sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

.nav-email:hover {
    color: #bdbdbd;
}

.nav-contact {
    padding: 10px 15px;
    background-color: #ff0000;
    color: #fff;
    font-size: 12px;
    font-family: "Geist", sans-serif;
    font-weight: 400;
    border-radius: 18px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
}

.nav-contact:hover {
    background-color: transparent;
    border: 1.25px solid #fff;
    color: #fff;
}

/* Dropdown (desktop) */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links .dropdown-menu li {
    padding: 0 10px;
    padding-top: 10px;
}

.nav-links .dropdown-menu li a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.nav-links .dropdown-menu li a:hover {
    color: #999;
}

/* Active link guides */
.nav-links a.active::before,
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: black;
    transition: opacity 0.3s ease-in-out;
}

.nav-links a.active::before {
    top: -3px;
}

/* Overline */
.nav-links a.active::after {
    bottom: -3px;
}

/* Underline */

/* Mobile nav (shared selectors) */
.menu-toggle,
.mobile-menu {
    display: none;
}

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* =======================
   Tablet & below (≤1024px)
   ======================= */
@media (max-width: 1024px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100vw;
        max-height: 10vh;
        background-color: #0f0e0f;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.25s ease-in-out;
    }

    .nav-contact,
    .nav-email {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle,
    .mobile-menu {
        display: block;
    }

    .menu-toggle {
        position: absolute;
        right: 5rem;
        top: 3.2rem;
        width: 48px;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-toggle span {
        display: block;
        height: 1px;
        background-color: #ffffff;
        cursor: pointer;
        margin-top: 8px;
    }

    .menu-toggle:hover {
        transition: transform 0.3s ease-in-out;
    }

    #openIcon {
        color: #fff;
    }

    #closeIcon {
        color: #ffffff;
        z-index: 1001;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100%;
        background: #0f0e0f;
        transition: right 0.5s ease;
        z-index: 1000;
        padding: 50px;
        box-sizing: border-box;
    }

    .menu-header {
        margin-top: 45px;
    }

    .menu-header p,
    .menu-footer p {
        margin: 5% 0;
        font-size: 16px;
        font-family: "Geist", sans-serif;
        letter-spacing: 2px;
        color: #a6a6a6;
        text-transform: uppercase;
    }

    .menu-links {
        list-style: none;
        padding: 0;
        margin: 20px 5%;
    }

    .menu-links li {
        margin: 20px 0;
        font-size: 28px;
        font-family: "Geist", sans-serif;
        font-weight: 200;
        text-transform: uppercase;
    }

    .menu-links li.active::before {
        content: '• ';
        color: #fff;
    }

    .social-links {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        font-family: "Geist", sans-serif;
        font-weight: 200;
        text-transform: uppercase;
    }

    .social-links span {
        color: #fff;
        padding: 0 5px;
    }

    .mobile-menu a {
        color: #fff;
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-menu a:hover {
        color: #bdbdbd;
    }

    .mobile-menu hr {
        border: none;
        height: 1px;
        background: #fff;
        margin: 10px 0;
    }

    .menu-logo {
        display: block;
        width: 100%;
        max-width: 500px;
        height: auto;
        max-height: 500px;
        float: left;
    }

    .menu-logo img {
        width: 700px;
        height: auto;
    }

    .logo img {
        width: 300px;
        height: auto;
        object-fit: cover center !important;
    }

    /* Mobile dropdown inside drawer */
    .mobile-menu .dropdown-menu {
        display: none;
        flex-direction: column;
        list-style: none;
        padding-left: 25px;
        gap: 10px;
    }

    .mobile-menu .dropdown.open .dropdown-menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding-left: 40px;
        padding-top: 10px;
        transition: all 0.3s ease-in-out;
    }

    .mobile-menu .dropdown.open .dropdown-menu li {
        padding: 0;
        padding-top: 10px;
        margin: 0;
    }

    .mobile-menu .dropdown-toggle {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 35px;
        cursor: pointer;
    }
}



/* =======================
    Mobile (≤480px)
   ======================= */
@media only screen and (max-width: 768px) {
    /*--- Misc Styles ---*/
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .navbar {
        padding: 0% 16px;
        height: 80px;
    }

    .menu-toggle {
        top: 1rem;
        right: 2rem;
        font-size: 24px;
        padding: 10px;
    }

    .mobile-menu {
        width: 100%;
    }

    .menu-logo {
        display: block;
        max-width: 350px;
        height: auto;
        max-height: 350px;
        float: left;
    }

    .menu-logo img {
        width: 350px;
        height: auto;
        object-fit: cover center !important;
    }

    .logo {
        margin-left: 5%;
    }

    .logo img {
        width: 225px;
    }
}


/* =======================
    Footer Styles
   ======================= */

/* Footer Styles */
.nf-footer {
    position: relative;
    width: 100%;
    min-height: 60vh;
    height: auto;
    background-color: #0f0e0f;
    /* black background */
    color: #fff;
    display: grid;
    place-items: center;
    /* center the nav stack */
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 2vh;
}

/* Big background letters (N and F) */
.nf-footer-bg-letter {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-size: 24vw;
    color: #0f0e0f;
    text-shadow:
    2px 2px 0 var(--nf-red),
    -2px -2px 0 var(--nf-red),
    2px -2px 0 var(--nf-red),
    -2px 2px 0 var(--nf-red);
    z-index: 0;
    user-select: none;
    pointer-events: none;
    opacity: 1;
}

.nf-footer-bg-letter.nf-left {
    left: -30px;
}

.nf-footer-bg-letter.nf-right {
    right: -16px;
}

/* Centered menu stack */
.nf-footer-nav {
    position: relative;
    z-index: 2;
    text-align: center;
}

.nf-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(10px, 1.8vh, 18px);
}

.nf-footer-nav a {
    color: #fff;
    /* white links */
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Geist", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

.nf-footer-nav a:hover {
    text-decoration: underline;
}

/* Contact button (red pill) */
.nf-footer-nav .nf-contact-btn {
    display: block;
}

.nf-footer-nav .nf-contact-btn a {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff0000;
    border: 1.25px solid #000;
    font-family: "Geist", sans-serif;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.25s ease-in-out;
    border-radius: 24px;
}

.nf-footer-nav .nf-contact-btn a:hover {
    background-color: #000;
    border: 1.25px solid #fff;
    color: #fff;
}

/* Bottom row: copy (left), socials (center), legal (right) */
.nf-footer-bottom {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    z-index: 2;
    margin-top: 2.5vh;
    max-width: 70%;
    margin: 0 auto;
}

.nf-copy {
    margin-left: clamp(16px, 5vw, 60px);
    color: #a6a6a6;
    /* muted grey */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    bottom: 0;
}

.nf-legal {
    justify-self: end;
    margin-right: clamp(16px, 5vw, 60px);
    display: inline-flex;
    justify-content: space-evenly;
    gap: 10px;
}

.nf-legal a {
    color: #a6a6a6;
    /* muted grey for legal links */
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    transition: color .2s ease, opacity .2s ease;
}

.nf-legal a:hover {
    color: #fff;
}

.nf-sep {
    color: #a6a6a6;
}

/* Socials */
.nf-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: center;
    margin-bottom: 2vh;
}

.nf-social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #fff;
    color: #fff;
    border-radius: 6px;
    transition: color .25s ease-in-out, border-color .25s ease-in-out, transform .25s ease-in-out;
}

.nf-social-icon i {
    text-decoration: none;
    font-size: 1.5rem;
}

.nf-social-icon:hover {
    color: #ff0000;
    border-color: #ff0000;
}

.nf-social-icon,
.nf-social-icon:link,
.nf-social-icon:visited,
.nf-social-icon:hover,
.nf-social-icon:active,
.nf-social-icon:focus {
    text-decoration: none !important;
}


@media (max-width: 1024px) {
    .nf-footer {
        min-height: 60vh;
    }
    .nf-footer-bg-letter {
        font-size: 33vw;
    }
    .nf-footer-bg-letter.nf-left {
    left: 15px;
}

.nf-footer-bg-letter.nf-right {
    right: 0;
}
.nf-footer-bottom {
    margin-top: 0;
    max-width: 100%;
}
.nf-social {
    margin-bottom: 10vh;
}
.nf-copy,
.nf-legal {
    font-size: 14px;
}
}

@media (max-width: 768px) {
.nf-footer {
        min-height: 70vh;
        padding-top: 5vh;
        padding-bottom: 18vh;
    }

    .nf-footer-bg-letter {
        bottom: 0;
        transform: none;
        font-size: 52vw;
        opacity: 1;
    }

    .nf-footer-bg-letter.nf-left {
        left: -2vw;
    }

    .nf-footer-bg-letter.nf-right {
        right: 10px;
    }


    .nf-footer-nav ul {
        gap: 14px;
    }

    .nf-footer-nav a {
        font-size: 16px;
        letter-spacing: 0.08em;
    }

    .nf-footer-nav .nf-contact-btn {
        margin-top: 6px;
        padding: 10px 22px;
        font-size: 16px;
        border-width: 2px;
    }

    .nf-footer-bottom {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "social"
            "copy"
            "legal";
        justify-items: center;
        gap: 14px;
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 8vh;
    }

    .nf-social {
        grid-area: social;
    }

    .nf-copy {
        grid-area: copy;
    }

    .nf-legal {
        grid-area: legal;
    }

    /* Social icons centered, slightly smaller squares */
    .nf-social {
        gap: 12px;
        margin-bottom: 3vh;
    }

    .nf-social-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    /* Centered, compact legal/copyright text */
    .nf-copy {
        margin: 0;
        text-align: center;
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    .nf-legal {
        margin: 0;
        gap: 18px;
        justify-self: center;
    }

    .nf-legal a {
        font-size: 12px;
        color: #a6a6a6;
        /* stays grey on mobile per spec */
        letter-spacing: 0.08em;
    }
}

@media (max-width: 480px) {
    .nf-footer-bg-letter {
        top: auto;
        bottom: -5vh;
    }
    .nf-footer-bg-letter.nf-right {
        right: 7px;
    }
    .nf-footer-bottom {
        margin-bottom: 3vh;
    }
}