/* Header Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    --primary: #0a0e27;
    --secondary: #1a1f3a;
    --accent: #c41230;
    --text: #2b2d42;
    --text-light: #6c7293;
    --border: #e4e6ef;
    --bg-light: #f5f7fa;
    --bg-lighter: #fafbfc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

/* Base styles for standalone use */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button styles */
.btn {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #a00d26;
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--white);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
/* Header */
header {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon svg { width: 22px; height: 22px; }

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

.logo-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0;
    margin-top: 2px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link svg {
    transition: all 0.2s ease;
    opacity: 0.7;
}

.nav-link:hover svg {
    opacity: 1;
    transform: translateY(-1px);
}

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

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

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

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.header-phone:hover {
    color: var(--primary);
}

.btn-header {
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-header:hover {
    background: #a00d26;
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 12px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    right: -100%;
    width: 320px;
    height: calc(100vh - 80px);
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.mobile-nav-close:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-content {
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-menu li {
    margin-bottom: 5px;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-menu a svg {
    transition: all 0.2s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.mobile-nav-menu a:hover svg {
    opacity: 1;
    transform: translateX(2px);
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
}

.mobile-nav-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 30px;
}

.mobile-nav-menu a:hover::before {
    transform: translateX(0);
}

.mobile-nav-cta {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
}

.mobile-nav-cta h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.mobile-nav-cta p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.mobile-nav-cta .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.mobile-nav-cta .btn:last-child {
    margin-bottom: 0;
}

.mobile-nav-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid var(--border);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header Responsive */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .mobile-nav {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .logo-title { font-size: 18px; }
    .logo-subtitle { display: none; }
}

/* Contact Buttons Container */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-whatsapp:hover {
    background: #1DB954 !important;
    border-color: #1DB954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

/* Email Button */
.btn-email {
    background: #1976D2 !important;
    color: white !important;
    border: 2px solid #1976D2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-email:hover {
    background: #1565C0 !important;
    border-color: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-email svg {
    flex-shrink: 0;
}

/* Phone Button Updates */
.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-weight: 600;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .contact-buttons {
        gap: 8px;
    }

    .btn-whatsapp,
    .btn-email,
    .btn-outline {
        padding: 10px 14px;
        font-size: 13px;
    }
}