* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #1D5A90; /* Azul estilo Cenando Canciones */
  color: #f5f5f5;
  line-height: 1.6;
}

header {
  background: #1D5A90;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #FF6161;
}

header h1 {
  color: #FF6161;
  font-size: 2rem;
  letter-spacing: 2px;
}

nav {
  margin-top: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #FF6161;
}

.hero {
  /* Usamos la imagen en el DOM y posicionamos el texto encima */
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero .hero-photo {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 16px 0;
  border-radius: 8px;
  object-fit: cover;
  z-index: 1;
}

.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.45);
  padding: 12px 18px;
  border: 1px solid #FF6161;
  border-radius: 6px;
  z-index: 2;
  text-align: center;
  min-width: 60%;
}

.hero-text h1 {
  margin: 0;
  padding: 0;
  font-size: 2.4rem;
  color: #ffffff;
}

.hero-text p {
  margin: 8px 0 0 0;
  font-size: 1.05rem;
  color: #f5f5f5;
}

/* MOBILE: evitar que la foto ocupe toda la pantalla */
@media (max-width: 480px) {
  .hero {
    padding: 20px 12px;
  }

  .hero .hero-photo {
    width: 95%;
    max-width: 620px;
    max-height: 45vh;
    object-fit: cover;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 1.6rem;
    padding: 8px 12px;
  }

  .hero p { font-size: 0.95rem; }
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

/* ===== SECCIÓN INFO (mejor lectura en escritorio) ===== */
.info {
  padding: 15px 20px;
  max-width: 850px; /* ancho legible en escritorio */
  margin: 20px auto;
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== Ajuste: espacio antes de cada H2 en contenido y tamaño más pequeño ===== */
.info h2 {
  margin-top: 12px; /* espacio equivalente a un <br> visual */
  margin-bottom: 20px;
  font-size: 1.25rem; /* más pequeño que el H2 por defecto */
  font-weight: 700;
  color: #f5f5f5;
}

@media (max-width: 768px) {
  .info h2 {
    margin-top: 8px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .info {
    padding: 20px;
    max-width: 100%;
    margin: 20px auto;
    font-size: 0.98rem;
    line-height: 1.6;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

/* ===== STATS CAROUSEL: cinco cajas vistosas con swipe ===== */
.stats-carousel {
  padding: 30px 0 50px 0;
}

.stats-carousel .cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.stats-carousel .card {
  flex: 0 0 80%;
  max-width: 800px;
  min-height: 160px;
  border-radius: 12px;
  color: #fff;
  padding: 18px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.stats-carousel .card .icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.stats-carousel .card .icon svg {
  width: 40px;
  height: 40px;
  display: block;
  color: #fff;
  fill: currentColor;
}

.stats-carousel .card .number {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.stats-carousel .card .label {
  font-size: 1rem;
  opacity: 0.95;
}

/* Desktop: mostrar varias tarjetas a la vista */
@media (min-width: 900px) {
  .stats-carousel .cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 0 20px;
  }

  .stats-carousel .card {
    flex: none;
    min-height: 140px;
    align-items: center;
    text-align: center;
    padding: 24px;
  }

  .stats-carousel .card .icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
  }

  .stats-carousel .card .number {
    font-size: 1.8rem;
  }
}

/* ===== TESTIMONIOS ===== */
.testimonials-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(11,57,117,0.02), rgba(11,57,117,0));
}

.testimonials-section h2 {
  text-align: center;
  color: #f5f5f5;
  margin-bottom: 18px;
}

.testimonials .list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 10px;
  scroll-snap-type: x mandatory;
}

.testimonial {
  flex: 0 0 85%;
  background: linear-gradient(145deg,#112d57,#0a2342);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  scroll-snap-align: center;
}

.testimonial .quote-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #FF6161;
}

@media (min-width: 900px) {
  .testimonials .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
  }
  .testimonial { flex: none; }
}

/* ===== APTO PÁG/CTA ===== */
.audiences {
  padding: 40px 20px;
  text-align: center;
}
.audiences-list {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 12px auto 0 auto;
  padding: 0 10px;
}
.audiences-list li {
  padding: 8px 0;
}

/* ===== SWIPE HORIZONTAL EN MÓVIL ===== */
@media (max-width: 768px) {
  .gallery {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 10px 0;
    scroll-behavior: smooth;
  }

  /* support both .item wrappers and <a><img> markup */
  .gallery .item,
  .gallery a {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    border-radius: 8px;
    display: block;
    background: #091833;
  }

  .gallery .item img,
  .gallery a img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* Lightbox modal */
  .lightbox-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    padding: 20px;
  }

  .lightbox-modal.active { display: flex; }

  .lightbox-modal img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-radius: 6px;
  }

  .lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #fff;
    font-size: 1.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 20px;
  background: #1D5A90;
  margin-top: 40px;
  border-top: 2px solid #FF6161;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

.social a {
  margin: 0 10px;
  color: #ffffff;
  font-size: 1.5rem;

}

/* Wishlist / Heart button */
.song-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cover-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 52px;
  background: #091833;
}

.song-meta { flex: 1 1 auto; font-size: 0.98rem; }

.heart-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
}

.heart-btn svg { fill: rgba(255,255,255,0.85); transition: transform .15s ease, fill .15s ease; }
.heart-btn.active svg { fill: #e2556b; transform: scale(1.06); }

.wishlist-page ul { list-style: none; padding: 0; }
.wishlist-page li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); display:flex; justify-content:space-between; align-items:center; }
.wishlist-page .remove-wish { background:#FF6161; color:#fff; border:0; padding:6px 10px; border-radius:6px; }

.admin-table { width:100%; border-collapse: collapse; margin-top: 12px; }
.admin-table th, .admin-table td { text-align:left; padding:8px 10px; border-bottom:1px solid rgba(255,255,255,0.04); }

@media (max-width: 480px) {
  .cover-thumb { width:44px; height:44px; }
  .song-meta { font-size:0.95rem; }
}
/* ===== AJUSTE TAMAÑO DEL LOGO ===== */
.logo {
  /* incrementado 30% respecto de 260px => 338px */
  max-width: 338px;
  display: block;
  /* reducir separación inferior; objetivo: distancia total logo→subtítulo = 3px (mitad de ~6px anterior)
     distribuimos 2px abajo del logo y 1px arriba del subtítulo */
  margin: 0 auto 2px auto;
}

/* ===== SUBTÍTULO DE LA CABECERA ===== */
.header-subtitle {
  /* reducir espacio: 1px arriba del subtítulo (suma total ≈3px) */
  margin: 1px 0 0 0;
  padding: 0;
  font-size: 1.1rem;
  color: #FF6161;
  font-style: italic;
  text-align: center;
  font-weight: 300;
}

@media (max-width: 768px) {
  .header-subtitle {
    font-size: 1.1rem;
    /* móvil: mantener distancia reducida (1px) */
    margin: 1px 0 0 0;
  }
}

/* ===== MENÚ MÓVIL ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FF6161;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    margin-top: 15px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

/* Hamburger: three gold bars, no solid background */
.menu-toggle {
  background: transparent !important;
  border: none;
  padding: 8px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: #FF6161;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.menu-toggle .hamburger::before { transform: translateY(-7px); }
.menu-toggle .hamburger::after { transform: translateY(7px); }

/* Optional: transform into an X when active */
.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); translate: 0 0; }
.menu-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); translate: 0 0; }
}
/* ===== MENÚ MÓVIL ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FF6161;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    margin-top: 15px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== LIGHTBOX GALERÍA ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 5%;
  border: 3px solid #FF6161;
  border-radius: 10px;
}

.lightbox:target {
  display: block;
}

/* ===== FORMULARIO ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

button {
  padding: 12px;
  background: #FF6161;
  color: #000;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background: #E05252;
}
/* ===== SECCIÓN TESTIMONIOS ELEGANTE ===== */

.testimonios-section {
  position: relative;
  padding-top: 80px;
}

.testimonios-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #f5f5f5;
  letter-spacing: 1px;
}

.testimonios {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonio {
  background: linear-gradient(145deg, #112d57, #0a2342);
  padding: 35px 30px 30px;
  border-radius: 12px;
  max-width: 320px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonio:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.7);
}

.testimonio.destacado {
  transform: scale(1.05);
  border: 1px solid #FF6161;
  box-shadow: 0 20px 45px rgba(180,138,44,0.4);
}

.comillas {
  font-size: 4rem;
  color: #FF6161;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.25;
  font-family: serif;
}

.testimonio p {
  margin-top: 20px;
  font-style: italic;
  line-height: 1.7;
}

.autor {
  margin-top: 20px;
  font-weight: bold;
  color: #FF6161;
  text-align: right;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ===== LISTA DE CANCIONES ===== */
.song-list {
  max-width: 800px;
  margin: 30px auto;
}

.song-list ul {
  list-style: none;
  padding: 0;
}

.song-list li {
  background: linear-gradient(145deg, #112d57, #0a2342);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid #FF6161;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.song-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(180,138,44,0.3);
  background: linear-gradient(145deg, #143a6b, #0c2948);
}

.new-badge {
  background: #FF6161;
  color: hsl(208, 53%, 87%);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 10px;
  letter-spacing: 1px;
}

.back-button {
  display: inline-block;
  padding: 12px 30px;
  background: #FF6161;
  color: hsl(240, 11%, 98%);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: #E05252;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(180,138,44,0.4);
}

/* ===== OVERRIDES / MEJORAS TESTIMONIOS ===== */
.testimonial {
  /* más elegante: borde redondeado mayor, sombra más suave y fondo ligero */
  border-radius: 14px;
  padding: 22px;
  background: linear-gradient(145deg,#0f2a4f,#0b2340);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.04);
}

.testimonial .testimonial-header{ display:flex; align-items:center; margin-bottom:12px }
.testimonial .avatar{ width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-right:14px; flex-shrink:0 }
.testimonial .avatar svg{ width:28px; height:28px; display:block; fill:currentColor; color:#fff }
.testimonial .avatar-1{ background: linear-gradient(135deg,#ffd54f,#FF6161); }
.testimonial .avatar-2{ background: linear-gradient(135deg,#0b8043,#0fa36a); }
.testimonial .avatar-3{ background: linear-gradient(135deg,#6a2b9b,#8e44ad); }

/* Avatar images (fallback to gradients if missing) */
.testimonial .avatar img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  display:block;
}

.testimonial .meta .name{ font-weight:700; color:#fff; font-size:1rem }
.testimonial .meta .title{ color:#E05252; font-weight:600; margin-top:4px; font-size:0.95rem }

.testimonial p{ font-style:italic; color:#f3f3f3; line-height:1.7; margin:0 }

/* Updated heart button styles */
.heart-button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.heart-button.active {
  color: #FF6161;
}

.heart-count {
  margin-left: 8px;
  font-size: 14px;
  color: white;
}

@media (min-width:900px){
  .testimonial{ padding:24px }
  .testimonial .avatar{ width:56px; height:56px }
  .testimonial .meta .name{ font-size:1.05rem }
}
