/* Reset & Base */
:root {
  --bg: #050505;
  --card: #12121A; /* Fallback */
  --text: #ffffff;
  --muted: #B5B5C0;
  --accent: #FF3B30; /* More vibrant red/orange like Akamba/Festivals */
  --radius: 24px;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body { 
  margin: 0; 
  font-family: var(--font-body); 
  background: var(--bg); 
  color: var(--text); 
  line-height: 1.6; 
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

#root { 
  max-width: 1100px; /* Wider container */
  margin: 0 auto; 
  padding: 0 0 40px; /* No top padding, hero handles it */
  display: flex; /* Flex column for better spacing control than grid gap */
  flex-direction: column;
  gap: 60px; /* Huge premium spacing */
}

/* Animations */
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Utilities & Components */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* Override Card to use Glass by default if needed, or keep separate */
.card {
  background: #12121A; /* Solid fallback */
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 99px; /* Pill shape */
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb, 255, 59, 48), 0.4);
}
.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.badge { 
  display: inline-block; 
  padding: 8px 16px; 
  border-radius: 99px; 
  background: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(4px);
  font-weight: 700; 
  font-size: 11px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
}

.heroimg { width: 100%; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Typography Overrides */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 16px; }

h1 { 
  font-weight: 900; 
  font-size: clamp(40px, 8vw, 84px); 
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
h2 { 
  font-weight: 800; 
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -0.02em;
}
h3 { 
  font-weight: 700; 
  font-size: 22px; 
}

p { margin: 0 0 20px; font-size: 17px; opacity: 0.9; }
p:last-child { margin-bottom: 0; }

/* Grids & Layouts */
.grid3 { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 24px; 
}

.tile { 
  /* Now using glass style via JS or here? Let's default .tile to glass */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px; 
  padding: 32px 24px; 
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}
.tile:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}
.tile h3 { font-size: 18px; margin-bottom: 12px; }
.tile p { font-size: 15px; color: var(--muted); }

.carousel-container::-webkit-scrollbar { display: none; } 

@media (max-width: 768px) { 
  .grid3 { grid-template-columns: 1fr; } 
  #root { padding: 0 16px 40px; gap: 40px; }
  .row.reverse-mobile { flex-direction: column-reverse; }
}

/* Netlify Identity Script */
script[src*="netlify-identity"] { display: none; }
