/* 1. VARIABLES Y CONFIGURACIÓN BASE */
:root {
    --naranja: #f39c12;
    --rojo: #e74c3c;
    --oscuro: #1a1a1a;
    --gris-fondo: #f4f4f4;
    --blanco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: var(--gris-fondo);
    color: #333;
    line-height: 1.6;
}

/* 2. NAVEGACIÓN (Logo Alargado) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--oscuro);
    border-bottom: 4px solid var(--naranja);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 85px; 
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--blanco);
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--naranja);
}

/* 3. SECCIÓN HERO (Encabezado principal) */
.hero {
    height: 65vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1599708139266-df38d277709a?q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* 4. CONTENEDOR DE BOTONES ROJOS */
.contenedor-botones {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-servicio {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--rojo);
    color: white !important;
    text-decoration: none !important;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
}

.btn-servicio:hover {
    background-color: var(--naranja);
    transform: translateY(-3px) scale(1.05);
}

/* 5. GALERÍA DE FOTOS */
#fotos {
    padding: 60px 5%;
    text-align: center;
}

.grid-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.foto-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.foto-item:hover img {
    transform: scale(1.1);
}

/* 6. SECCIÓN DE VIDEOS */
#videos {
    padding: 60px 5%;
    background-color: var(--oscuro);
    text-align: center;
    color: white;
}

#videos h2 {
    margin-bottom: 30px;
}

.contenedor-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.video-item video {
    width: 100%;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background: #000;
}

/* 7. CONTACTO OFICIAL (Centrado abajo) */
.seccion-final {
    clear: both;
    display: block;
    width: 100%;
    padding: 60px 5%;
    background-color: var(--blanco);
    text-align: center;
    border-top: 5px solid var(--rojo);
}

.contacto-info {
    max-width: 600px;
    margin: 0 auto;
}

.contacto-info p {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #444;
}

.contacto-info strong {
    color: var(--rojo);
}

/* 8. BOTÓN WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

.whatsapp-float img {
    width: 35px;
}

/* 9. RESPONSIVO */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .contenedor-botones { flex-direction: column; align-items: center; }
    .btn-servicio { width: 90%; text-align: center; }
    nav { flex-direction: column; }
    nav ul { margin-top: 15px; }
}