/* ============================================
   ATAQUE KOALA - Pop Punk Website v3
   EPK style: blue duotone photo banners as
   section dividers, clean content sections
   ============================================ */

/* --- CUSTOM FONTS --- */
@font-face {
  font-family: 'CCHooky';
  src: url('CCHookySolid.woff2') format('woff2'),
       url('CCHookySolid.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AmericanTypewriter';
  src: url('AmericanTypewriter.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- VARIABLES --- */
:root {
  --blue: #3AA0D8;
  --blue-dark: #1E6FA0;
  --blue-deep: #0B3D5C;
  --mustard: #D4A017;
  --mustard-bright: #E8B004;
  --red: #C23B22;
  --black: #0D0D0D;
  --black-light: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #F5F0E8;
  --cream: #EDE5D5;
  --gray: #AAA;
  --font-display: 'CCHooky', 'Archivo Black', sans-serif;
  --font-body: 'Space Mono', monospace;
  --font-text: 'AmericanTypewriter', Georgia, serif;
  --nav-height: 70px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 3px solid var(--blue);
  transition: transform 0.3s;
}
.nav--hidden { transform: translateY(-100%); }
.nav__inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav__logo img { width: 44px; height: 44px; transition: transform 0.3s; }
.nav__logo:hover img { transform: rotate(15deg) scale(1.1); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-family: var(--font-display); font-size: 1rem;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--white); position: relative; padding: 0.3rem 0;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--blue); transition: width 0.3s;
}
.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after { width: 100%; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav__burger span { display: block; width: 28px; height: 3px; background: var(--white); border-radius: 2px; transition: 0.3s; }
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--black);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2.5rem;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.5rem; }
}

/* ============ PHOTO BG UTILITY ============ */
.photo-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.photo-bg__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
}
.photo-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(58, 160, 216, 0.7);
  mix-blend-mode: multiply;
}

/* Hero photo — zoom y posición para mostrar la banda */
.hero .photo-bg__img {
  transform: scale(1.4);
  object-position: center 15%;
  transform-origin: center 15%;
}

/* ============ HERO (full viewport) ============ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-height);
}
.hero__content { position: relative; z-index: 2; text-align: center; padding: 2rem; }
.hero__logo-wrapper { display: inline-block; animation: heroFloat 4s ease-in-out infinite; }
.hero__logo {
  max-width: 480px; width: 80vw;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4));
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  color: var(--white); margin: 1.5rem 0 2rem;
  letter-spacing: 2px; text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll-hint {
  position: absolute; bottom: 30px; z-index: 2;
  animation: bounce 2s infinite; font-size: 1.8rem; color: var(--white);
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px;
  padding: 0.8rem 1.8rem; border-radius: 6px;
  border: 2px solid transparent; cursor: pointer;
  transition: all 0.25s; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
}

/* Mostaza — primary */
.btn--primary { background: var(--mustard); color: var(--black); border-color: var(--mustard); box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
.btn--primary:hover { background: transparent; color: var(--mustard); border-color: var(--mustard); box-shadow: 4px 4px 0 rgba(212,160,23,0.3); }

/* Azul — plataformas */
.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: 4px 4px 0 rgba(0,0,0,0.2); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); box-shadow: 6px 6px 0 rgba(0,0,0,0.25); }

/* Outline blanco — sobre fondos oscuros/fotos */
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 rgba(255,255,255,0.15); }
.btn--outline:hover { background: var(--white); color: var(--black); box-shadow: 6px 6px 0 rgba(255,255,255,0.2); }

/* Outline light — sobre fondos oscuros (shows) → hover mostaza */
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: var(--mustard); color: var(--black); border-color: var(--mustard); }

/* Outline dark — sobre fondos blancos → hover mostaza */
.btn--outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline-dark:hover { background: var(--mustard); color: var(--black); border-color: var(--mustard); }

/* Ghost — estado deshabilitado */
.btn--ghost { background: transparent; color: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.15); cursor: default; }
.btn--ghost:hover { transform: none; }

.btn--small { padding: 0.5rem 1.2rem; font-size: 0.8rem; }

/* ============ TORN PAPER EDGE ============ */
.torn-edge {
  position: relative; z-index: 10; height: 40px; margin-top: -20px; margin-bottom: -20px;
}
.torn-edge--white {
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q30 5 60 18 T120 15 T180 20 T240 12 T300 18 T360 14 T420 20 T480 16 T540 19 T600 13 T660 20 T720 15 T780 18 T840 14 T900 20 T960 16 T1020 19 T1080 13 T1140 18 T1200 20 V40 H0 Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100%;
}

/* ============ CHECKERBOARD ============ */
.checkerboard {
  height: 16px; margin: 2rem auto; max-width: 200px;
  background-image: repeating-linear-gradient(90deg, var(--blue) 0px, var(--blue) 16px, transparent 16px, transparent 32px);
  background-size: 32px 16px;
}
.checkerboard--footer {
  max-width: none; margin: 0 0 2rem;
  background-image: repeating-linear-gradient(90deg, var(--white) 0px, var(--white) 16px, var(--black) 16px, var(--black) 32px);
}

/* ============ SECTION HEADINGS ============ */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase; text-align: center;
  letter-spacing: 3px; color: var(--white);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.section-heading--dark { color: var(--black); text-shadow: none; }

/* ============ PHOTO BANNERS (fixed height dividers) ============ */
.photo-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-banner__title {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-transform: uppercase; letter-spacing: 5px;
  color: var(--white);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  text-align: center;
}
@media (max-width: 768px) {
  .photo-banner { height: 200px; }
}

/* ============ CONTENT SECTIONS ============ */
.content-section { padding: 4rem 0; }
.content-section--white { background: var(--white); color: var(--black); }
.content-section--cream { background: var(--off-white); color: var(--black); }
.content-section--dark { background: var(--black); color: var(--white); }
.content-section--blue-deep { background: var(--blue-deep); color: var(--white); }

.section-subtitle-dark {
  text-align: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 2rem;
}
.section-subtitle-light {
  text-align: center; color: #666; font-size: 0.9rem; margin-bottom: 2rem;
}

/* ============ BANDA ============ */
.band-about {
  max-width: 800px; margin: 0 auto; text-align: center;
  font-family: var(--font-text);
  font-size: 1.05rem; line-height: 1.9; color: #333;
}
.band-about p { margin-bottom: 1rem; }
.band-about strong { color: var(--black); }

.band-members { text-align: center; }
.band-members__title {
  font-family: var(--font-display); font-size: 1.3rem;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.members-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2rem;
}
.members-list li {
  font-family: var(--font-display); font-size: 1rem;
  text-transform: uppercase; color: var(--black);
  display: flex; align-items: center; gap: 0.5rem;
}
.members-list li::before { content: '\2605'; color: var(--mustard); }

/* ============ MUSIC ============ */
.music__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}
.album-card {
  background: var(--off-white); border: 2px solid #ddd; border-radius: 12px;
  overflow: hidden; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.album-card:hover { transform: rotate(-1deg) translateY(-5px); box-shadow: 8px 8px 0 var(--blue); }
.album-card__sticker {
  position: absolute; top: 12px; right: -8px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-display); font-size: 0.85rem;
  padding: 0.3rem 1rem; transform: rotate(3deg); z-index: 2;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.album-card__sticker--hot { background: var(--red); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: rotate(3deg) scale(1); } 50% { transform: rotate(3deg) scale(1.1); } }
.album-card__cover {
  aspect-ratio: 1; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #e8e4dc; padding: 1.5rem;
}
.album-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.album-card:hover .album-card__img { transform: scale(1.05); }
.album-card__cover--mystery { background: linear-gradient(135deg, var(--blue-deep), var(--black)); }
.album-card__img--mystery { opacity: 0.3; filter: blur(2px); }
.album-card__question {
  position: absolute; font-family: var(--font-display); font-size: 6rem;
  color: var(--mustard); text-shadow: 4px 4px 0 rgba(0,0,0,0.5);
  animation: heroFloat 3s ease-in-out infinite;
}
.album-card__info { padding: 1.5rem; }
.album-card__info h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--black); margin-bottom: 0.3rem; }
.album-card__year { color: var(--blue); font-size: 0.8rem; margin-bottom: 0.8rem; font-family: var(--font-display); }
.album-card__desc { font-family: var(--font-text); font-size: 0.9rem; color: #555; margin-bottom: 1rem; line-height: 1.6; }
.album-card__links { display: flex; gap: 0.8rem; }

.music__platforms { text-align: center; padding-top: 2rem; border-top: 2px solid #eee; }
.music__platforms-title { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; margin-bottom: 1.5rem; color: var(--black); letter-spacing: 2px; }
.platforms-row { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.platform-link { color: var(--blue); transition: color 0.2s, transform 0.2s; }
.platform-link:hover { color: var(--blue-dark); transform: scale(1.2) rotate(-5deg); }

/* ============ SHOWS ============ */
.shows__list {
  max-width: 650px; margin: 0 auto 2rem; display: flex; flex-direction: column; gap: 1rem;
}
.show-card {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--black-light); border: 2px solid #2A2A2A;
  border-radius: 10px; padding: 1.2rem 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.show-card:hover { transform: translateX(5px); border-color: var(--mustard); }
.show-card--next { border-color: var(--mustard); background: rgba(212,160,23,0.08); }
.show-card__badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--mustard); color: var(--black);
  font-family: var(--font-display); font-size: 0.75rem;
  padding: 0.2rem 0.6rem; border-radius: 3px;
}
.show-card__date { text-align: center; min-width: 60px; }
.show-card__month { display: block; font-family: var(--font-display); font-size: 0.75rem; text-transform: uppercase; color: var(--mustard); letter-spacing: 2px; }
.show-card__day { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--white); line-height: 1; }
.show-card__info { flex: 1; }
.show-card__venue { font-family: var(--font-display); font-size: 1rem; color: var(--white); }
.show-card__city { font-family: var(--font-text); font-size: 0.85rem; color: var(--gray); }
.shows__cta-text { font-family: var(--font-text); text-align: center; margin-bottom: 1rem; color: var(--gray); font-size: 1rem; }
.shows__cta-btn { display: block; width: fit-content; margin: 0 auto; }

/* ============ MERCH ============ */
.merch__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem; margin-bottom: 1.5rem;
}
.merch-card {
  background: var(--white); border: 2px solid #eee; border-radius: 12px;
  overflow: hidden; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.merch-card:hover { transform: translateY(-6px) rotate(1deg); box-shadow: 6px 6px 0 var(--blue); }
.merch-card__tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: 0.75rem;
  padding: 0.2rem 0.6rem; border-radius: 3px; z-index: 2;
}
.merch-card__img {
  background: var(--off-white); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0.5rem;
}
.merch-card__img img { max-height: 100%; object-fit: contain; transition: transform 0.4s; }
.merch-card:hover .merch-card__img img { transform: scale(1.08); }
.merch-card__info { padding: 0.8rem 1rem; }
.merch-card__info h3 { font-family: var(--font-display); font-size: 0.9rem; color: var(--black); margin-bottom: 0.2rem; }
.merch-card__price { font-family: var(--font-display); font-size: 1.1rem; color: var(--mustard); }
.merch__note { font-family: var(--font-text); text-align: center; color: #666; font-size: 0.9rem; font-style: italic; }

/* ============ NEWSLETTER ============ */
.newsletter__box {
  max-width: 550px; margin: 0 auto; text-align: center;
  background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.15);
  border-radius: 16px; padding: 3rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.newsletter__icon { width: 60px; margin: 0 auto 1rem; animation: heroFloat 3s ease-in-out infinite; filter: brightness(10); }
.newsletter__box p { font-family: var(--font-text); font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.newsletter__form { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.newsletter__input {
  flex: 1; min-width: 200px; padding: 0.8rem 1rem;
  border: 2px solid rgba(255,255,255,0.2); border-radius: 6px;
  background: rgba(255,255,255,0.1); color: var(--white);
  font-family: var(--font-body); font-size: 0.85rem;
  outline: none; transition: border-color 0.3s;
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter__input:focus { border-color: var(--mustard); background: rgba(255,255,255,0.15); }

/* ============ CONTACT ============ */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  max-width: 700px; margin: 1rem auto 0;
}
.contact__label { font-family: var(--font-display); text-transform: uppercase; font-size: 0.95rem; color: var(--mustard); margin-bottom: 0.5rem; }
.contact__info p { font-family: var(--font-text); margin-bottom: 0.4rem; font-size: 0.95rem; color: var(--white); }
.contact__info a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; }
.contact__info a:hover { color: var(--mustard); }
.contact__social { color: var(--white); }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-link { color: var(--white); transition: color 0.2s, transform 0.3s; display: inline-block; }
.social-link:hover { color: var(--mustard); transform: scale(1.2) rotate(-8deg); }

@media (max-width: 600px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .social-links { justify-content: center; }
}

/* ============ FOOTER ============ */
.footer { background: var(--black); padding: 2rem 0 1.5rem; color: var(--white); }
.footer__inner { text-align: center; }
.footer__logo { margin: 0 auto 1rem; opacity: 0.5; transition: opacity 0.3s, transform 0.3s; }
.footer__logo:hover { opacity: 1; transform: rotate(20deg); }
.footer__copy { font-size: 0.75rem; color: var(--gray); margin-bottom: 0.3rem; }
.footer__credits { font-size: 0.75rem; color: #555; margin-bottom: 0.5rem; }
.footer__credits a { color: var(--mustard); text-decoration: none; }
.footer__credits a:hover { color: var(--mustard-bright); text-decoration: underline; }
.footer__easter { font-size: 0.7rem; color: #666; transition: color 1s; }
.footer__easter:hover { color: var(--mustard); }

/* ============ ACCESSIBILITY ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-dark); }
