/* ========================================
   NAVBAR COMPONENT - ORIGINAL DESIGN
   WITH MOBILE DROPDOWN FUNCTIONALITY
   ======================================== */

:root {
    /* Base: 1rem = 16px */
    font-size: 1rem;
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0b1324;
    display: flex;
    align-items: right;
    justify-content: right; /* fluid spacing */
    padding: 0 2rem;
    box-sizing: border-box;
    height: 5.625rem; /* 90px */
    z-index: 1000;
    gap: 15rem;
  }

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    position: absolute;
    right: 1.5625rem; /* 25px */
    top: 1.4375rem; /* 23px */
    width: 1.5625rem; /* 25px */
    height: 0.75rem; /* 12px */
    cursor: pointer;
    z-index: 1001;
}

.hamburger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation Content Container */
.nav-content {
    display: flex;
    align-items: center;
}

/* Navigation Items */
.nav-items {
    display: flex;
    gap: 2.8125rem; /* 45px */
    align-items: center;
}

/* Individual Nav Item - ORIGINAL DESIGN */
.nav-item {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem; /* 16px */
    color: white;
    letter-spacing: 0.03rem; /* 0.48px */
    padding: 0.375rem 0.75rem; /* 6px 12px */
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.nav-item:hover {
    opacity: 0.8;
}

/* Logo Container */
.logo-container {
    width: 11.1875rem; /* 179px */
    height: 4.875rem; /* 78px */
}

.logo-container a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   MOBILE RESPONSIVE (≤768px)
   ======================================== */

@media screen and (max-width: 48rem) {
    /* Show Hamburger Menu */
    .hamburger {
        display: block;
    }
    
    /* Adjust Navigation Bar for Mobile */
    .navigation {
        height: 3.75rem; /* 60px */
        gap: 0;
        justify-content: space-between;
        padding: 0 1.25rem; /* 0 20px */
    }
    
    /* Logo - Smaller on Mobile */
    .logo-container {
        width: 7.5rem; /* 120px */
        height: 3.25rem; /* 52px */
    }
    
    /* Navigation Content - Mobile Dropdown */
    .nav-content {
        position: fixed;
        top: 3.75rem; /* 60px - below navbar */
        left: 0;
        right: 0;
        width: 100%;
        background-color: #0b1324;
        padding: 0;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    /* Active State - Dropdown Visible */
    .nav-content.active {
        max-height: 20rem; /* 320px */
        opacity: 1;
    }
    
    /* Navigation Items - Vertical Layout */
    .nav-items {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    /* Individual Nav Items - Full Width */
    .nav-item {
        width: 100%;
        padding: 1rem 1.5rem; /* 16px 24px */
        text-align: left;
        border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1); /* 1px */
        font-size: 1.125rem; /* 18px */
        transition: background-color 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-item:hover {
        background-color: rgba(167, 190, 207, 0.1);
        opacity: 1;
    }
}
