/* Reset default browser padding and margins */
html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

/* Header Styles - Responsive Navigation */

#sticky-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--white, #ffffff);
    box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.1));
    border-bottom: 2px solid var(--primary-color, #ff7b00);
    z-index: 1000;
    padding: 0 40px;
    height: 80px;
    transition: all 0.3s ease;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

/* Navigation Container */
nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
    justify-content: space-between;
    margin-left: 30px;
}

/* Navigation Lists */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.left-nav {
    flex-grow: 1;
}

.right-nav {
    flex-shrink: 0;
}

/* Navigation Links */
nav a {
    color: var(--text-dark, #333);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary-color, #ff7b00);
    background-color: rgba(255, 123, 0, 0.1);
    transform: translateY(-1px);
}

/* Active Link */
nav a.active {
    color: var(--primary-color, #ff7b00);
    background-color: rgba(255, 123, 0, 0.15);
    font-weight: 600;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color, #ff7b00);
    transform: translateX(-50%);
}

/* Sign In Button Special Style */
.right-nav a {
    background-color: var(--primary-color, #ff7b00);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.right-nav a:hover {
    background-color: var(--primary-hover, #e66a00);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

/* Mobile Menu Toggle (Hidden by default) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark, #333);
    cursor: pointer;
    padding: 5px;
}

/* Desktop Styles */
@media (min-width: 992px) {
    /* Removed the display: flex rule since banner now shows on all screen sizes */
}

/* Tablet Styles */
@media (max-width: 991px) {
    #sticky-banner {
        padding: 0 30px;
    }
    
    nav {
        gap: 20px;
        margin-left: 20px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .logo img {
        height: 45px;
    }
}

/* Large Tablet / Small Desktop */
@media (max-width: 1200px) {
    nav ul {
        gap: 18px;
    }
    
    nav a {
        font-size: 0.92rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    #sticky-banner {
        display: flex;
        padding: 0 20px;
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Hide desktop navigation */
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 20px;
        margin-left: 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 998;
    }
    
    /* Show mobile navigation when active */
    nav.mobile-active {
        left: 0;
    }
    
    /* Mobile navigation lists */
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .left-nav, .right-nav {
        width: 100%;
    }
    
    /* Mobile navigation links */
    nav a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    /* Mobile Sign In button */
    .right-nav {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .right-nav a {
        text-align: center;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Add backdrop for mobile menu */
    .mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 997;
        display: none;
    }
    
    .mobile-backdrop.active {
        display: block;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    #sticky-banner {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo img {
        height: 35px;
    }
    

    
    nav {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Accessibility */
nav a:focus {
    outline: 2px solid var(--primary-color, #ff7b00);
    outline-offset: 2px;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color, #ff7b00);
    outline-offset: 2px;
}

/* Disabled link styles (for waitlist) */
.disabled-link {
    opacity: 0.7;
    cursor: not-allowed !important;
}

.disabled-link:hover {
    transform: none !important;
}
