/* =========================
   Color palette
========================= */
:root {
  --black: #111;
  --white: #fff;
  --gold: #d4af37;
}

/* =========================
   Base
========================= */
html { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  min-height: 100%;
}

.no-scroll { overflow: hidden; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section { scroll-margin-top: 100px; } /* prevent fixed header overlap */

/* =========================
   Navbar
========================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(env(safe-area-inset-top) + 0.75rem);
}

.site-header.scrolled {
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0;
  padding-top: calc(env(safe-area-inset-top) + 0.4rem);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  width: 100%;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 50%; }

.logo-link,
.mobile-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 120px;
  transition: height 0.3s ease;
}

.site-header.scrolled .logo { height: 90px; }

/* Utility to ensure only one menu shows per device */
.desktop-only { display: flex; }
.mobile-only  { display: none; }

/* =========================
   Hero
========================= */
.hero {
  background: url('https://preview.redd.it/lionel-messi-lifiting-the-2022-fifa-world-cup-trophy-v0-6ib1hrf1bu6a1.jpg?auto=webp&s=ddcfcc884866f2c16d2cb14762f00a439ac4ee87')
    no-repeat center center / cover;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.3), rgba(0,0,0,0));
  text-align: center;
}

/* Spotlight behind banner for focus */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 50%, rgba(0,0,0,0.35), transparent 60%);
  mix-blend-mode: normal;
}

/* Glass Pro banner (shared desktop & mobile) */
.hero-banner {
  position: relative;
  width: min(92%, 720px);
  margin: 0 auto;
  background: rgba(10, 10, 10, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(14px) saturate(120%) contrast(105%);
  -webkit-backdrop-filter: blur(14px) saturate(120%) contrast(105%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 48px rgba(0,0,0,0.45);
  text-align: center;
  animation: heroRise 420ms cubic-bezier(.2,.7,.2,1) both;
}

.hero-banner::before {
  /* Gold hairline accent */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, rgba(212,175,55,0) 0%, var(--gold) 45%, var(--gold) 55%, rgba(212,175,55,0) 100%);
  border-radius: 2px;
}

/* Eyebrow (small label above H1) */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Typography */
.hero-banner h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.2vw + 0.6rem, 2.1rem);
  line-height: 1.18;
  color: var(--white);
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.hero-banner p {
  margin: 0 auto;
  color: #ececec;
  font-size: clamp(.98rem, 1vw + .6rem, 1.08rem);
  line-height: 1.55;
  max-width: 60ch; /* tidy line length */
}

/* Actions row (buttons under text) */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.05rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  min-width: 180px;
  text-align: center;
  padding: 1rem 2.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: all 0.3s ease;
  touch-action: manipulation;
}
.btn:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}
.btn:active { transform: translateY(-1px) scale(0.99); }

/* Button variants */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* =========================
   Events
========================= */
.events {
  padding: 4rem 0;
  text-align: center;
  background: #f9f9f9;
  margin-top: -20vh;
  position: relative;
  z-index: 5;
  border-radius: 20px 20px 0 0;
}

.event-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Event Cards */
.event-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
  text-decoration: none;
  color: inherit;
}
.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.event-card:hover img { transform: scale(1.05); }

/* Overlay stays at bottom */
.event-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  z-index: 2;
}
.event-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.event-card p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* =========================
   Testimonials
========================= */
.testimonials {
  padding: 5rem 1rem;
  background: #f9f9f9;
  text-align: center;
}
.testimonial-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  font-style: italic;
}
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial p { font-size: 1.1rem; }
.testimonial small { font-size: 0.85rem; color: #666; }

/* =========================
   Categories
========================= */
.categories {
  padding: 4rem 0;
  text-align: center;
  background: var(--black);
  color: var(--white);
}
.category-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
  display: block;
  text-decoration: none;
  color: var(--white);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
/* Dark overlay */
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0);
  transition: background 0.4s ease;
  z-index: 1;
}
/* Category text (hidden by default, above overlay) */
.category-card h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: all 0.4s ease;
  text-shadow: 0 3px 10px rgba(0,0,0,0.8);
  z-index: 2;
}
/* Hover effects */
.category-card:hover img { transform: scale(1.15); }
.category-card:hover::after { background: rgba(0,0,0,0.3); }
.category-card:hover h3 { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* =========================
   Contact
========================= */
.contact {
  padding: 4rem 0;
  background: #f9f9f9;
  text-align: center;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact input,
.contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
}
.contact .hp { display: none !important; }

.form-status {
  max-width: 600px;
  margin: 0.5rem auto 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.form-status.success { background: #e8f6ee; color: #0a7a3c; border: 1px solid #bfe8cf; }
.form-status.error   { background: #fdecec; color: #b00020; border: 1px solid #f7b9b9; }
.form-status.info    { background: #eef4ff; color: #1e4bb8; border: 1px solid #c7d7ff; }

.mailto-fallback { margin-top: 0.5rem; color: #666; }

/* =========================
   Footer
========================= */
.site-footer {
  background: #0d0d0d;
  color: var(--white);
  margin-top: 3rem;
  padding-top: 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-logo {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p { color: #bbb; margin: 0.25rem 0 0; }
.footer-links h4,
.footer-contact h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin: 0.35rem 0; }
.footer-links a { color: #ddd; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-contact .mailto {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #ddd;
  text-decoration: none;
}
.footer-contact .mailto:hover { color: var(--gold); }

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #0a1f0f;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.whatsapp-btn .wa-icon { display: inline-flex; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  text-align: center;
  padding: 1rem 0;
  color: #aaa;
  font-size: 0.95rem;
}

/* =========================
   Mobile Nav (hidden on desktop)
========================= */
.nav-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: 1100;
  border-radius: 8px;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1090;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 80vw; max-width: 340px;
  background: rgba(17, 17, 17, 0.98);
  box-shadow: 4px 0 20px rgba(0,0,0,0.4);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  z-index: 1105;
  padding-top: 80px; /* space for header */
}

.nav-drawer-list {
  list-style: none;
  padding: 0 1.25rem 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nav-drawer-list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.nav-drawer-list a:hover { color: var(--gold); }

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
  .main-nav { justify-content: space-between; }
  .logo { height: 80px; }
}

@media (max-width: 768px) {
  /* Tight mobile canvas + safe areas */
  .container { width: 94%; }
  .hero {
    background-attachment: scroll;
    background-position: center top;
    min-height: 100svh; /* snug to device */
  }

  /* Mobile permanent dark navbar */
  .site-header {
    background: rgba(17, 17, 17, 0.95);
    padding: 0.6rem 1rem;
    padding-top: calc(env(safe-area-inset-top) + 0.6rem);
    justify-content: center;
  }

  .main-nav { justify-content: space-between; align-items: center; gap: 0; }

  /* Show mobile top bar, hide desktop nav */
  .desktop-only { display: none !important; }
  .mobile-only  { display: block !important; }

  .nav-toggle { display: block; }
  .mobile-logo-link { display: block; margin-left: auto; }
  .logo { height: 70px; }

  /* Drawer & backdrop active states */
  .main-nav.open .nav-backdrop { display: block; opacity: 1; }
  .main-nav.open .nav-drawer   { display: block; transform: translateX(0); }

  /* Hide hero buttons on mobile (keep elegant text only) */
  .hero-actions { display: none; }

  /* Sections tighter on mobile */
  .events { padding: 2.5rem 0; margin-top: 0; border-radius: 16px 16px 0 0; }
  .testimonial-grid, .category-grid { gap: 1.25rem; }
  .event-grid { gap: 1.25rem; }
  .category-card { height: 180px; }

  /* Footer grid to single column on mobile */
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links, .footer-contact { align-items: center; }
  .footer-links ul { display: inline-block; text-align: left; }
  .footer-logo { margin: 0 auto 0.5rem; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.5rem; }
  .event-card h3 { font-size: 1rem; }
  .event-card p  { font-size: 0.8rem; }
  .testimonial p { font-size: 1rem; }

  /* Slightly adjust banner for tiny screens */
  .hero-banner { width: 86%; max-width: 360px; padding: .9rem 1rem; border-radius: 12px; }
  .hero-banner h1 { font-size: 1.22rem; }
  .hero-banner p  { font-size: .98rem; }
}

/* Motion respect + entrance */
@media (prefers-reduced-motion: reduce) {
  .hero-banner { animation: none; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(8px) scale(.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
