.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-blue);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
}

.logo-img-small {
    height: 50px;
    width: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

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

.nav-item {
    margin-left: 2rem;
    position: relative;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-yellow);
}

.nav-link.active::after {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-red));
    box-shadow: 0 0 8px rgba(255, 241, 17, 0.5);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-button:hover {
    color: var(--primary-yellow);
}

.header-cta {
    display: flex;
    align-items: center;
}

.header-phone {
    display: flex;
    align-items: center;
    color: var(--primary-yellow);
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.header-phone:hover {
    background-color: rgba(255, 241, 17, 0.1);
    transform: translateY(-2px);
}

.header-phone i {
    margin-right: 5px;
}

.scroll-header {
    padding: 0.5rem 0;
    background-color: rgba(1, 0, 68, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link::after {
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-link.active::after {
        width: 50%;
    }

    .mobile-menu-button {
        display: block;
    }

    .header-phone {
        display: none;
    }
}
