/* ==============================================
   ARASAN ARENA - Global CSS
   Design System: Colors, Typography, Utilities
   ============================================== */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800;900&family=Work+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --gold:        #F4C300;
  --gold-dark:   #C8A000;
  --red:         #C8102E;
  --red-dark:    #9B0C23;

  /* Page Themes */
  --turf-green:       #1F7A3D;
  --turf-green-dark:  #155c2d;
  --turf-green-glow:  rgba(31,122,61,0.25);

  --teal:             #008C8C;
  --teal-dark:        #006666;
  --teal-glow:        rgba(0,140,140,0.25);

  --maroon:           #6A1B2E;
  --maroon-dark:      #4A0E1C;
  --maroon-glow:      rgba(106,27,46,0.35);

  /* Neutrals */
  --black:        #0a0a0a;
  --dark:         #1a1a1a;
  --dark-panel:   #212121;
  --dark-card:    #2a2a2a;
  --charcoal:     #333333;
  --muted:        #888888;
  --light:        #f8f8f8;
  --white:        #ffffff;

  /* Typography */
  --font-head: 'Lexend', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Fluid font sizes */
  --fs-display:  clamp(2rem, 5vw, 3.5rem);
  --fs-h1:       clamp(1.75rem, 4vw, 3rem);
  --fs-h2:       clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3:       clamp(1.125rem, 2vw, 1.5rem);
  --fs-body-lg:  clamp(1rem, 1.5vw, 1.125rem);
  --fs-body:     1rem;
  --fs-sm:       0.875rem;
  --fs-xs:       0.75rem;

  /* Spacing */
  --section-gap: clamp(60px, 8vw, 100px);
  --container:   1280px;
  --gutter:      clamp(16px, 4vw, 48px);

  /* Shadows */
  --shadow-sm:   0 4px 6px rgba(0,0,0,0.08);
  --shadow-md:   0 10px 30px rgba(0,0,0,0.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.15);
  --shadow-xl:   0 30px 80px rgba(0,0,0,0.2);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:      0.15s var(--ease);
  --t-base:      0.3s var(--ease);
  --t-slow:      0.5s var(--ease);

  /* Border radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 9999px;

  /* Navbar */
  --nav-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; }
.text-display  { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.text-h1       { font-size: var(--fs-h1); font-weight: 700; }
.text-h2       { font-size: var(--fs-h2); font-weight: 700; }
.text-h3       { font-size: var(--fs-h3); font-weight: 600; }
.text-body-lg  { font-size: var(--fs-body-lg); }
.text-body     { font-size: var(--fs-body); }
.text-sm       { font-size: var(--fs-sm); }
.text-xs       { font-size: var(--fs-xs); }
.text-caps     { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: var(--section-gap) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

.btn-gold     { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 30px rgba(244,195,0,0.4); }

.btn-red      { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 8px 30px rgba(200,16,46,0.4); }

.btn-green    { background: var(--turf-green); color: var(--white); }
.btn-green:hover { background: var(--turf-green-dark); box-shadow: 0 8px 30px var(--turf-green-glow); }

.btn-teal     { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 8px 30px var(--teal-glow); }

.btn-maroon   { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-dark); box-shadow: 0 8px 30px var(--maroon-glow); }

.btn-dark     { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--gold); color: var(--dark); }

.btn-outline  { background: transparent; border: 2px solid currentColor; }
.btn-glass    { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,0.2); }
.btn-pill     { border-radius: var(--r-full); }

/* Hero buttons: glass default → gold on hover */
.hero-btn-hov { transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important; }
.hero-btn-hov:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--dark) !important;
  box-shadow: 0 8px 30px rgba(244,195,0,0.45) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.section-header .underline-bar {
  width: 64px; height: 4px; border-radius: 2px;
  margin: 16px auto 0;
}
.underline-gold   { background: var(--gold); }
.underline-green  { background: var(--turf-green); }
.underline-teal   { background: var(--teal); }
.underline-maroon { background: var(--maroon); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-muted  { color: var(--muted); }
.text-gold   { color: var(--gold); }
.text-green  { color: var(--turf-green); }
.text-teal   { color: var(--teal); }
.text-maroon { color: var(--maroon); }

.bg-dark     { background: var(--dark); }
.bg-black    { background: var(--black); }
.bg-light    { background: var(--light); }
.bg-white    { background: var(--white); }

.d-flex      { display: flex; }
.align-center { align-items: center; }
.gap-8       { gap: 8px; }
.gap-16      { gap: 16px; }
.gap-24      { gap: 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Badge / Tag ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.badge-gold   { background: rgba(244,195,0,0.15);  color: var(--gold); }
.badge-green  { background: rgba(31,122,61,0.15);   color: var(--turf-green); }
.badge-teal   { background: rgba(0,140,140,0.15);   color: var(--teal); }
.badge-maroon { background: rgba(106,27,46,0.15);   color: var(--maroon); }

/* ---- WhatsApp FAB ---- */
.fab-whatsapp {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--dark); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-base), background var(--t-base);
}
.fab-whatsapp:hover { transform: scale(1.12); background: var(--gold); color: var(--dark); }
.fab-whatsapp .fab-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(244,195,0,0.3);
  animation: fab-pulse 2s ease-in-out infinite;
}
@keyframes fab-pulse { 0%,100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.2); opacity: 0; } }

/* ---- Status Badges ---- */
.status-pending  { background: rgba(244,195,0,0.15); color: #b8900a; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.status-approved { background: rgba(31,122,61,0.15);  color: var(--turf-green); padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.status-rejected { background: rgba(200,16,46,0.15);  color: var(--red); padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
