/* Tema "Rabia y Luz" – Paleta de ALTO CONTRASTE */
/* Fuentes recomendadas: Montserrat (títulos) + Roboto (texto) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Bases */
  --bg-light-aqua: #E9FBFC;  /* claro, ideal texto negro */
  --bg-deep-teal:  #1C7F88;  /* oscuro, ideal texto blanco */

  /* Texto */
  --text-white:    #FFFFFF;
  --text-black:    #000000;
  --text-hero:     #074548;

  /* Acentos de alto contraste */
  --accent-coral:  #D13E25; /* texto blanco OK (≈4.74:1) */
  --accent-hover:  #af2c1a; /* texto blanco OK (≈5.31:1) */
  --accent-aqua:   #8EE4E6; /* decorativo (chips/bordes) */

  /* Derivados y transparencias */
  --panel: rgba(255, 255, 255, 0.39);
  --panel-strong: rgba(255,255,255,0.18);
  --border-soft: rgba(255,255,255,0.25);
  --shadow: 0 8px 24px rgba(0,0,0,0.15);

  /* Tipografía y layout */
  --font-body: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', 'Roboto', sans-serif;
  --radius-8: 8px;
  --radius-12: 12px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --max-w: 90%;
}

/* Reset mínimo */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-black);
  background: var(--bg-light-aqua);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-coral); }
a:hover { color: var(--accent-hover); }

/* Utilidades */
.site-wrapper { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-16); }
.container { width: 100%; margin: 0 auto; padding: 0 5%; }
.mt-24 { margin-top: var(--space-24); }
.mb-24 { margin-bottom: var(--space-24); }
.center { text-align: center; }
.justificado { text-align: justify; }
.hide-visually { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Header / Nav */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 6px 10px; background: var(--accent-coral); color: var(--text-white); }

.header {
  background: var(--bg-deep-teal);
  color: var(--text-white);
  border-bottom: 1px solid var(--border-soft);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-8) var(--space-16); }
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-white); text-decoration: none; }
.nav { display: flex; gap: 16px; align-items: center;}
.nav a { color: var(--text-white); text-decoration: none; font-weight: 500; position: relative; }
.nav a::after { content:''; position:absolute; left:0; bottom:-3px; width:0; height:2px; background: var(--accent-coral); transition: width .25s ease; }
.nav a:hover::after { width:100%; }

/* HERO */

.hero { background: radial-gradient(120% 120% at 50% -20%, rgba(255,255,255,.15) 0%, rgba(255,255,255,0) 60%), #9fd2d6; color: var(--text-hero); padding: var(--space-32) 0; }
/* .hero { background: var(--bg-deep-teal); color: var(--text-white); padding: var(--space-32) 0; } */
.hero-wrap { display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-24); align-items:center; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 var(--space-12); }
.hero p { margin: 0 0 var(--space-16); opacity: .95; }
.hero-cta { display:flex; gap:12px; flex-wrap: wrap; }
.hero .cover { border-radius: var(--radius-12); box-shadow: var(--shadow); overflow: hidden; }

/* Botones */
.btn { display:inline-flex; align-items:center; gap:8px; border:none; border-radius: var(--radius-8); padding: 12px 16px; font-weight:600; cursor:pointer; text-decoration:none; }
.btn-primary { background: var(--accent-coral); color: var(--text-white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--text-white); }
.btn-secondary { background: var(--accent-aqua); color: var(--text-black); }
.btn-secondary:hover { filter: brightness(1.2); color: var(--text-black); }

/* Secciones */
.section { padding: var(--space-32) 0; }
.section-dark { padding: var(--space-32) 0; background: var(--bg-deep-teal); color: var(--text-white); }
.section-title { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 var(--space-16); }
.section-subtitle { margin-top: -8px; opacity: .9; }

/* Grid de álbumes */
.albumes { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-16); color: var(--text-black);}
.card-album { display: flex; flex-direction: column; justify-content: center; background: var(--panel);  border-radius: var(--radius-12); padding: var(--space-16);  box-shadow: var(--shadow);  border: 1px solid var(--border-soft);  transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-album h3 { margin: auto; font-family: var(--font-heading); font-size: 1.1rem; }
.card-album .meta { font-size: .95rem; opacity: .8; }
.card-album p { margin: auto; }
.card-album img { margin: auto; }

/* Contenido del disco */
.caratula { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.caratula-content { width: 100%; display: flex; justify-content: center; align-items: center; }
.caratula-center { display: flex; justify-content: center; align-items: center; width: 300px; text-align: center; }


/* Grid de canciones */
.tracks { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-16); }
.card { background: var(--text-white); color: var(--text-black); border-radius: var(--radius-12); padding: var(--space-16); margin: var(--space-12); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.1rem; }
.card .meta { font-size: .95rem; opacity: .8; }

/* Vídeo / Single destacado */
.media { display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-24); align-items:center; }
.media .frame { aspect-ratio: 16/9; background: #0f3e44; border-radius: var(--radius-12); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.media .frame::after{ content:"© Triquel 2025"; position:absolute; right:8px; bottom:8px; background:rgba(255,255,255,.85); color:#000; font-size:12px; padding:2px 6px; border-radius:6px; }

/* Fotos */
.grid-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-16); }
.foto-wrapper { position: relative; width: 100%; aspect-ratio: 16/9;  overflow: hidden;  border-radius: 12px; }
.foto-wrapper img { width: 100%;  height: 100%;  object-fit: cover;   /* llena el cuadro recortando */  object-position: center; /* centra el recorte */  display: block; }

/* Fechas de gira */
.tour { width:100%; border-collapse: collapse; background: var(--text-white); color: var(--text-black); box-shadow: var(--shadow); border-radius: var(--radius-12); overflow: hidden; }
.tour th, .tour td { padding: 12px 14px; border-bottom: 1px solid #eee; }
.tour th { text-align:left; background: #f7fdfd; font-family: var(--font-heading); }
.tour tr:last-child td { border-bottom: none; }
.tour .buy { text-align:right; }
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; /* desplazamiento suave en móviles */ }
@media (max-width: 480px) { .tour th, .tour td { font-size: 0.85rem; padding: 6px 8px; } .tour .btn { font-size: 0.75rem; padding: 4px 8px; } .container {padding: 0;} :root {--max-w: 99%;}}

/* Newsletter */
.form { display:flex; gap: 8px; flex-wrap: wrap; }
.input { flex:1; min-width: 220px; border: 2px solid #bdeff1; border-radius: var(--radius-8); padding: 12px; font-size: 1rem; }
.input:focus { outline: none; border-color: var(--accent-aqua); box-shadow: 0 0 0 3px rgba(142,228,230,.4); }

/* PayPal */
.paypal-container { display: block; text-align: center; width: 300px; }

/* Footer */
.footer { background: var(--bg-deep-teal); color: var(--text-white); padding: var(--space-24) 0; border-top: 1px solid var(--border-soft); }
.footer .social { display:flex; gap: 12px; }
.footer a { color: var(--text-white); }
.footer a:hover { color: var(--accent-aqua); }

/* Responsivo */
@media (max-width: 900px){ .hero-wrap { grid-template-columns: 1fr; } .media { grid-template-columns: 1fr; } .grid-fotos { grid-template-columns: 1fr; } }

/* Botón hamburguesa oculto en escritorio */
.menu-toggle { display: none; }

/* Estilos para móviles */
@media (max-width: 750px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001; /* encima del menú */
  }

  .nav {
    position: absolute;
    top: 60px;
    right: 16px;
    width: 220px;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-deep-teal);
    padding: var(--space-16);
    border-radius: var(--radius-12);
    box-shadow: var(--shadow);

    /* Animación */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  }

  .nav.show {
    max-height: 500px; /* suficiente para mostrar enlaces */
    opacity: 1;
    transform: translateY(0);
  }
}
