
/* header.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-spacer {
    height: 82px;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6B7B5A;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 40px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: #F5F5F5;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-button.active {
    background: #6B7B5A;
    color: white;
}

.nav-button:hover {
    background: #6B7B5A;
    color: white;
    transition: all 0.3s ease;
}

 /* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: #F5F5F5;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-button:hover {
    background: #6B7B5A;
    color: white;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    border: 1px solid rgba(107, 123, 90, 0.1);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(107, 123, 90, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:hover {
    background: #6B7B5A;
    color: white;
}

/* Mobile Navigation */
.nav-toggle {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    background: none; 
    border: none;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background-color: #6B7B5A;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: left ;
}

/* Hamburger animation */
.nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
    transform: rotate(45deg) ;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
    transform: rotate(-45deg) ;
}

/* Claude code that fixes everything */

/* Ensure hamburger is visible on mobile */
/* Replace your existing mobile hamburger styles with this */
@media (max-width: 1000px) {
    .nav-hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        padding: 8px;
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        align-items: center;
        background: none; 
        border: none;
        position: relative;
        z-index: 1001;
    }

    .nav-hamburger span {
        width: 25px;
        height: 3px;
        background-color: #6B7B5A;
        margin: 3px 0;
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block;
        transform-origin: center;
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
        visibility: visible;
        transform-origin: left ;
    }


    /* Remove the reset delays - they're causing the slowness */
    /* All spans will use the same 0.3s transition */

    /* Keep your existing nav menu styles but update the button transitions */
    .nav-menu {
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        padding: 1rem 2rem !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        border-top: 1px solid rgba(107, 123, 90, 0.1) !important;
        transform: translateY(0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        display: flex !important;
        transition: all 0.3s ease !important; /* Simplified transition */
        z-index: 1000 !important;
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;
    }

    .nav-toggle:checked ~ .nav-menu {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Faster nav button animations */
    .nav-button {
        margin-bottom: 0.5rem !important;
        text-align: center !important;
        justify-content: center !important;
        display: block !important;
        width: 100% !important;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease; /* Faster transition */
    }

    /* Reduced delays for faster appearance */
    .nav-toggle:checked ~ .nav-menu .nav-button:nth-child(1) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.05s;
    }

    .nav-toggle:checked ~ .nav-menu .nav-button:nth-child(2) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.1s;
    }

    .nav-toggle:checked ~ .nav-menu .nav-button:nth-child(3) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.15s;
    }

    .nav-toggle:checked ~ .nav-menu .dropdown:nth-child(4) .dropdown-button {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .nav-toggle:checked ~ .nav-menu .nav-button:nth-child(5) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.25s;
    }

    /* Dropdown button with faster transition */
    .dropdown-button {
        margin-bottom: 0.5rem !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important; 
        width: 100% !important;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease; /* Faster transition */
        align-items: center !important;
    }

    /* Faster dropdown animations */
    .dropdown-content {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transform: translateY(-10px) !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8f9fa !important;
        margin: 0 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important; /* Faster transition */
    }

    .dropdown.active .dropdown-content {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 300px !important;
        margin: 0.5rem 0 !important;
        transform: translateY(0) !important;
    }

    .dropdown-arrow {
        transition: transform 0.3s ease !important; /* Faster transition */
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg) !important;
    }

    /* Faster dropdown item animations */
    .dropdown-content a {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.2s ease; /* Even faster for items */
    }

    .dropdown.active .dropdown-content a:nth-child(1) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.05s;
    }

    .dropdown.active .dropdown-content a:nth-child(2) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.1s;
    }

    .dropdown.active .dropdown-content a:nth-child(3) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.15s;
    }

    .dropdown.active .dropdown-content a:nth-child(4) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .dropdown.active .dropdown-content a:nth-child(5) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.25s;
    }

    /* Keep the rest of your dropdown hover overrides */
    .dropdown:hover .dropdown-content {
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
    }

    .dropdown:hover .dropdown-arrow {
        transform: none !important;
    }

    .dropdown.active:hover .dropdown-content {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 300px !important;
    }

    .dropdown.active:hover .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
}

@media (max-width: 1000px) {
  .nav-toggle:checked ~ .nav-menu .nav-button,
  .nav-toggle:checked ~ .nav-menu .dropdown .dropdown-button {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition-delay: 0.1s !important;
  }
}

/* Ensure hamburger is hidden on desktop */
@media (min-width: 1001px) {
    .nav-hamburger {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        flex-direction: row !important;
        gap: 1rem !important;
    }
}