/* UBICACIÓN: css/styles.css */

/* --- VARIABLES GLOBALES --- */
:root { --primary: #0056b3; --accent: #28a745; --warning: #ff4b2b; --dark: #0f0f0f; --darker: #050505; --gray: #1a1a1a; --light: #f4f4f4; --whatsapp: #25d366; }

/* --- RESET Y BASE --- */
* { box-sizing: border-box; }
body { background-color: var(--dark); color: var(--light); font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; margin: 0; font-weight: 700; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- HEADER (OPTIMIZADO Y COMPACTO) --- */
.main-header { background: rgba(5, 5, 5, 0.98); padding: 10px 0; border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 1000; }
.container-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.logo a { display: flex; align-items: center; }
.logo img { height: 45px; display: block; }
.navbar ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.navbar a { color: white; font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; text-decoration: none; transition: color 0.3s; }
.navbar a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 5px; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: white; transition: 0.3s; border-radius: 2px; }

/* --- MENÚ MÓVIL (SIN BORDES VERDES) --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    /* AQUÍ ESTÁ EL CAMBIO: border-bottom: none; */
    .navbar { position: absolute; top: 100%; left: 0; width: 100%; background-color: rgba(5, 5, 5, 0.98); border-top: none; border-bottom: none; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
    .navbar.active { max-height: 350px; }
    .navbar ul { flex-direction: column; padding: 10px 0; gap: 0; text-align: center; }
    .navbar li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .navbar a { display: block; font-size: 1rem; padding: 12px 0; color: #ddd; }
    .navbar a:hover { background-color: rgba(255,255,255,0.05); color: var(--accent); }
    .menu-toggle.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}

/* --- SLIDER PARALLAX --- */
.main-slider { position: relative; height: 85vh; width: 100%; overflow: hidden; background: #000; }
.slider-wrapper { height: 100%; width: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.slide.active { opacity: 1; z-index: 5; }
.slide-image { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; background-size: cover; background-position: center center; z-index: 1; will-change: transform; }
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.45); z-index: 2; }
.slide-content { position: relative; z-index: 3; padding: 0 20px; max-width: 900px; transform: translateY(40px); opacity: 0; transition: all 0.8s ease-out 0.3s; }
.slide.active .slide-content { transform: translateY(0); opacity: 1; }
.slide-content h2 { font-size: 5rem; color: var(--light); margin-bottom: 15px; text-shadow: 4px 4px 0px #000000, 0 0 30px rgba(0,0,0,0.9); line-height: 1.1; text-transform: uppercase; }
.slide-content p { font-size: 1.3rem; color: #e0e0e0; margin-bottom: 25px; }
.slider-nav button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.3); color: white; border: 1px solid rgba(255,255,255,0.2); font-size: 2rem; padding: 15px 20px; cursor: pointer; z-index: 10; border-radius: 4px; }
#prev { left: 20px; }
#next { right: 20px; }

/* Responsive Slider */
@media (max-width: 1024px) { .slide-content h2 { font-size: 3.5rem; } }
@media (max-width: 768px) { 
    .main-slider { height: 70vh; }
    .slide-content h2 { font-size: 2.2rem; line-height: 1.2; }
    .slide-content p { font-size: 1rem; margin-bottom: 15px; }
    .slider-nav button { padding: 10px 15px; font-size: 1.5rem; }
}
@media (max-width: 480px) { .slide-content h2 { font-size: 1.8rem; } }

/* --- BLOQUES DE INFORMACIÓN (5 Columnas) --- */
.features-blocks { background-color: var(--dark); padding: 80px 0; position: relative; z-index: 5; }
.container-grid { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 1800px; margin: 0 auto; gap: 25px; padding: 0 20px; }
.feature-card { background: var(--gray); padding: 35px 25px; border-radius: 8px; border-top: 5px solid var(--primary); text-align: center; transition: all 0.4s; display: flex; flex-direction: column; height: 100%; }
.feature-card:hover { transform: translateY(-10px); background: #202020; border-top-color: var(--accent); }
.feature-card.highlighted { border-top-color: var(--accent); background: linear-gradient(180deg, #222 0%, #151515 100%); }
.card-icon { font-size: 2.8rem; margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 1.0rem; margin-bottom: 15px; font-family: 'Oswald', sans-serif; text-transform: uppercase; min-height: 45px; display: flex; align-items: center; justify-content: center; }
.feature-card p { color: #bbb; font-size: 0.9rem; line-height: 1.5; flex-grow: 1; }

@media (max-width: 1300px) { .container-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .container-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .container-grid { grid-template-columns: 1fr; gap: 20px; } }

/* --- SPONSORS --- */
.sponsors-section { background-color: var(--darker); text-align: center; position: relative; padding: 0; }
.blue-divider { height: 4px; width: 100%; background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%); opacity: 0.8; }
.container-sponsors { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.container-sponsors h2 { color: var(--light); margin-bottom: 10px; letter-spacing: 2px; font-family: 'Oswald', sans-serif; }
.container-sponsors .subtitle { color: #888; margin-bottom: 50px; font-size: 0.95rem; }
.sponsors-grid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 50px; }
.sponsor-item img { height: 100px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: all 0.4s ease; }
.sponsor-item:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.1); }
@media (max-width: 768px) { 
    .container-sponsors { padding: 40px 20px; }
    .sponsors-grid { gap: 30px; }
    .sponsor-item img { height: 60px; } 
}

/* --- FOOTER --- */
.main-footer { background-color: #0f0f0f; color: #ccc; padding: 60px 0 20px; border-top: 1px solid #222; text-align: center; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.footer-col { flex: 1; min-width: 280px; display: flex; flex-direction: column; align-items: center; }
.footer-logo { max-width: 100px; height: auto; margin-bottom: 15px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 5px; }
.footer-col p, .footer-col ul li a, .contact-info-list span { font-size: 0.9rem; line-height: 1.6; color: #bbb; }
.footer-col ul { list-style: none; padding: 0; width: 100%; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }
.contact-info-list { width: 100%; }
.contact-info-list li { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; }
.social-area { margin-top: 20px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; border: 1px solid #fff; padding: 8px 15px; border-radius: 4px; transition: 0.3s; font-size: 0.9rem; }
.social-btn:hover { background: #fff; color: #000; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #222; width: 100%; }
.footer-bottom p { font-size: 0.8rem; color: #666; margin: 0; }
@media (max-width: 768px) { .footer-container { flex-direction: column; gap: 50px; } }

/* --- BOTÓN WHATSAPP FLOTANTE --- */
.btn-whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: var(--whatsapp); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 9999; transition: all 0.3s ease; text-decoration: none; animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.btn-whatsapp-float:hover { transform: scale(1.1); background-color: #1ebe57; }

/* --- PÁGINAS INTERNAS (Generales) --- */
.page-header { height: 50vh; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #000; }
.page-header::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1; }
.header-content { position: relative; z-index: 2; padding: 0 20px; }
.header-content h1 { font-size: 3.5rem; color: var(--light); margin-bottom: 10px; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
.page-section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { color: var(--primary); margin-bottom: 20px; }
.about-text p { margin-bottom: 15px; color: #ccc; font-size: 1.05rem; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-bottom: 4px solid var(--accent); }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form { background: var(--gray); padding: 40px; border-radius: 8px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--light); font-weight: bold; }
.form-control { width: 100%; padding: 12px; background: #000; border: 1px solid #333; color: white; border-radius: 4px; font-family: 'Montserrat', sans-serif; }
.form-control:focus { outline: none; border-color: var(--primary); }
.btn-submit { display: inline-block; background: var(--primary); color: white; padding: 12px 30px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; text-transform: uppercase; transition: 0.3s; width: 100%; }
.btn-submit:hover { background: var(--accent); }

@media (max-width: 768px) { 
    .page-header { height: 40vh; } 
    .header-content h1 { font-size: 2.5rem; } 
    .about-grid, .contact-container { grid-template-columns: 1fr; } 
    .about-image { order: -1; margin-bottom: 30px; } 
}

/* --- ALERTAS --- */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; font-size: 0.95rem; border-left: 5px solid; animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.alert-success { background-color: rgba(40, 167, 69, 0.2); border-color: var(--accent); color: #a3cfbb; }
.alert-error { background-color: rgba(220, 53, 69, 0.2); border-color: #dc3545; color: #f8d7da; }
.alert-warning { background-color: rgba(255, 193, 7, 0.2); border-color: #ffc107; color: #ffda6a; }
.alert strong { margin-right: 5px; color: white; }

/* --- ÁLBUMES Y GALERÍA (Unificado y Corregido) --- */
.albums-grid, .album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; justify-content: center; } /* CORREGIDO: Fusioné clases duplicadas */

.album-card { background: #1a1a1a; border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.3s; border: 1px solid #333; position: relative; aspect-ratio: 4/3; }
.album-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.album-cover { position: relative; height: 100%; overflow: hidden; }
.album-card img, .album-cover img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.album-card:hover img { transform: scale(1.1); filter: brightness(0.7); }

.album-info { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 20px; color: white; text-align: center; }
.album-info h3 { font-size: 1.2rem; color: var(--light); margin-bottom: 5px; font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.album-info span, .album-info p { font-size: 0.9rem; color: #bbb; }

.view-btn { border: 2px solid white; color: white; padding: 8px 20px; text-transform: uppercase; font-weight: bold; font-size: 0.9rem; margin-top: 10px; display: inline-block; }

/* Modal Galería (Carousel) */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; align-items: center; justify-content: center; flex-direction: column; }
.carousel-container { position: relative; max-width: 90%; max-height: 90%; text-align: center; }
.carousel-container h3 { color: white; margin-bottom: 15px; letter-spacing: 1px; }
.main-image-box { display: flex; align-items: center; justify-content: center; gap: 20px; }
#modal-img, .modal-content-img { max-height: 80vh; max-width: 80vw; border: 2px solid #333; box-shadow: 0 0 20px rgba(0,0,0,0.5); transition: opacity 0.3s ease-in-out; opacity: 1; border-radius: 5px; animation: zoomIn 0.3s; }
.nav-btn, .lightbox-nav { background: none; border: none; color: white; font-size: 3rem; cursor: pointer; transition: 0.3s; user-select: none; z-index: 1001; }
.nav-btn:hover, .lightbox-nav:hover { color: var(--accent); transform: scale(1.2); }
.close-btn { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; z-index: 2001; }
.close-btn:hover { color: var(--warning); }
#modal-contador, .counter { color: #888; margin-top: 10px; }

/* --- INSTAGRAM / FOTOS GALERÍA --- */
.instagram-grid, .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; justify-content: center; padding-bottom: 40px; }
.instagram-item, .gallery-item { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); aspect-ratio: 1 / 1; background: #1a1a1a; transition: transform 0.3s ease; border: 1px solid #333; cursor: pointer; }
.instagram-item:hover, .gallery-item:hover { transform: translateY(-5px); border-color: var(--accent); }
.instagram-item img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.5s ease; }
.instagram-item:hover img, .gallery-item:hover img { transform: scale(1.1); opacity: 0.6; }
.insta-overlay, .gallery-item .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s ease; z-index: 2; background: rgba(0,0,0,0.5); }
.insta-overlay span, .gallery-item .icon { color: white; font-weight: bold; text-transform: uppercase; font-size: 1.1rem; border: 2px solid var(--accent); padding: 10px 20px; border-radius: 50px; }
.instagram-item:hover .insta-overlay, .gallery-item:hover .overlay { opacity: 1; }
@media (max-width: 480px) { .instagram-grid, .gallery-grid { grid-template-columns: 1fr; padding: 0 20px; } }

/* --- PÁGINAS ERROR Y MANTENIMIENTO --- */
.error-container { text-align: center; padding: 80px 20px; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.error-code { font-size: 8rem; font-weight: 700; color: var(--darker); -webkit-text-stroke: 2px var(--primary); line-height: 1; margin-bottom: 10px; font-family: 'Oswald', sans-serif; }
.error-msg { font-size: 1.5rem; color: #fff; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.full-screen-page { height: 100vh; width: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; }
.full-screen-page::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1; }
.status-box { position: relative; z-index: 2; background: rgba(30, 30, 30, 0.95); padding: 40px; border-radius: 8px; border-top: 4px solid var(--accent); max-width: 500px; width: 90%; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* --- CONTACTO MODERNO --- */
.contact-container-modern { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 20px; }
.contact-marketing h2 { font-size: 3rem; color: var(--light); line-height: 1; margin-bottom: 5px; }
.contact-marketing .sub-badge { background: var(--accent); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: inline-block; }
.highlight-text { color: var(--accent); font-size: 1.5rem; margin-bottom: 25px; font-weight: 300; }
.tp-content p { color: #ccc; font-size: 1.1rem; margin-bottom: 15px; line-height: 1.6; }
.action-buttons { margin-top: 40px; display: flex; gap: 15px; flex-wrap: wrap; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; background-color: #25D366; color: white; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; text-transform: uppercase; transition: 0.3s; border: 2px solid #25D366; }
.btn-whatsapp:hover { background-color: transparent; color: #25D366; }
.btn-email { display: inline-flex; align-items: center; gap: 10px; background-color: transparent; color: white; padding: 15px 30px; border-radius: 50px; font-weight: bold; text-transform: uppercase; cursor: pointer; border: 2px solid white; transition: 0.3s; font-size: 1rem; }
.btn-email:hover { background-color: white; color: #000; }
.contact-visual .visual-img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #333; }
.modal-content-form { background: #1a1a1a; padding: 40px; border-radius: 8px; width: 90%; max-width: 500px; position: relative; border-top: 4px solid var(--accent); box-shadow: 0 20px 50px rgba(0,0,0,0.7); }
.modal-content-form h2 { color: white; margin-bottom: 10px; }
.modal-content-form p { color: #888; margin-bottom: 20px; }
@media (max-width: 768px) { .contact-container-modern { grid-template-columns: 1fr; } .contact-marketing { text-align: center; } .action-buttons { justify-content: center; } .contact-visual { display: none; } }

/* --- RESEÑAS (Reviews) --- */
.reviews-grid-minimal { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 20px; justify-content: center; }
.review-card-mini { background: #000; padding: 25px 20px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.5); text-align: center; border: 1px solid var(--accent); transition: transform 0.3s ease; }
.review-card-mini:hover { transform: translateY(-5px); box-shadow: 0 0 15px var(--accent); }
.review-card-mini .profile-pic { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); margin-bottom: 15px; background-color: #222; }
.review-card-mini h3 { margin: 10px 0 20px 0; color: #fff; font-size: 1.2rem; font-family: 'Oswald', sans-serif; letter-spacing: 1px; }
.review-card-mini .stars { color: #f39c12; font-size: 1.2rem; margin-bottom: 5px; }
.btn-leer { background-color: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 8px 20px; border-radius: 25px; cursor: pointer; font-weight: bold; font-family: 'Oswald', sans-serif; transition: all 0.3s ease; text-transform: uppercase; font-size: 0.9rem; }
.btn-leer:hover { background-color: var(--accent); color: #000; }

/* Modal Reseñas */
.modal-content-resena { background: #000; width: 90%; max-width: 500px; max-height: 85vh; overflow-y: auto; padding: 30px 20px; border-radius: 12px; position: relative; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.9); border: 1px solid #444; margin: auto; animation: fadeIn 0.3s ease; }
.modal-content-resena .close-btn { position: absolute; top: 10px; right: 15px; font-size: 35px; font-weight: bold; color: #fff; cursor: pointer; line-height: 0.8; z-index: 10; }
.modal-content-resena .close-btn:hover { color: var(--accent); }
.modal-img-wrapper img { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--accent); object-fit: cover; margin-bottom: 15px; background-color: #222; }
.modal-content-resena h2 { color: var(--accent); font-family: 'Oswald', sans-serif; font-size: 1.5rem; margin-bottom: 20px; text-transform: uppercase; }
.modal-body-text { background-color: #111; padding: 15px; border-radius: 8px; border-left: 3px solid #444; font-size: 1rem; line-height: 1.5; color: #ddd; }