/* Shared Navigation Styles */

/* Ensure no top spacing on body and html */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

/* Reset any potential spacing from page container */
.page-container {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

/* Navigation Header */
.main-header {
    position: absolute;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 39px 61px;
    background: transparent;
    /* Ensure consistent positioning */
    margin: 0 !important;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    position: relative;
    /* Ensure consistent positioning */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo-section { flex-shrink: 0; }

.logo {
    width: 86px;
    height: 47px;
}

.navigation-pill {
    background: #FFFFFF;
    border: 1px solid #0000FF;
    border-radius: 35px;
    padding: 12px 32px;
    backdrop-filter: blur(5.3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Lock typography so size is identical on all pages */
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    min-height: 44px; /* 20px line-height + 24px vertical padding */
    /* Ensure consistent positioning from top */
    margin-top: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px; /* fixed line-height to normalize height across pages */
    letter-spacing: 0;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Reset Bootstrap's .nav-link defaults */
    padding: 0;
    display: inline-block;
    background-color: transparent;
}

.nav-link:hover { color: #0000FF; }
.nav-link.active { color: #0000FF; text-decoration: underline; }
.nav-link.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 20px;
    right: 20px;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Hamburger Animation */
.hamburger-menu.active {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.hamburger-menu.active .hamburger-line:nth-child(1) { 
    transform: rotate(45deg) translate(6px, 6px); 
    background-color: #000000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.hamburger-menu.active .hamburger-line:nth-child(2) { 
    opacity: 0; 
}
.hamburger-menu.active .hamburger-line:nth-child(3) { 
    transform: rotate(-45deg) translate(6px, -6px); 
    background-color: #000000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav.active { transform: translateX(0); }

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-links li { margin: 30px 0; }

.mobile-nav-link {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.mobile-nav-link:hover { color: #0000FF; }
.mobile-nav-link.active { color: #0000FF; text-decoration: underline; }
.mobile-nav-link.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Responsive */
@media (max-width: 768px) {
    .main-header { padding: 20px; }
    .desktop-nav { display: none; }
    .hamburger-menu { display: flex; }
    .logo { width: 80px; height: 44px; }
    .logo-section { margin-top: 8px; margin-left: 8px; }
}

@media (max-width: 480px) {
    .main-header { padding: 15px; }
    .logo { width: 75px; height: 41px; }
    .logo-section { margin-top: 10px; margin-left: 10px; }
    .hamburger-menu { 
        width: 42px; 
        height: 42px; 
        border-radius: 10px;
        top: 15px;
        right: 15px;
    }
    .hamburger-line { 
        width: 24px; 
        height: 2.5px; 
        border-radius: 2px;
    }
    .mobile-nav-link { font-size: 20px; }
    .mobile-nav-links li { margin: 25px 0; }
}



