/* =========================================
   1. VARIABLES Y BASE
   ========================================= */
:root {
    --yellow: #FFD700;
    --dark: #0a0a0a;
    --card-bg: #141414;
    --text-gray: #b0b0b0;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* =========================================
   2. NAVBAR Y HAMBURGUESA (MANTENIENDO EL FIX)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    align-items: center;
    z-index: 99999;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}
.nav-links a:hover {
    color: var(--yellow) !important;
    text-shadow: 0 0 10px var(--yellow), 
                 0 0 20px var(--yellow);
}

/* Línea decorativa que aparece debajo al hacer hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--yellow);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--yellow);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 100001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--yellow);
    border-radius: 2px;
}

/* =========================================
   3. TÍTULOS Y COLORES DE SECCIÓN
   ========================================= */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: white; /* Color Base Blanco */
}

.text-yellow {
    color: var(--yellow); /* Color Amarillo */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* =========================================
   4. BOTÓN WHATSAPP Y CONTACTO
   ========================================= */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card-bg);
    border-radius: 25px;
    border: 1px solid var(--yellow);
    overflow: hidden;
    margin-top: 40px;
}

.contact-info {
    padding: 40px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 25px;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
/* =========================================
   BOTÓN EXPLORAR SERVICIOS (HERO)
   ========================================= */
.btn-main {
    display: inline-block;
    margin-top: 35px; /* Espaciado que pediste antes */
    background-color: var(--yellow);
    color: #000 !important; /* Texto negro para contraste */
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 20; /* Para que esté sobre las partículas */
    position: relative;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
    background-color: #fff; /* Cambia a blanco al pasar el mouse */
}

/* =========================================
   5. HERO Y SERVICIOS (FORMATO)
   ========================================= */
.hero {
    height: 65vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background: #000;
}
.hero h1 {
    font-family: 'Orbitron', sans-serif;
    /* clamp(mínimo, preferido, máximo) */
    font-size: clamp(3rem, 8vw, 6rem); 
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px; /* Hace que se vea más compacto y moderno */
    margin-bottom: 20px;
    z-index: 10;
}

/* Opcional: Si quieres que el subtítulo (p) también sea más grande */
.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
}

#particles-js { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1; }
.hero-content { position: relative; z-index: 10; text-align: center; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #222;
    transition: 0.3s;
}

.service-card:hover { border-color: var(--yellow); }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.map-box { min-height: 350px; filter: grayscale(1) invert(0.9); }

/* =========================================
   6. RESPONSIVO FINAL
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 50px 0;
        transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    .nav-links.active { top: 80px; }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--yellow) !important;
        /* Resplandor Neón constante en móvil */
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 
                     0 0 20px rgba(255, 215, 0, 0.3);
        letter-spacing: 2px;
    }
    .contact-card { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }

    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

.main-footer { padding: 40px 0; text-align: center; border-top: 1px solid #222; }
.designer-link { color: var(--yellow); text-decoration: none; }