/* Menu Styles - Extracted from style.css */

/* Header */
header {
    background-color: var(--highlight-color);
    /* Changed from primary to highlight (orange) */
    height: var(--header-height);
    height: var(--header-height);
    position: relative;
    /* Changed from sticky to relative */
    /* top: 0; removed */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
}

.main-menu {
    display: flex;
    gap: 30px;
}

.main-menu a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    /* White text */
}

.main-menu a:hover {
    color: #f7c607;
    /* Yellowish accent on hover */
}


.hamburger {
    display: none;
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--highlight-color);
    border-radius: 2px;
}

/* Mobile Responsive Menu */
@media (max-width: 768px) {
    header .container {
        width: 100%;
        padding: 0 20px;
    }

    nav {
        margin-left: auto;
    }

    .logo img {
        height: 42px;
        /* Increased from 35px */
    }

    .hamburger {
        display: flex;
        width: 35px;
        /* Reduced from 45px */
        height: 35px;
        gap: 4px;
        /* margin-right removed as per request */
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .main-menu {
        display: flex;
        /* Always display flex but hide visually */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        right: 0;
        background: var(--highlight-color);
        /* Orange background for dropdown */
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        /* Padding will be controlled by height transition */
        text-align: center;
        overflow: hidden;

        /* Animation State: Hidden */
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-menu.active {
        /* Animation State: Visible */
        padding: 20px;
        max-height: 500px;
        /* Arbitrary large height */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-menu a {
        padding: 15px 0;
        display: block;
        color: var(--white);
        /* White text */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .main-menu a:last-child {
        border-bottom: none;
    }
}