/* style.css - Estilos actualizados para Sonora Bella Cuba */

/* Variables CSS - Colores actualizados */
:root {
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --secondary-color: #2ecc71;
    --secondary-dark: #27ae60;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --text-light: #5d6d7e;
    --text-on-dark: #fff;
    --bg-light: #f9f9f9;
    --bg-dark: #1e2b37;
    --bg-section: #ecf0f1;
    --border-radius: 10px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --font-primary: 'Lato', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

section {
    padding: 90px 0;
}

.section-dark {
    background-color: var(--bg-section);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
.btn-map {
    background-color: var(--accent-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-map:hover {
    background-color: #2980b9;
}
.btn-call {
    background-color: #2ecc71;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-call:hover {
    background-color: #27ae60;
}
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.nav-logo-container:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 35px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

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

/* Hero Section - CORREGIDO: ahora usa la carpeta img/ */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/group-playing.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.2), rgba(46, 204, 113, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 25px;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 25px;
    animation: fadeInDown 1s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1s ease 0.2s both;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 45px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Animaciones */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sección Historia */
.history-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.history-text {
    flex: 1;
}
.history-text p {
    margin-bottom: 25px;
    font-size: 1.2rem;
}
.history-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.history-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}
.history-image:hover img {
    transform: scale(1.03);
}

/* MOSAICO DE INTEGRANTES */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 20px;
}

.member-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    height: 350px;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.member-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 25px 15px 20px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.member-instrument {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 204, 113, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.member-link:hover {
    background-color: white;
    color: var(--secondary-color);
    border-color: white;
}

/* CARRUSEL DE IMÁGENES */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    height: 500px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--primary-color);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--secondary-color);
    border-color: white;
}

/* Presentaciones */
.presentations-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.presentation-info { flex: 1; }
.presentation-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
}
.presentation-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px;
}
.presentation-header h3 { font-size: 1.8rem; margin-bottom: 10px; }
.presentation-date { display: flex; justify-content: space-between; font-size: 1.2rem; }
.presentation-body { padding: 30px; }
.presentation-body h4 { font-size: 1.5rem; margin-bottom: 10px; color: var(--primary-dark); }
.presentation-address { color: var(--text-light); margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.presentation-footer { padding: 0 30px 30px; }
.presentation-notes { background-color: #fff9e6; border-left: 4px solid #f1c40f; padding: 20px; border-radius: 4px; }
.presentation-map { flex: 1; height: 450px; }
.map-container { width: 100%; height: 100%; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); }

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 70px 0 30px;
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-brand h3 { font-family: var(--font-secondary); font-size: 2rem; margin-bottom: 10px; color: var(--secondary-color); }
.footer-links h4, .footer-social h4 { font-size: 1.4rem; margin-bottom: 20px; color: var(--secondary-color); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ddd; text-decoration: none; transition: var(--transition); font-size: 1.1rem; }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }
.social-icons { display: flex; gap: 20px; }
.social-icon {
    width: 45px; height: 45px; border-radius: 50%; background-color: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: var(--transition); font-size: 1.2rem;
}
.social-icon:hover { background-color: var(--secondary-color); transform: translateY(-5px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-bottom p { color: #aaa; margin-bottom: 10px; font-size: 1rem; }
.footer-bottom a { color: var(--secondary-color); text-decoration: none; }

/* BOTÓN DE VOLVER ARRIBA */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .hero-logo { width: 100px; }
    .history-content, .presentations-content { flex-direction: column; }
    .presentation-map { height: 350px; }
    .section-title { font-size: 2.4rem; }
    .members-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 80px; left: -100%; flex-direction: column; background-color: white;
        width: 100%; text-align: center; transition: var(--transition); box-shadow: 0 10px 15px rgba(0,0,0,0.1); padding: 20px 0;
    }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 20px 0; }
    .nav-toggle { display: block; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; margin-bottom: 10px; }
    .nav-logo-text { font-size: 1.4rem; }
    .members-grid { grid-template-columns: 1fr; }
    .member-card { height: 400px; }
    .carousel-img { height: 350px; }
}

@media (max-width: 576px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-logo { width: 80px; }
    .nav-logo-text { font-size: 1.2rem; }
    .nav-logo-img { height: 45px; }
    .carousel-img { height: 250px; }
}

/* ===== SECCIÓN SÍGUENOS ===== */
.siguenos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.siguenos-card {
    background-color: white;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.siguenos-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.siguenos-icono {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.siguenos-card.facebook .siguenos-icono { background-color: #1877f2; }
.siguenos-card.instagram .siguenos-icono { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.siguenos-card.tiktok .siguenos-icono { background-color: #000000; }

.siguenos-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.siguenos-card p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-siguenos {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-siguenos i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-siguenos:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-siguenos:hover i {
    transform: translateX(5px);
}

/* ===== PÁGINA DE CONTACTO ===== */
.contacto-mejorado {
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-mensaje-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 50px;
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.3);
    position: relative;
}

.contacto-mensaje-card .fa-quote-left {
    font-size: 4rem;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
}

.mensaje-texto {
    font-size: 1.5rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mensaje-firma {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: right;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-metodos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}
.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.contacto-icono {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.contacto-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contacto-telefono {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.contacto-botones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contacto-ubicacion {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contacto-ubicacion h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-ubicacion p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.mapa-principal {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.restaurante-imagen {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.restaurante-imagen img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.restaurante-imagen:hover img {
    transform: scale(1.02);
}

.imagen-pie {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 10px 15px 15px;
    background-color: #fafafa;
    margin-bottom: 0 !important;
    border-top: 1px solid #eee;
}

/* ===== PÁGINA DE INTEGRANTES - CORREGIDO ===== */
.integrantes-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/integrantes-hero.jpg');
    background-size: cover;
    background-position: center;
}

/* Responsive contacto */
@media (max-width: 992px) {
    .contacto-grid {
        gap: 30px;
    }
    .mapa-principal iframe {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mensaje-texto {
        font-size: 1.2rem;
    }
    .contacto-telefono {
        font-size: 1.8rem;
    }
    .mapa-principal iframe {
        height: 220px;
    }
}