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

:root {
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-on-dark: #f8fafc;
    --text-on-light: #1e293b;
    --text-muted-on-dark: #94a3b8;
    --text-muted-on-light: #64748b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --glass-border: rgba(255, 255, 255, 0.08);
    --whatsapp-color: #25D366;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-on-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    width: 100%;
    padding: 6rem 0;
    margin: 0;
    box-sizing: border-box;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-on-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.main-nav,
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.btn-header {
    background: var(--accent-blue);
    color: #fff !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-header:hover {
    transform: translateY(-2px);
}


/* Hero (DarkGradient -> Transparent?) 
   Actually, the hero connects to the light section below.
   Gradient to white/transparent here works perfectly to transition. */
.hero-contact {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 80px;
    text-align: center;
}

.hero-contact::before {
    display: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-contact h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}


/* Main Section (LIGHT) */
.contact-main {
    padding: 6rem 0;
    background: var(--bg-light);
}

.container-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    font-size: 2rem;
    color: var(--text-on-light);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-cyan);
    padding-left: 1rem;
}

/* Info */
.info-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-item:last-child {
    border-bottom: none;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-box.whatsapp {
    color: var(--whatsapp-color);
}

.info-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-on-light);
}

.info-text p {
    color: var(--text-muted-on-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.strong-text {
    font-weight: 700;
    font-size: 1.2rem !important;
    color: var(--accent-blue) !important;
}

.btn-call,
.btn-whatsapp {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-call {
    background: #eff6ff;
    color: var(--accent-blue);
}

.btn-call:hover {
    background: var(--accent-blue);
    color: #fff;
}

.btn-whatsapp {
    background: #f0fdf4;
    color: var(--whatsapp-color);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-color);
    color: #fff;
}

/* Form (White Card) */
.form-block {
    background: #fff;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #e2e8f0;
}

.form-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-cyan);
}

.form-intro {
    margin-bottom: 2rem;
    color: var(--text-muted-on-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-on-light);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.btn-submit {
    padding: 1.2rem;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn-submit:hover {
    box-shadow: 0 5px 25px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}


/* Location (Light) */
.location-section {
    padding: 6rem 0;
    background: #f1f5f9;
    text-align: center;
}

.section-title-center {
    font-size: 2.5rem;
    color: var(--text-on-light);
    margin-bottom: 1rem;
}

.location-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.service-area-text {
    color: var(--text-muted-on-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
}


/* Footer (Black) - Safe Transition from Light Location */
.footer {
    background: #000;
    color: #94a3b8;
    text-align: center;
    padding: 3rem 2rem;
    border-top: none;
}


/* Responsive */
@media (max-width: 900px) {
    .container-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .main-nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        transition: right 0.4s ease;
        padding: 2rem;
    }

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

    .hero-contact h1 {
        font-size: 2.5rem;
    }

    .bar {
        background: #fff;
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}