/* ==========================================================================
   Merkez Tenis Kulübü - Wimbledon & Country Club Luxury Design System
   Aesthetic: Deep Emerald Forest (#064e3b), Pure Slate White, Champagne Trophy Gold (#d97706)
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Wimbledon & Country Club Palette */
  --emerald-dark: #022c22;
  --emerald-main: #064e3b;
  --emerald-court: #047857;
  --emerald-light: rgba(4, 120, 87, 0.1);
  --emerald-glow: rgba(4, 120, 87, 0.35);

  --trophy-gold: #d97706;
  --trophy-amber: #f59e0b;
  --trophy-gold-light: rgba(217, 119, 6, 0.12);

  --clay-primary: #c85028;
  --clay-light: rgba(200, 80, 40, 0.15);

  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-emerald: rgba(4, 120, 87, 0.3);
  --border-gold: rgba(217, 119, 6, 0.3);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #f8fafc;
  color: var(--text-dark);
}

::selection {
  background-color: #047857;
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* --- Glassmorphic & Surface Containers --- */
.glass-emerald-dark {
  background: rgba(2, 44, 34, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-card-luxe {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-luxe:hover {
  border-color: rgba(4, 120, 87, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(4, 120, 87, 0.12);
}

/* --- Gradient Texts --- */
.text-gradient-emerald {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Radar Pulse Animation */
@keyframes radar-pulse-emerald {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.radar-ping-emerald {
  animation: radar-pulse-emerald 2.2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* --- Interactive Court Surface Tabs --- */
.surface-tab-btn.active {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
  box-shadow: 0 4px 15px rgba(6, 78, 59, 0.25);
}

/* --- Range Slider Styling --- */
input[type=range].tennis-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  transition: background 0.2s;
}

input[type=range].tennis-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #064e3b;
  border: 3px solid #f59e0b;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, background-color 0.15s;
}

input[type=range].tennis-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #047857;
}

/* --- Bento Grid Enhancements --- */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
}

.bento-card:hover .bento-zoom {
  transform: scale(1.05);
}

.bento-zoom {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Accordion Transitions --- */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-content {
  max-height: 250px;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background-color: #064e3b;
  color: #f59e0b;
}
