/* =========================================
   NAVBAR BASE & DESKTOP STYLES
   ========================================= */
.nav-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 5%;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.brand-name {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.3rem;
    color: #cc5500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.desktop-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.desktop-links a {
    color: #3f3e3e;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.desktop-links a:hover {
    color: #ffffff;
    background: #cc5500;
}

.social-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Updated Social Icon: Transparent background without pill/circle */
.social-icon {
    font-size: 1.25rem;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    color: #cc5500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn,
.close-menu-btn,
.mobile-drawer,
.menu-overlay {
    display: none;
}

/* =========================================
   MOBILE RESPONSIVE DRAWER (<= 900px)
   ========================================= */
@media (max-width: 900px) {
    .desktop-links {
        display: none !important;
    }

    .main-nav {
        padding: 10px 20px;
    }

    .mobile-menu-btn {
        display: inline-flex;
        background: none;
        border: none;
        font-size: 1.6rem;
        color: #222222;
        cursor: pointer;
    }

    /* Dark backdrop to blur out background page content */
    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Solid Dark Drawer Menu (High Contrast) */
    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px;
        width: 280px;
        height: 100vh;
        background-color: #121820; /* Deep Charcoal / Slate Dark */
        padding: 70px 25px 30px;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
        z-index: 2000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-drawer.active {
        right: 0;
    }

    .close-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #ffffff;
        cursor: pointer;
    }

    .drawer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }

    .drawer-links a {
        color: #ffffff;
        font-size: 1.15rem;
        font-weight: 600;
        text-decoration: none;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        transition: color 0.2s ease;
    }

    .drawer-links a:hover {
        color: #ff7b29;
    }

    .drawer-socials {
        display: flex;
        gap: 15px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    /* Drawer social icons transparent */
    .drawer-socials .social-icon {
        font-size: 1.4rem;
        padding: 6px 8px;
        background: transparent;
        color: #ffffff;
        text-decoration: none;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .drawer-socials .social-icon:hover {
        background: transparent;
        color: #ff7b29;
        transform: translateY(-2px);
    }
}