/**
 * Enhanced Header Styles
 * Professional header with top bar, improved logo, and CTA
 */

/* Reset default header styles */
header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: transparent !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-item {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-item i {
    color: #25D366;
    font-size: 0.9rem;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #25D366;
}

.trust-indicators {
    display: flex;
    gap: 20px;
}

.trust-badge, .response-time {
    color: #fff;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-badge i, .response-time i {
    color: #ffd700;
    font-size: 0.8rem;
}

/* Main Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
}

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

/* Enhanced Logo */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1f36;
    line-height: 1;
}

.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 7px;
    font-weight: 500;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 2px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #1a1f36;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-links a i {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-2px);
}

.nav-links a:hover i {
    opacity: 1;
}

/* Active link styling */
.nav-links a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Beautiful Logo Styling */
.logo-beautiful {
    margin-right: 30px;
}

.logo-beautiful a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image-beautiful {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
}

.logo-beautiful:hover .logo-image-beautiful {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name-beautiful {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.brand-tagline-beautiful {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 500;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-beautiful:hover .brand-name-beautiful {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-beautiful:hover .brand-tagline-beautiful {
    opacity: 1;
    color: #4facfe;
}

.nav-links a.active i {
    opacity: 1;
}

/* Header CTA Button */
.header-cta {
    margin-left: 20px;
}

.btn-header-cta {
    background: linear-gradient(135deg, #25D366 0%, #20b358 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20b358 0%, #1da851 100%);
}

.btn-header-cta i {
    font-size: 16px;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 9999;
    position: relative;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1a1f36;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Scroll Effects */
body {
    padding-top: 130px; /* Account for header height */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

header {
    animation: slideDown 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Hide top bar on mobile for cleaner look */
    .top-bar {
        display: none;
    }
    
    body {
        padding-top: 80px;
    }
    
    .main-nav {
        padding: 12px 0;
    }
    
    .logo-beautiful {
        margin-right: 15px;
    }
    
    .logo-beautiful a {
        gap: 12px;
    }
    
    .logo-image-beautiful {
        width: 42px;
        height: 42px;
        border-radius: 8px;
    }
    
    .brand-name-beautiful {
        font-size: 12px;
    }
    
    .brand-tagline-beautiful {
        font-size: 4px;
        letter-spacing: 0.5px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(26, 31, 54, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 100px;
        transition: left 0.3s ease;
        z-index: 9998;
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a {
        color: white;
        padding: 20px 30px;
        font-size: 16px;
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .nav-links a:hover {
        background: rgba(102, 126, 234, 0.2);
        transform: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    /* Mobile CTA in navigation */
    .nav-links::after {
        content: "";
        padding: 30px;
    }
    
    .nav-links::before {
        content: "";
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 0 15px;
    }
    
    .logo-beautiful {
        margin-right: 10px;
    }
    
    .logo-beautiful a {
        gap: 8px;
    }
    
    .logo-image-beautiful {
        width: 38px;
        height: 38px;
        border-radius: 6px;
    }
    
    .brand-name-beautiful {
        font-size: 10px;
    }
    
    .brand-tagline-beautiful {
        font-size: 3px;
        letter-spacing: 0px;
    }
}

/* Large screens optimization */
@media (min-width: 1200px) {
    .nav-links {
        gap: 40px;
    }
    
    .btn-header-cta {
        padding: 14px 28px;
        font-size: 15px;
    }
}