/* ==========================================================================
   Variables & Custom Properties
   ========================================================================== */
   :root {
    /* Colors */
    --bg-dark: #0f172a; /* Deep slate */
    --bg-darker: #020617;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Branding Colors */
    --primary: #3b82f6; /* Blue for reliability/plumbing */
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary: #1e293b;
    
    /* Service accents */
    --accent-blue: #3b82f6;
    --accent-yellow: #eab308;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e; /* WhatsApp */
    
    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utility Classes & Components
   ========================================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

/* Section Styling */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Text Colors */
.text-blue { color: var(--accent-blue); }
.text-yellow { color: var(--accent-yellow); }
.text-cyan { color: var(--accent-cyan); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.btn {
    color: var(--primary);
}

.nav-links a.btn:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.95);
    border-left: 1px solid var(--glass-border);
    border-radius: 0;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-links a {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 6rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-stats {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 2;
    background: rgba(30, 41, 59, 0.7);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

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

.stat-text strong {
    font-size: 1.5rem;
    line-height: 1.2;
}

.stat-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.3);
    top: -50px;
    right: 50px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(6, 182, 212, 0.2);
    bottom: -50px;
    left: 20px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.icon-blue { color: var(--accent-blue); box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1); }
.icon-yellow { color: var(--accent-yellow); box-shadow: inset 0 0 20px rgba(234, 179, 8, 0.1); }
.icon-cyan { color: var(--accent-cyan); box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.1); }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.service-list li i {
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Zone Section
   ========================================================================== */
.zone-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    gap: 4rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
}

.zone-content {
    flex: 1;
}

.zone-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.zone-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.availability-alert {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
}

.alert-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
}

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

.alert-text strong {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.alert-text span {
    color: var(--text-primary);
}

.zone-map-visual {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-icon {
    font-size: 6rem;
    color: var(--primary);
    z-index: 2;
}

.radar-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: pulse 3s infinite cubic-bezier(0.1, 0, 0.4, 1);
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.action-call:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.action-whatsapp:hover {
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.action-call .contact-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.action-whatsapp .contact-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details strong {
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #020617;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active, .reveal-up.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 8rem;
        gap: 4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .zone-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .availability-alert {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }
}
