/* =========================================
   1. VARIABLES Y RESET
   ========================================= */
:root {
    --gold: #D4AF37;       /* Dorado elegante */
    --gold-hover: #b8952b;
    --black: #121212;      /* Negro fondo */
    --dark-gray: #1e1e1e;
    --white: #ffffff;
    --text-gray: #cccccc;
}

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

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: var(--black); 
    color: var(--white); 
    overflow-x: hidden; 
}

/* =========================================
   2. NAVEGACIÓN (PC / ESCRITORIO)
   ========================================= */
header {
    background: white;
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.main-logo {
    height: 80px; /* AJUSTADO: 120px es muy grande para móvil, 80px es más estándar */
    width: auto;
}

/* En PC, el botón de menú móvil NO debe verse */
.menu-toggle {
    display: none; 
}

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

.nav-links a {
    text-decoration: none;
    color: black; 
    font-weight: 600;
    transition: 0.3s;
}

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

.nav-btn-contact {
    background: var(--gold);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold !important;
}

/* =========================================
   3. SECCIONES PRINCIPALES
   ========================================= */

/* --- Hero Section --- */
.hero {
    height: 80vh;
    background: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?q=80&w=1920') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay { background: rgba(0,0,0,0.7); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-content h1 { font-size: 3.5rem; color: var(--gold); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.btn-gold { display: inline-block; background: var(--gold); color: var(--black); padding: 15px 30px; text-decoration: none; font-weight: bold; border-radius: 5px; font-size: 1.2rem; transition: 0.3s; }
.btn-gold:hover { background: var(--white); }

/* --- Servicios --- */
#services { padding: 60px 20px; background: var(--dark-gray); text-align: center; }
.section-title { color: var(--gold); font-size: 2.5rem; margin-bottom: 40px; }
.services-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: auto; }
.service-card { background: var(--black); padding: 30px; border: 1px solid var(--gold); border-radius: 10px; transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
.service-card i { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }

/* --- Videos (Estilo Instagram) --- */
#videos { padding: 60px 20px; background: var(--black); text-align: center; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: auto; }

.video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 2px solid var(--gold);
    background: #000;
}

.insta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer; /* Importante: Muestra la manito para hacer clic */
}
.video-card:hover { transform: scale(1.02); transition: transform 0.3s ease; box-shadow: 0 0 15px var(--gold); }

/* --- Galería Carrusel --- */
#galerie { padding: 60px 0; background: var(--dark-gray); text-align: center; overflow: hidden; }
.carousel-container { width: 100%; overflow: hidden; white-space: nowrap; position: relative; }
.carousel-track { display: inline-flex; animation: scroll 40s linear infinite; }
.slide { width: 300px; height: 200px; margin: 0 10px; flex-shrink: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; border: 2px solid var(--gold); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 8)); }
}

/* --- Footer --- */
footer { background: var(--black); padding: 30px; text-align: center; border-top: 1px solid #333; }
.social-icons a { color: var(--white); font-size: 1.5rem; margin: 0 15px; transition: 0.3s; }
.social-icons a:hover { color: var(--gold); }
footer p { margin-top: 15px; color: var(--text-gray); }

/* --- Botón WhatsApp --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,0.5); z-index: 2000;
    transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* =========================================
   4. PÁGINA DE CONTACTO
   ========================================= */
.contact-body { background: var(--dark-gray); }
.contact-nav { padding: 20px; background: var(--black); }
.back-link { color: var(--gold); text-decoration: none; font-weight: bold; }
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    max-width: 1000px; margin: 50px auto;
    background: var(--white); border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.contact-info { background: var(--black); padding: 40px; color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.contact-logo { width: 120px; margin-bottom: 20px; }
.contact-info h2 { color: var(--gold); margin-bottom: 10px; }
.info-item { display: flex; align-items: center; margin: 15px 0; font-size: 1.1rem; }
.info-item i { color: var(--gold); margin-right: 15px; width: 20px; }
.map-container { margin-top: 20px; border-radius: 8px; overflow: hidden; }

.contact-form { padding: 40px; background: #f9f9f9; color: #333; }
.contact-form h3 { color: var(--black); margin-bottom: 20px; font-size: 1.8rem; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; outline: none; }
.form-group input:focus { border-color: var(--gold); }
.btn-submit { width: 100%; background: var(--gold); color: var(--black); padding: 15px; border: none; border-radius: 5px; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--gold-hover); }

/* =========================================
   5. SEGURIDAD ANTI-COPIA
   ========================================= */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
input, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* =========================================
   6. RESPONSIVE Y MENÚ MÓVIL
   ========================================= */

@media (max-width: 768px) {
    
    /* Ajustes Generales */
    .hero-content h1 { font-size: 2rem; }
    .contact-wrapper { grid-template-columns: 1fr; margin: 20px; }

    /* --- Botón Hamburguesa (SOLO MÓVIL) --- */
    .menu-toggle {
        display: block; /* Aquí sí lo mostramos */
        font-size: 2rem;
        cursor: pointer;
        color: #000000 !important; 
        position: absolute;
        right: 20px;
        /* Ajustamos la posición vertical. Como el header tiene padding 10px, top 25-30px debería centrarlo */
        top: 30px; 
        z-index: 2000;
    }

    /* --- El Menú Desplegable --- */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: white;
        
        /* Estado inicial: Cerrado */
        height: 0;
        opacity: 0;
        overflow: hidden; 
        transition: all 0.4s ease-in-out; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1999;
    }

    /* Estado ABIERTO (JS agrega esta clase) */
    .nav-links.active {
        height: 400px; 
        opacity: 1;
        padding: 20px 0;
        border-bottom: 4px solid var(--gold);
    }

    /* Estilo de los enlaces en el móvil */
    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        animation: fadeIn 0.5s forwards;
        animation-delay: 0.2s;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        color: black !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a:hover {
        background-color: #f9f9f9;
        color: var(--gold) !important;
    }

    /* Botón destacado en menú móvil */
    .nav-btn-contact {
        display: inline-block !important;
        background: var(--gold);
        color: white !important;
        margin-top: 15px;
        width: 80%;
        border-radius: 50px;
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}
