/* =============================================
   Aurora Dance Group — Main Stylesheet
   Vanilla CSS · Gochi Hand headings · Nunito body · Responsive
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Gochi+Hand&family=Nunito:wght@400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple:           #c084fc;
  --navy:             #0f1729;
  --white:            #ffffff;
  --light:            #f5f7fa;
  --text:             #111827;
  --muted:            #6b7280;
  --border:           #e5e7eb;
  --radius:           8px;
  --pill:             50px;
  --max:              1280px;

  /* brand identity — derived from logo */
  --cyan:             #1CD8F5;
  --blue:             #5B78F5;
  --violet:           #9B65F5;
  --gradient-brand:   linear-gradient(135deg, #1CD8F5 0%, #5B78F5 50%, #9B65F5 100%);
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* =============================================
   TYPOGRAPHY — Gochi Hand for display text
   ============================================= */

h1, h2, h3,
.display {
  font-family: 'Gochi Hand', cursive;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.35rem); }

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */

.container {
  max-width: var(--max);
  margin: 0 auto;
}

section {
  padding: 5rem 2.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child  { order: 1; }

.two-text-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.two-text-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.two-text-col p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  padding: 0.65rem 1.85rem;
  border-radius: var(--pill);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.82; }

.btn-dark    { background: var(--text); color: var(--white); }
.btn-outline { background: transparent; border: 1.5px solid var(--text); color: var(--text); }
.btn-blue    { background: var(--blue); color: var(--white); }
.btn-primary { background: var(--gradient-brand); color: var(--white); }
.btn-primary:hover { opacity: 0.88; }

/* =============================================
   HEADER
   ============================================= */

.site-header {
  background: var(--gradient-brand);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 114px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-link img {
  height: 110px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: opacity 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-socials a {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-socials a:hover { opacity: 0.6; }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--white);
}

/* =============================================
   LANGUAGE POPUP + TOGGLE BUTTON
   ============================================= */

#subscribe-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

#subscribe-popup .lang-popup-box {
  max-height: 90vh;
  overflow-y: auto;
}

.lang-popup-box { position: relative; }

#lang-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-popup-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 340px;
  width: 90%;
}

.lang-popup-box h2 {
  margin-bottom: 0.35rem;
}

.lang-popup-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.lang-popup-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.lang-btn {
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  flex-shrink: 0;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  padding: 3.5rem 2.5rem 2.5rem;
}

.footer-brand h3 {
  font-family: 'Gochi Hand', cursive;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.footer-brand > p {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-socials a {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.footer-socials a:hover { opacity: 0.65; }

.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 2;
  color: #cbd5e1;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  border-top: 1px solid #1e2d4a;
  font-size: 0.8rem;
  color: #64748b;
}

/* =============================================
   HERO — Autoplay Video
   ============================================= */

.hero {
  padding: 0;
  background: #111 url('https://img.youtube.com/vi/agfpF3_nm3Y/maxresdefault.jpg') center/cover no-repeat;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero iframe {
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16/9;
  min-height: 500px;
  border: none;
  display: block;
  margin: 0 auto;
}

/* =============================================
   HERO IMAGE (non-video pages)
   ============================================= */

.hero-img {
  padding: 0;
  line-height: 0;
}

.hero-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: top;
}

/* =============================================
   SERVICE CARDS (3-up grid)
   ============================================= */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.card-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}
.card-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  pointer-events: none;
}

.card h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* =============================================
   PHOTO GALLERIES
   ============================================= */

.photo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0;
}

.photo-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-grid-2 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-grid-3x2 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.full-band {
  padding: 0;
  line-height: 0;
}

.full-band img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

/* =============================================
   VIDEO THUMBNAILS (gallery page)
   ============================================= */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.video-thumb {
  border-radius: var(--radius);
  overflow: hidden;
}

/* =============================================
   STATS BOX
   ============================================= */

.stats-box {
  display: flex;
  gap: 3rem;
  background: rgba(15, 25, 55, 0.85);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  width: fit-content;
}

.stat-num {
  font-family: 'Gochi Hand', cursive;
  font-size: 2.25rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* =============================================
   TESTIMONIAL OVERLAY
   ============================================= */

.img-testimonial {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.img-testimonial img {
  width: 100%;
  display: block;
}

.testimonial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.quote-mark {
  font-size: 1.6rem;
  color: #9ca3af;
  line-height: 1;
  flex-shrink: 0;
}

.testimonial-overlay blockquote {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text);
}

.testimonial-overlay cite {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: normal;
  display: block;
  margin-top: 0.2rem;
}

/* =============================================
   CONTACT FORM
   ============================================= */

.contact-form {
  background: #eef2f7;
  padding: 2.25rem;
  border-radius: var(--radius);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.form-field textarea {
  height: 120px;
  resize: vertical;
}

.form-field .required {
  color: #e53e3e;
}

/* =============================================
   SERVICE CARDS (Hire page — 3-col)
   ============================================= */

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.service-card h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  section { padding: 3.5rem 1.5rem; }

  .header-inner { padding: 0 1.5rem; }

  .two-col,
  .two-text-col,
  .cards-3,
  .service-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-col.reverse > *:first-child { order: unset; }
  .two-col.reverse > *:last-child  { order: unset; }

  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .photo-grid-3x2 { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero { min-height: 0; }
  .hero iframe { max-height: 300px; height: 300px; }

  .hero-img img { max-height: 320px; }
  .full-band img { max-height: 300px; }
}

@media (max-width: 960px) {
  /* Show hamburger, hide nav links */
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--gradient-brand);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 1.5rem 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 640px) {
  .photo-row { grid-template-columns: 1fr; }
  .photo-grid-2 { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }

  .stats-box { gap: 2rem; }

  .footer-inner { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-bottom { padding: 1rem 1.5rem; }
}
