/* =====================================================
   MARIACHI ÁGUILA REAL — Estilos Personalizados
   ===================================================== */

:root {
  --rojo:       #c0392b;
  --rojo-osc:   #922b21;
  --dorado:     #f0c040;
  --dorado-osc: #d4a017;
  --oscuro:     #1a1a1a;
  --gris-card:  #f8f5f0;
  --wa-green:   #25d366;
  --wa-dark:    #128c7e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: #333; overflow-x: hidden; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* =====================
   NAVBAR
===================== */
#mainNav {
  background: rgba(15,10,5,0.92);
  backdrop-filter: blur(8px);
  transition: background 0.3s, box-shadow 0.3s;
  border-bottom: 2px solid var(--dorado);
}
#mainNav.scrolled {
  background: rgba(15,10,5,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.brand-text { line-height: 1.15; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: #fff; letter-spacing: 0.5px; display: block;
}
.brand-sub {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--dorado); display: block;
}

.navbar-nav .nav-link {
  font-weight: 600; letter-spacing: 0.3px;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--dorado) !important; }

.btn-whatsapp-nav {
  background: var(--wa-green); color: #fff;
  font-weight: 700; border-radius: 50px; padding: 0.45rem 1.2rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-whatsapp-nav:hover { background: var(--wa-dark); color: #fff; transform: scale(1.04); }

/* =====================
   BRAND ICON (trompeta)
===================== */
.brand-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(240,192,64,0.5));
  animation: iconDrift 4s ease-in-out infinite;
  user-select: none;
}
.brand-icon-sm { font-size: 1.6rem; }

@keyframes iconDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-3px) rotate(-5deg); }
}

/* =====================
   HERO
===================== */
.hero-section {
  min-height: 100vh;
  background:
    url('../img/Aguilafondo.jpg') center/cover no-repeat;
  position: relative;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,5,0,0.88) 0%, rgba(120,15,15,0.6) 55%, rgba(10,5,0,0.9) 100%);
}
.hero-eagle { display: flex; justify-content: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(240,192,64,0.5);
  border-radius: 50px; padding: 0.35rem 1.2rem;
  font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900; line-height: 1.05;
  text-shadow: 2px 4px 20px rgba(0,0,0,0.7);
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9; max-width: 600px;
  margin: 0 auto; font-weight: 300;
  letter-spacing: 0.3px; line-height: 1.6;
}
.hero-songs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.song-chip {
  background: rgba(240,192,64,0.15);
  border: 1px solid rgba(240,192,64,0.4);
  color: var(--dorado); font-size: 0.78rem; font-weight: 700;
  padding: 0.28rem 0.9rem; border-radius: 50px; letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.hero-scroll { animation: bounce 2s infinite; }
.hero-scroll a { color: rgba(255,255,255,0.6); font-size: 1.5rem; text-decoration: none; }
.hero-scroll a:hover { color: var(--dorado); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* =====================
   BOTÓN WHATSAPP
===================== */
.btn-whatsapp {
  background: var(--wa-green); color: #fff;
  font-weight: 700; border-radius: 50px; border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
  background: var(--wa-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}

/* =====================
   ESTADÍSTICAS
===================== */
.stats-section { background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-osc) 100%); }
.stat-item { padding: 0.8rem 0; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900; color: var(--dorado); }
.stat-plus { font-size: 1.8rem; font-weight: 900; color: var(--dorado); }
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-top: 2px; font-weight: 600; letter-spacing: 0.5px; }

/* =====================
   SECTION HEADERS
===================== */
.section-tag {
  display: inline-block;
  background: rgba(192,57,43,0.12); color: var(--rojo);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 0.3rem 1rem;
  border-radius: 50px; margin-bottom: 0.8rem;
  border: 1px solid rgba(192,57,43,0.25);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; color: #1a1a1a; margin-bottom: 0.6rem;
}
.section-subtitle { color: #666; font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* =====================
   SERVICIOS
===================== */
.services-section { background: #fff; }
.service-card {
  background: var(--gris-card); border-radius: 16px;
  padding: 2rem 1.6rem; text-align: center;
  border: 1px solid #ede8e0;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(192,57,43,0.12); border-color: var(--rojo); }
.service-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--rojo), var(--rojo-osc));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1rem;
  font-size: 1.8rem; color: #fff;
  box-shadow: 0 6px 20px rgba(192,57,43,0.3);
}
.service-card h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: #1a1a1a; margin-bottom: 0.6rem; font-size: 1.15rem; }
.service-card p { color: #666; font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* =====================
   REPERTORIO
===================== */
.repertorio-section { background: linear-gradient(160deg, #1a1a1a 0%, #2d0a0a 100%); }
.repertorio-section .section-tag { background: rgba(240,192,64,0.15); color: var(--dorado); border-color: rgba(240,192,64,0.3); }
.repertorio-section .section-title { color: #fff; }
.repertorio-section .section-subtitle { color: #aaa; }
.repertorio-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(240,192,64,0.2);
  border-radius: 16px; padding: 1.8rem 1.5rem; height: 100%;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.repertorio-card:hover { border-color: var(--dorado); background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.rep-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--rojo), var(--dorado-osc));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: #fff;
  margin-bottom: 1rem; box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.repertorio-card h5 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--dorado); margin-bottom: 1rem; font-size: 1.05rem; }
.song-list { list-style: none; padding: 0; margin: 0; }
.song-list li {
  color: rgba(255,255,255,0.8); font-size: 0.88rem;
  padding: 0.38rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s, padding-left 0.2s;
}
.song-list li:last-child { border-bottom: none; }
.song-list li:hover { color: var(--dorado); padding-left: 4px; }
.song-list li i { color: var(--rojo); font-size: 0.75rem; flex-shrink: 0; }
.repertorio-cta-text { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 1rem; }

/* =====================
   GALERÍA
===================== */
.gallery-section { background: #1a1a1a; }
.gallery-section .section-tag { background: rgba(240,192,64,0.15); color: var(--dorado); border-color: rgba(240,192,64,0.3); }
.gallery-section .section-title { color: #fff; }
.gallery-section .section-subtitle { color: #aaa; }
.filter-btn {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.25);
  color: #ccc; padding: 0.4rem 1.1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.25s;
}
.filter-btn:hover, .filter-btn.active { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.gallery-thumb {
  position: relative; overflow: hidden;
  border-radius: 10px; cursor: pointer; aspect-ratio: 4/3;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(192,57,43,0.7); display: flex;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; font-size: 2rem; color: #fff;
}
.gallery-thumb:hover .gallery-overlay { opacity: 1; }
.gallery-item { transition: opacity 0.3s, transform 0.3s; }
.gallery-item.hidden { opacity: 0; transform: scale(0.9); pointer-events: none; display: none; }

/* =====================
   VIDEOS
===================== */
.videos-section { background: var(--gris-card); }
.video-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
.video-thumb { position: relative; cursor: pointer; overflow: hidden; aspect-ratio: 16/9; display: block; text-decoration: none; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-thumb:hover img { transform: scale(1.05); }
.video-play-btn {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35); color: #fff; font-size: 3.5rem;
  transition: background 0.3s, color 0.3s;
}
.video-thumb:hover .video-play-btn { background: rgba(192,57,43,0.6); color: var(--dorado); }
.video-info h6 { font-weight: 700; color: #1a1a1a; }
.video-card-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
  color: #fff; min-height: 200px;
  border: 2px dashed rgba(240,192,64,0.3);
}
.video-card-cta h6 { color: #fff; }

/* =====================
   TESTIMONIOS
===================== */
.testimonials-section { background: linear-gradient(160deg, #1a1a1a 0%, #2d0a0a 100%); }
.testimonials-section .section-tag { background: rgba(240,192,64,0.15); color: var(--dorado); border-color: rgba(240,192,64,0.3); }
.testimonials-section .section-title { color: #fff; }
.testimonial-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 1.8rem; backdrop-filter: blur(4px);
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover { border-color: var(--dorado); transform: translateY(-4px); }
.testimonial-text { color: rgba(255,255,255,0.85); font-style: italic; line-height: 1.7; font-size: 0.95rem; margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--rojo), var(--dorado));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: #fff; font-size: 0.85rem; flex-shrink: 0;
}
.testimonial-author strong { color: #fff; font-size: 0.95rem; }

/* =====================
   CONTACTO
===================== */
.contact-section { background: #fff; }
.contact-info-box {
  background: linear-gradient(160deg, #1a1a1a 0%, #2d0a0a 100%);
  border-radius: 18px; padding: 2.5rem; color: #fff;
}
.contact-info-box h4 { font-family: 'Playfair Display', serif; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item i { font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.contact-item strong { display: block; color: #fff; margin-bottom: 2px; }
.contact-item .text-muted { color: #bbb !important; font-size: 0.9rem; }
.contact-form-box {
  background: var(--gris-card); border-radius: 18px;
  padding: 2.5rem; border: 1px solid #ede8e0;
}
.contact-form-box h5 { font-family: 'Playfair Display', serif; font-weight: 700; color: #1a1a1a; }
.form-control, .form-select {
  border-radius: 10px; border: 1.5px solid #ddd;
  padding: 0.65rem 1rem; font-size: 0.93rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--rojo);
  box-shadow: 0 0 0 0.2rem rgba(192,57,43,0.12);
}

/* Nota informativa del campo hora */
.hora-note {
  font-size: 0.78rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hora-note i { color: var(--rojo); font-size: 0.8rem; }

/* =====================
   FOOTER
===================== */
.footer-section { background: #0d0d0d; border-top: 2px solid var(--dorado); }
.footer-social {
  display: inline-flex; width: 38px; height: 38px;
  background: rgba(255,255,255,0.08); border-radius: 50%;
  align-items: center; justify-content: center;
  color: #ccc; font-size: 1rem; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social:hover { background: var(--wa-green); color: #fff; }

/* =====================
   BOTÓN FLOTANTE WHATSAPP
===================== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 62px; height: 62px; background: var(--wa-green);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.9rem; color: #fff;
  text-decoration: none; z-index: 9999;
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--wa-dark); color: #fff;
  transform: scale(1.12); box-shadow: 0 10px 30px rgba(37,211,102,0.65);
  animation: none;
}
.wa-tooltip {
  position: absolute; right: 75px; background: #fff; color: #1a1a1a;
  font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.8rem;
  border-radius: 20px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s; pointer-events: none;
}
.wa-tooltip::after {
  content: ''; position: absolute; top: 50%; right: -7px;
  transform: translateY(-50%); border: 5px solid transparent;
  border-left-color: #fff;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
@keyframes waFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.04); }
}

/* =====================
   FADE-UP
===================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 767px) {
  .hero-title { font-size: 2.6rem; }
  .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .contact-info-box, .contact-form-box { padding: 1.8rem; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.6rem; bottom: 18px; right: 18px; }
}
@media (max-width: 575px) {
  .stat-number { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .hero-songs { gap: 6px; }
  .song-chip { font-size: 0.72rem; padding: 0.22rem 0.7rem; }
}
