/* ===========================================================
   LA CHIMBA — Retro Psyché 70s Cumbia Chicha
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Fredoka:wght@400;500;600;700&display=swap');

:root {
  --mustard: #d9a021;
  --gold: #e8b93a;
  --green: #17d488;
  --green-dark: #0aa863;
  --teal-deep: #0f3d4a;
  --navy: #16324a;
  --cream: #fdf3d8;
  --yellow: #fff049;
  --ink: #16324a;
  --shadow: rgba(15, 61, 74, 0.35);
  --radius: 18px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: 'Bungee', cursive;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Logo-based swirl background ---------- */
.swirl-bg {
  position: relative;
  background-color: var(--mustard);
  background-image: url('../images/logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.swirl-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15,61,74,0) 55%, rgba(15,61,74,0.35) 100%);
}

.logo-mark {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(15,61,74,0.4));
}

/* Flat accent background using the exact yellow/green swirl colors sampled from the logo */
.accent-bg {
  background: linear-gradient(120deg, #e6d23f 0%, #a9cf4d 35%, #6bc670 65%, #3fbf82 100%);
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 4px solid var(--yellow);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  color: var(--yellow);
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 var(--green-dark);
}
.brand span { color: var(--green); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  display: inline-block;
  color: var(--cream);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--yellow);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  color: var(--yellow);
  font-size: 1.5rem;
  padding: 4px 12px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    padding: 12px 0;
  }
  .nav-wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--mustard) url('../images/logo.png') center / cover no-repeat;
  aspect-ratio: 2048 / 980;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--navy), -2px -2px 0 var(--green-dark);
  margin-bottom: 0.2em;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--cream);
  background: rgba(22, 50, 74, 0.55);
  display: inline-block;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
}

/* One-page layout: sections separated by anchors */
main section:target,
main section {
  scroll-margin-top: 90px;
}

/* ---------- Concert accordion (grouped by year) ---------- */
.concert-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.year-group {
  background: white;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--mustard);
}

.year-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: var(--navy);
  color: var(--yellow);
  border: 0;
  cursor: pointer;
  font-family: 'Bungee', cursive;
  font-size: 1.1rem;
  text-align: left;
}
.year-toggle .count {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream);
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 999px;
}
.year-toggle .chevron {
  transition: transform 0.2s;
  font-size: 1rem;
}
.year-group.open .year-toggle .chevron {
  transform: rotate(180deg);
}

.year-body {
  display: none;
  padding: 14px 18px;
}
.year-group.open .year-body {
  display: block;
}

.year-body .concert-item {
  box-shadow: none;
  border: none;
  border-bottom: 1px dashed #cbb;
  border-radius: 0;
  padding: 12px 6px;
}
.year-body .concert-item:last-child { border-bottom: none; }

.archive-year { margin-bottom: 18px; }
.archive-year:last-child { margin-bottom: 0; }
.archive-year-title {
  font-family: 'Bungee', cursive;
  font-size: 0.9rem;
  color: var(--green-dark);
  margin: 0 0 4px;
  padding-top: 8px;
  border-top: 2px dashed #cbb;
}
.archive-year:first-child .archive-year-title {
  border-top: none;
  padding-top: 0;
}

/* ---------- Page hero (smaller, for inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  color: var(--yellow);
  font-size: clamp(2rem, 6vw, 3.2rem);
  text-shadow: 3px 3px 0 var(--navy);
}
.page-hero p {
  position: relative;
  z-index: 2;
  color: var(--cream);
  font-weight: 600;
  max-width: 640px;
  margin: 10px auto 0;
}

/* ---------- Sections ---------- */
section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  color: var(--green-dark);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 40px;
}
.section-title span { color: var(--mustard); }

/* ---------- Cards / Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: white;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--navy);
}
.btn.secondary {
  background: var(--yellow);
  color: var(--navy);
}

.card {
  background: white;
  border-radius: var(--radius);
  border: 3px solid var(--navy);
  box-shadow: 6px 6px 0 var(--mustard);
  padding: 24px;
}

/* ---------- About / intro ---------- */
.about {
  background: white;
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-text strong { color: var(--green-dark); }

/* ---------- Concerts ---------- */
.concerts-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.concerts-filter button {
  background: white;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
}
.concerts-filter button.active,
.concerts-filter button:hover {
  background: var(--green-dark);
  color: white;
}

.concert-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.concert-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: 5px 5px 0 var(--mustard);
}
.concert-item.past { opacity: 0.6; }

.concert-date {
  background: var(--green-dark);
  color: white;
  font-family: 'Bungee', cursive;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 90px;
  line-height: 1.3;
}
.concert-date .day { font-size: 1.4rem; display: block; }

.concert-info { flex: 1; }
.concert-info .place { font-weight: 700; font-size: 1.1rem; }
.concert-info .loc { color: #557; font-size: 0.95rem; }

.concert-tag {
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Cumbieros (band members) ---------- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
}

.member-card {
  text-align: center;
}
.member-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--yellow);
  box-shadow: 0 0 0 4px var(--navy);
  margin-bottom: 14px;
}

.group-photo-wrap {
  position: relative;
}
.group-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--navy);
  box-shadow: 6px 6px 0 var(--mustard);
  display: block;
}

.member-labels {
  position: relative;
  height: 56px;
  margin-top: 4px;
}
.member-label {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: 'Bungee', cursive;
  font-size: 0.8rem;
  color: var(--navy);
  white-space: nowrap;
}
.member-label .arrow-up {
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
}
@media (max-width: 700px) {
  .member-label { font-size: 0.62rem; }
  .member-label .arrow-up { font-size: 0.9rem; }
}

.member-avatar {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', cursive;
  font-size: 2.6rem;
  color: var(--navy);
  border: 5px solid var(--yellow);
  box-shadow: 0 0 0 4px var(--navy);
}
.member-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.member-card p {
  color: var(--green-dark);
  font-weight: 600;
  margin: 0;
}

/* ---------- Medias ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--navy);
  box-shadow: 6px 6px 0 var(--mustard);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.audio-card { padding: 20px; }
.audio-card h3 { margin-bottom: 10px; color: var(--navy); }
audio { width: 100%; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.photo-grid img {
  border-radius: var(--radius);
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 var(--mustard);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ---------- Presse ---------- */
.press-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.press-item {
  background: white;
  border: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 5px 5px 0 var(--mustard);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.press-item h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.1rem; }
.press-item span { color: #557; font-size: 0.9rem; }
.press-item-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.press-item-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--mustard);
}
.play-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 0.7rem;
  vertical-align: middle;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h3 { color: var(--navy); }
.contact-info p { font-size: 1.05rem; line-height: 1.8; }
.contact-info a.link-line {
  display: block;
  font-weight: 700;
  color: var(--green-dark);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.social-row a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1.3rem;
  border: 2px solid var(--yellow);
  transition: transform 0.15s;
}
.social-row a:hover { transform: scale(1.1); }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
form.contact-form input,
form.contact-form textarea {
  font-family: 'Fredoka', sans-serif;
  padding: 14px 16px;
  border-radius: 12px;
  border: 3px solid var(--navy);
  font-size: 1rem;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- Footer ---------- */
/* ---------- Espace pro (discreet, small footprint) ---------- */
.pro-space {
  padding: 22px 0;
  background: var(--cream);
}
.pro-space-links {
  font-size: 0.98rem;
  color: #8c866c;
  margin: 0;
}
.pro-space-links a {
  color: #7a7560;
  text-decoration: underline;
}
.pro-space-links a:hover {
  color: var(--green-dark);
}

footer.site-footer {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 30px 24px;
  border-top: 4px solid var(--yellow);
}
footer.site-footer .social-row { justify-content: center; }
footer.site-footer p { margin: 6px 0; font-size: 0.9rem; opacity: 0.85; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt { margin-top: 30px; }
