/* ==========================================
   HEADER STYLES
   ========================================== */

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header.scrolled .header-content {
    padding: 0.7rem 0;
}

.header.scrolled .logo {
    font-size: 1.6rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo Styles - Enhanced */
.logo-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
    text-decoration: none;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c8102e;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 45px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 45px;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    align-items: flex-start;
}

.logo-premium {
    font-size: 2.1rem !important;
    font-weight: 900 !important;
    letter-spacing: 2.5px !important;
    color: #c8102e !important;
    display: inline-block !important;
    position: relative !important;
    margin-bottom: -3px !important;
    text-shadow: 0 2px 8px rgba(220, 53, 69, 0.10);
}

.logo-premium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #c8102e, transparent);
    opacity: 0.7;
}

.logo-subtitle {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #222 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    margin-left: 2px !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Navigation Styles */
.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #c8102e;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c8102e;
    border-radius: 1px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* Contact Buttons */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-2px) scale(1.05);
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.phone-btn {
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
    color: white;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #c8102e 0%, #c8102e 100%);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }
    
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        width: 100%;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 9998;
        animation: slideDown 0.3s ease;
    }
    
    .nav.mobile-active {
        display: block;
    }
    
    .header.fixed .nav.mobile-active {
        top: 65px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav li {
        border-bottom: 1px solid #eee;
    }
    
    .nav a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .nav a.active::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content {
        padding: 0.8rem 0;
    }
    
    .logo-premium {
        font-size: 1.6rem !important;
        letter-spacing: 1.5px !important;
    }
    
    .logo-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 0.8px !important;
    }
    
    .contact-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.7rem 0;
    }
    
    .contact-info {
        gap: 0.5rem;
    }
    
    .contact-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}
