/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: transform var(--transition-speed) ease;
}

.header.hide {
    transform: translateY(-100%);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 100px;
    height: auto;
    display: block;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo h1 span {
    color: var(--secondary-color);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all var(--transition-speed) ease;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav ul li a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    white-space: nowrap;
}

.nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width var(--transition-speed) ease;
}

.nav ul li a:hover:after {
    width: 100%;
}

.nav ul li a.active {
    color: var(--secondary-color);
}

.nav ul li a.active:after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 40px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-container.active {
        max-height: 500px;
        padding: 15px 0;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }
    
    .nav ul li a {
        display: block;
        padding: 10px 15px;
    }
    
    .header-contact {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    
    .btn-phone {
        width: 100%;
    }
}