:root {
  --navy: #082B72;
  --red: #D71920;
  --gold: #D4AF37;
  --white: #ffffff;
  --dark: #111827;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  background: var(--white);
}

.navbar {
  background: rgba(8, 43, 114, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-brand, .nav-link { color: var(--white) !important; }
.nav-link:hover { color: var(--gold) !important; }

.hero-section {
  min-height: 100vh;
  background: linear-gradient(25deg, rgba(23, 75, 179, 0.92), rgba(215,25,32,0.82)), url('../img/beauty2.jpg') center/cover;
  display: flex;
  align-items: center;
  padding-top: 90px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .3rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-section h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
}

.hero-section h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: #f8f8f8;
  margin-top: 1rem;
}

.hero-card {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
}

.countdown {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.countdown > div {
  background: rgba(255,255,255,0.16);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  min-width: 90px;
  text-align: center;
  color: var(--white);
}

.countdown span {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
}

.feature-card, .country-card, .speaker-card, .timeline-card, .ticket-card, .sponsor-card, .contact-form, .thank-card {
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.feature-card:hover, .speaker-card:hover, .ticket-card:hover, .sponsor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.feature-card i {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--navy), #2148a2);
  color: var(--white);
  border-radius: 20px;
  padding: 2rem 1rem;
}

.stat-card h3 {
  font-size: 2.8rem;
  color: var(--gold);
}

.country-card {
  background: #f8f9fc;
}

.flag-icon {
  font-size: 2.5rem;
}

.speaker-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.timeline-card ul { list-style: none; padding: 0; margin: 0; }
.timeline-card li { display: flex; gap: 1rem; margin-bottom: 1rem; }
.timeline-card li span { color: var(--red); font-weight: 700; min-width: 70px; }

.ticket-card.gold { background: linear-gradient(135deg, #f7e6a7, #d4af37); color: #3b2a01; }
.ticket-card.silver { background: linear-gradient(135deg, #f3f4f6, #c0c0c0); color: #1f2937; }
.ticket-card.blue { background: linear-gradient(135deg, #dceeff, #082B72); color: var(--white); }
.ticket-card ul { padding-left: 1rem; }

.reservation-banner {
  background: linear-gradient(90deg, var(--navy), var(--red));
  color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
}

.reservation-banner span { color: var(--gold); font-size: 2rem; font-weight: 700; }

.footer {
  background: #07163b;
  color: var(--white);
}

.footer a { color: #dce9ff; text-decoration: none; }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 1000;
}

.auth-page, .thanks-page {
  min-height: 100vh;
  padding-top: 100px;
  background: linear-gradient(135deg, #f5f7ff, #eef3ff);
}

@media (max-width: 768px) {
  .hero-section { padding-top: 90px; min-height: 60vh; }
  .hero-section .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-section h2 { font-size: 1rem; }
  .hero-card { padding: 1rem; border-radius: 18px; }
  .hero-card h3 { font-size: 1.1rem; }
  .hero-card p { font-size: 0.95rem; }
  .countdown { justify-content: center; gap: .6rem; }
  .countdown > div { min-width: 62px; padding: .6rem .8rem; }
  .countdown span { font-size: 1.3rem; }

  /* Forms and buttons touch targets */
  form input.form-control, form select.form-select, .contact-form input.form-control { font-size: 1rem; padding: .72rem .75rem; }
  .hero-section .btn { width: 100%; }
  .hero-actions { flex-direction: column; gap: .75rem; }

  /* Images and cards */
  .speaker-card img { height: auto; aspect-ratio: 1 / 1; }
  .ticket-card { padding: 1rem; }
  .reservation-banner { padding: 1rem; }

  /* Map iframe responsive height */
  iframe { height: 220px !important; }

  /* Footer and social */
  .social-links a { width: 36px; height: 36px; font-size: 0.9rem; }

  /* WhatsApp float smaller on phones */
  .whatsapp-float { right: 16px; bottom: 16px; width: 48px; height: 48px; font-size: 1.3rem; }
}
