/* Header Styles */
header {
    background-color: var(--header-bg);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo a {
    display: block;
}

/* Navigation */
nav {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

nav ul li a:hover {
    color: rgb(255, 215, 0);
    text-decoration: none;
}

nav ul li a.active {
    color:rgb(255, 215, 0);
    font-weight: 600;
    border-bottom: 2px solid rgb(255, 215, 0);
    padding-bottom: 0.3rem;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.header-buttons .secondary-button,
.header-buttons .primary-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Burger Menu */
.burger-menu {
    display: block;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
}

.burger-menu:hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--header-bg);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li {
    margin-bottom: 0.5rem;
}

.mobile-menu ul li a {
    display: block;
    color: var(--text-color);
    padding: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.mobile-menu ul li a.active {
    background-color: rgba(255, 215, 0, .2);
    color: rgb(255, 215, 0);
    font-weight: 600;
    border-left: 3px solid rgb(255, 215, 0);
}

.mobile-menu .header-buttons {
    flex-direction: column;
    margin-top: 1rem;
    width: 100%;
}

.mobile-menu .header-buttons .secondary-button,
.mobile-menu .header-buttons .primary-button {
    width: 100%;
    text-align: center;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header-container {
        padding: 0 30px;
    }

    .logo img {
        height: 45px;
    }

    .header-buttons {
        gap: 1rem;
    }

    .header-buttons .secondary-button,
    .header-buttons .primary-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Desktop Styles */
@media (min-width: 1280px) {
    .burger-menu {
        display: none;
    }

    nav {
        display: block;
        flex: 1;
        margin: 0 2rem;
    }

    nav ul {
        justify-content: center;
    }

    .header-container {
        padding: 0 50px;
    }

    .logo img {
        height: 50px;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        order: 3;
    }

    .header-buttons .secondary-button,
    .header-buttons .primary-button {
        width: 100%;
        text-align: center;
    }
}