/* ============================================================
   Eugene Bachata Dance — stylesheet
   Palette: espresso bg / cream text / coral accent / gold CTA
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --espresso:   #1A0A00;
  --espresso-2: #2C1400;
  --espresso-3: #3D1E00;
  --cream:      #F7F0E6;
  --cream-dim:  #C8BFB0;
  --coral:      #E8435A;
  --coral-dark: #C4304A;
  --gold:       #D4A853;
  --gold-dark:  #B88C3A;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --section-pad: 5rem 1.5rem;
  --radius: 8px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-dark); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography helpers ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--cream-dim);
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-note {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--coral);
  background: rgba(232, 67, 90, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--cream-dim);
}
.section-note strong { color: var(--cream); }

.inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover { color: var(--gold-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 67, 90, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 240, 230, 0.4);
}
.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--white);
  background: rgba(247, 240, 230, 0.08);
}

.btn-full { width: 100%; }

/* ── NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 10, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 240, 230, 0.08);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--coral); }
.nav-logo:hover { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  color: var(--white);
  background: var(--coral);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--coral-dark); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(232, 67, 90, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
    var(--espresso);
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-dim);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Signature element: rhythmic pulse bars */
.hero-pulse {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 1.5rem;
  pointer-events: none;
}

.pulse-bar {
  flex: 1;
  max-width: 60px;
  background: linear-gradient(to top, var(--coral), transparent);
  border-radius: 3px 3px 0 0;
  opacity: 0.35;
  animation: pulse-dance 2.4s ease-in-out infinite;
}

.pulse-bar:nth-child(1) { animation-delay: 0s;     animation-duration: 2.1s; }
.pulse-bar:nth-child(2) { animation-delay: 0.3s;   animation-duration: 1.8s; }
.pulse-bar:nth-child(3) { animation-delay: 0.6s;   animation-duration: 2.4s; }
.pulse-bar:nth-child(4) { animation-delay: 0.1s;   animation-duration: 2.0s; }
.pulse-bar:nth-child(5) { animation-delay: 0.9s;   animation-duration: 1.9s; }
.pulse-bar:nth-child(6) { animation-delay: 0.45s;  animation-duration: 2.2s; }
.pulse-bar:nth-child(7) { animation-delay: 0.75s;  animation-duration: 2.5s; }
.pulse-bar:nth-child(8) { animation-delay: 0.2s;   animation-duration: 1.7s; }

@keyframes pulse-dance {
  0%, 100% { height: 12px; opacity: 0.2; }
  50%       { height: 72px; opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-bar { animation: none; height: 20px; }
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--espresso-2);
  padding: var(--section-pad);
  border-top: 1px solid rgba(247,240,230,0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--cream-dim);
  margin-bottom: 1rem;
}
.about-text strong { color: var(--cream); }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 160px;
}

.stat {
  text-align: center;
  padding: 1.2rem;
  border: 1px solid rgba(247,240,230,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  margin-top: 0.3rem;
}

/* ── SECTION VARIANTS ── */
.section-dark  { padding: var(--section-pad); background: var(--espresso); }
.section-light { padding: var(--section-pad); background: var(--espresso-2); }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--espresso-2);
  border: 1px solid rgba(247,240,230,0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(232, 67, 90, 0.4);
  transform: translateY(-3px);
}

.card-accent {
  border-color: var(--coral);
  background: linear-gradient(145deg, rgba(232,67,90,0.08), var(--espresso-2));
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--cream-dim);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.card-list {
  margin-bottom: 1.75rem;
}
.card-list li {
  font-size: 0.9rem;
  color: var(--cream-dim);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.card-pricing { border-top: 1px solid rgba(247,240,230,0.1); padding-top: 1.25rem; }

.price-option { margin-bottom: 0.6rem; }

.price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.price-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-top: 0.15rem;
}
.price-desc em { font-style: normal; opacity: 0.75; }

/* ── EVENTS ── */
.events-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.event-type {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(247,240,230,0.08);
  transition: border-color var(--transition);
}
.event-type:hover { border-color: rgba(212,168,83,0.4); }

.event-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.event-type h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.event-type p { font-size: 0.9rem; color: var(--cream-dim); }

.events-cta-box {
  padding: 2rem;
  border-radius: 12px;
  background: rgba(212,168,83,0.08);
  border: 1px solid rgba(212,168,83,0.25);
  text-align: center;
}
.events-cta-box p {
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}
.events-contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PERFORMANCE ── */
.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.performance-text h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}
.performance-text h3:first-child { margin-top: 0; }
.performance-text p {
  color: var(--cream-dim);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.festival-list li {
  padding: 0.35rem 0;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.performance-videos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--espresso-3);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── CONTACT ── */
.section-contact {
  padding: var(--section-pad);
  background: var(--espresso-3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.contact-info p {
  color: var(--cream-dim);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.contact-info strong { color: var(--cream); }
.contact-info a { color: var(--gold); }
.contact-info a:hover { color: var(--gold-dark); }

.contact-reasons h4 {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}
.contact-reasons li {
  font-size: 0.9rem;
  color: var(--cream-dim);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.contact-reasons li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral);
}

/* ── FORM ── */
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream-dim);
  margin-bottom: 0.4rem;
}
.form-group label span { color: var(--coral); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(247,240,230,0.15);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(247,240,230,0.3); }

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8BFB0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--espresso-2); color: var(--cream); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  background: rgba(255,255,255,0.09);
}

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

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--coral);
  padding: 0;
}
.form-check label {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin: 0;
  cursor: pointer;
}

.form-note {
  font-size: 0.8rem;
  color: var(--cream-dim);
  opacity: 0.65;
  margin-top: 0.75rem;
  text-align: center;
}

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(46, 160, 67, 0.15);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #6bcf7f;
  font-size: 0.95rem;
  text-align: center;
}

.form-error {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(232, 67, 90, 0.12);
  border: 1px solid rgba(232, 67, 90, 0.4);
  color: var(--coral);
  font-size: 0.95rem;
  text-align: center;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--espresso);
  border-top: 1px solid rgba(247,240,230,0.08);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-top: 0.2rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--cream-dim);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(247,240,230,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid         { grid-template-columns: 1fr; }
  .about-stats        { flex-direction: row; gap: 1rem; }
  .performance-grid   { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute;
    top: 64px; left: 0; right: 0; background: rgba(26,10,0,0.98);
    padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid rgba(247,240,230,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; font-size: 1rem; border-bottom: 1px solid rgba(247,240,230,0.07); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta { margin-top: 0.5rem; border-radius: var(--radius); padding: 0.7rem 1rem; }
  .nav-toggle { display: flex; }

  .hero-headline { font-size: 2.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; }
  .events-contact { flex-direction: column; align-items: center; }
}
