/* --- ESTILOS GENERALES Y VARIABLES --- */
:root {
    --primary: #005a18;       
    --primary-light: #28a745;
    --accent: #d4af37;        
    --text: #212529; 
    --white: #fff;
    --nav-height: 80px; 
    --whatsapp: #25D366;
    
    /* TIPOGRAFÍA AJUSTADA (16px) */
    --font-size-base: 16px; 
    --font-size-h1: 3rem;
    --font-size-h2: 2.2rem;
}

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

html { font-size: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    font-size: var(--font-size-base);
    line-height: 1.6; 
    background: url('Imagenes/Fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    padding-top: var(--nav-height);
}

/* --- NAVBAR (MENÚ) --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    z-index: 1000; display: flex; align-items: center;
}
.nav-container {
    width: 92%; max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem;
    color: var(--primary); text-decoration: none;
}
.logo img { height: 50px; width: auto; } 

.nav-menu { list-style: none; display: flex; gap: 20px; align-items: center; }
.nav-menu a { 
    text-decoration: none; color: var(--text); font-weight: 700; 
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px;
    transition: 0.3s; 
}
.nav-menu a:hover { color: var(--primary); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; }

/* --- BOTONES --- */
.btn-login, .btn-tickets, .btn-cta, .btn-whatsapp {
    font-size: 1rem; padding: 10px 25px; border-radius: 50px;
    font-weight: 700; cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px; justify-content: center;
    transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-login { background: var(--primary); color: white; border: none; }
.btn-login:hover { background: #003d10; transform: translateY(-2px); }

.btn-tickets { background: var(--accent); color: #003d10; border: 2px solid var(--accent); }
.btn-tickets:hover { background: #b59226; transform: translateY(-2px); color: #002a0b;}

.btn-whatsapp { background: var(--whatsapp); color: white; margin-top: 15px; width: fit-content;}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); color: white; }

/* --- ENLACES DE CONTACTO --- */
.contact-link {
    text-decoration: none; color: inherit; transition: color 0.3s;
}
.contact-link:hover { color: var(--primary); text-decoration: underline; }

/* --- SECCIONES --- */
.section {
    padding: 80px 0; margin: 30px 0;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
}
.bg-glass { background: rgba(255, 255, 255, 0.9); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center; font-family: 'Montserrat', sans-serif; color: var(--primary);
    font-size: var(--font-size-h2); margin-bottom: 10px; font-weight: 800;
}
.section-subtitle {
    text-align: center; color: #555; margin-bottom: 40px; font-size: 1.1rem;
}

/* --- HERO --- */
.hero {
    height: 90vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
    background: linear-gradient(rgba(0, 40, 10, 0.75), rgba(0, 40, 10, 0.6)), url('Imagenes/Logo.jpg');
    background-size: cover; background-position: center;
    margin-top: calc(var(--nav-height) * -1); padding-top: var(--nav-height);
}
.hero-content h1 { 
    font-family: 'Montserrat', sans-serif; font-size: 3.5rem; 
    margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.6); line-height: 1.1;
}
.hero-content p { font-size: 1.3rem; margin-bottom: 30px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn-cta { background: var(--accent); color: #003d10; }
.btn-cta-outline { background: transparent; border: 2px solid white; color: white; }
.btn-cta-outline:hover { background: white; color: var(--primary); }

/* --- TARJETAS SERVICIOS --- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.card {
    background: white; padding: 35px 25px; border-radius: 15px; text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-bottom: 5px solid var(--primary);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-8px); }
.card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--primary); font-weight: 700; }
.card p { font-size: 1rem; color: #555; }

/* --- CARRUSEL INFINITO (ANIMACIÓN) --- */
.overflow-hidden { overflow: hidden; }

.slider {
    height: 180px;
    margin: auto; overflow: hidden; position: relative; width: 100%;
    background: rgba(255, 255, 255, 0.6); padding: 15px 0;
}

.slide-track {
    animation: scroll 35s linear infinite;
    display: flex;
    width: calc(250px * 18); 
}

.slide {
    height: 150px; width: 250px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 20px;
}

.slide img {
    max-width: 100%; max-height: 120px;
    width: auto; object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s;
}
.slide img:hover { transform: scale(1.1); }

.client-placeholder {
    font-weight: 700; color: var(--primary); font-size: 1rem;
    border: 2px solid #ddd; padding: 20px 10px; border-radius: 10px;
    width: 100%; text-align: center; background: white;
}

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

/* --- CONTACTO Y MAPA --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary); }

.map-wrapper {
    height: 450px; 
    border-radius: 15px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 4px solid white;
    background-color: #eee;
}
#map { width: 100%; height: 100%; }

.contact-list li { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; font-size: 1.1rem; }
/* Iconos de la lista (Círculos amarillos) */
.contact-list i.list-icon { 
    color: var(--accent); font-size: 1.3rem; background: #fff8e1; 
    padding: 10px; border-radius: 50%; width: 45px; height: 45px; 
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* --- REDES SOCIALES (MEJORADO) --- */
.social-hub-inline {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Tamaño más discreto */
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Colores de Marca */
.fb-color { background-color: #1877F2; } 
.ig-color { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
} 

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.footer-social .btn-social {
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.2);
    width: 40px; height: 40px;
}
.footer-social .btn-social:hover {
    background: var(--accent);
    color: var(--text);
    border-color: var(--accent);
}

/* --- FOOTER --- */
footer { background: #002a0b; color: white; text-align: center; padding: 40px 0; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 40px; text-align: left; margin-bottom: 30px; }
.footer-logo { font-family: 'Montserrat'; font-weight: 800; font-size: 1.5rem; margin-bottom: 15px; }
.footer-header { font-size: 1.2rem; margin-bottom: 20px; color: var(--accent); }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: white; text-decoration: none; transition: 0.3s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li i { color: var(--accent); margin-right: 10px; width: 20px; text-align: center; }
.footer-copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; text-align: center; }

/* --- MODAL --- */
.modal-overlay {
    background: rgba(0,0,0,0.8); 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%;
    display: none; 
    justify-content: center; align-items: center; z-index: 2000;
    backdrop-filter: blur(5px);
}
.modal-box {
    background: white; padding: 40px; border-radius: 15px; width: 90%; max-width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative;
}
.close-modal { font-size: 1.5rem; top: 10px; right: 15px; position: absolute; cursor: pointer; border: none; background: none;}
.form-group { margin-bottom: 15px; }
.form-group label { font-size: 0.95rem; margin-bottom: 5px; display: block; font-weight: bold; }
.form-group input { width: 100%; padding: 12px; font-size: 1rem; border-radius: 6px; border: 1px solid #ccc; }
.btn-submit { width: 100%; padding: 12px; font-size: 1rem; background: var(--primary); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }

/* --- RESEÑAS (GOOGLE) --- */
#google-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; 
    width: 100%;
    margin-top: 25px !important;
}

.review-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.review-header {
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.review-author {
    display: block;
    color: var(--primary); 
    font-size: 1rem;
    font-weight: 700;
}

.review-stars {
    color: var(--accent); 
    font-size: 1.1rem;
    margin-top: 2px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    font-style: italic;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .nav-menu { display: none; position: absolute; top: var(--nav-height); left: 0; width: 100%; background: white; flex-direction: column; padding: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
    .map-wrapper { height: 350px; }
    .hero-content h1 { font-size: 2rem; }
    .slide { width: 200px; padding: 0 10px; }
    .slide-track { width: calc(200px * 18); }
    @keyframes scroll { 100% { transform: translateX(calc(-200px * 9)); } }
}