/* ============================================================
   FOMEB - Fondation Maguy Ebeka
   Main Stylesheet - Design System & Base Styles
   Version: 2.0 | 2026 Futuristic Design
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* ── Brand Colors (Light NGO Theme) ───────────────────────── */
  --primary: #FF6B35;        /* Orange FOMEB */
  --primary-light: #FF8A5B;
  --primary-dark: #E55319;
  --secondary: #00A859;      /* Vert Frais */
  --secondary-light: #2BD27E;
  --secondary-dark: #008746;

  /* ── Dark Palette (For Text) ───────────────────────────────── */
  --dark: #121A21;           /* Gris très foncé */
  --dark-surface: #1E272E;
  --dark-card: #2B343B;
  --dark-border: #E2E8F0;    /* Bordure claire en mode light */

  /* ── Light Palette ─────────────────────────────────────────── */
  --light: #F8FAFC;          /* Gris bleuté très clair */
  --light-surface: #FFFFFF;
  --light-card: #FFFFFF;

  /* ── Text ──────────────────────────────────────────────────── */
  --text-primary: #1E293B;   /* Slate 800 */
  --text-secondary: #475569; /* Slate 600 */
  --text-tertiary: #94A3B8;  /* Slate 400 */
  --text-dark-primary: #1E293B;
  --text-dark-secondary: #475569;

  /* ── Gradients ─────────────────────────────────────────────── */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  --gradient-hero: linear-gradient(135deg, rgba(0, 168, 89, 0.85), rgba(0, 135, 70, 0.85));
  --gradient-cta: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B, #D97706);
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

  /* ── Spacing ───────────────────────────────────────────────── */
  --section-padding: 120px 80px;
  --section-padding-sm: 80px 40px;
  --container-max: 1400px;
  --container-narrow: 900px;
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 60px;
  --gap-2xl: 80px;

  /* ── Border Radius ─────────────────────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 50px;
  --radius-circle: 50%;

  /* ── Shadows ───────────────────────────────────────────────── */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.3);
  --shadow-glow-orange: 0 0 40px rgba(212, 154, 54, 0.3);
  --shadow-glow-green: 0 0 40px rgba(24, 99, 60, 0.3);
  --shadow-glow-gold: 0 0 40px rgba(238, 176, 78, 0.3);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);

  /* ── Typography ────────────────────────────────────────────── */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Poppins', sans-serif;

  /* ── Transitions ───────────────────────────────────────────── */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-index Scale ─────────────────────────────────────────── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 500;
  --z-overlay: 800;
  --z-modal: 900;
  --z-loading: 9999;

  /* ── Header ────────────────────────────────────────────────── */
  --header-height: 90px;
  --header-height-scrolled: 70px;
}


/* ============================================================
   2. RESET & NORMALIZE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--light-surface);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
}

input, textarea, select {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  background: transparent;
  color: inherit;
}

::selection {
  background: var(--primary);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}


/* ============================================================
   3. TYPOGRAPHY SYSTEM
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
}

h5 {
  font-size: 1.2rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.9;
}

p.small {
  font-size: 0.875rem;
}

strong, b {
  font-weight: 700;
  color: var(--text-primary);
}

em {
  font-style: italic;
}

blockquote {
  padding: 24px 32px;
  border-left: 4px solid var(--primary);
  background: var(--light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
}


/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-secondary {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--gap-sm); }
.gap-md { gap: var(--gap-md); }
.gap-lg { gap: var(--gap-lg); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-lg); }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 60px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 60px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }


/* ============================================================
   5. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  padding: 0 60px;
  transition: all var(--transition-smooth);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.hidden {
  transform: translateY(-100%);
}

.header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ── Logo ────────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.logo img {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  object-fit: cover;
  transition: var(--transition-smooth);
  border: 2px solid var(--glass-border);
}

.header.scrolled .logo img {
  width: 45px;
  height: 45px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.logo-text span {
  color: var(--primary);
}

/* ── Nav Links ───────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: calc(100% - 40px);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: calc(100% - 40px);
}

/* ── CTA Button in Nav ───────────────────────────────────────── */
.nav-cta {
  margin-left: 16px;
}

/* ── Mobile Menu Toggle ──────────────────────────────────────── */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ── Mobile Nav Overlay ──────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav-overlay.active {
  pointer-events: all;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mobile-nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 107, 53, 0.4);
}

.mobile-nav-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 107, 53, 0.2);
  color: #FF6B35;
  transform: rotate(90deg);
}

.mobile-nav-links {
  flex: 1;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.mobile-nav-item {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--item-index, 0) * 0.08s + 0.15s);
}

.mobile-nav-overlay.active .mobile-nav-item {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-link i {
  width: 22px;
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding-left: 26px;
}

.mobile-nav-link:hover i {
  color: var(--primary);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
  color: #fff;
  border-left: 3px solid var(--primary);
}

.mobile-nav-link.active i {
  color: var(--primary);
}

.mobile-nav-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-donate-mobile {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  gap: 10px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.mobile-nav-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.mobile-nav-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.mobile-nav-motto {
  text-align: center;
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  letter-spacing: 0.5px;
}


/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border-strong);
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-gradient {
  background: var(--gradient-cta);
  color: #fff;
  background-size: 200% 100%;
  background-position: 0% 50%;
}

.btn-gradient:hover {
  background-position: 100% 50%;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.25);
  color: #fff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 20px 52px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: var(--radius-circle);
  font-size: 1.2rem;
}

.btn i {
  font-size: 0.95em;
  transition: transform var(--transition-smooth);
}

.btn:hover i {
  transform: translateX(4px);
}


/* ============================================================
   7. CARDS
   ============================================================ */
.card-glass {
  background: var(--light-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-3d {
  background: var(--light-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.card-3d:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-action {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-sm);
}

.card-action .card-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.card-action .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card-action:hover .card-image img {
  transform: scale(1.08);
}

.card-action .card-image .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.card-action:hover .card-image .card-overlay {
  opacity: 1;
}

.card-action .card-content {
  padding: 28px 32px 32px;
}

.card-action .card-content h4 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.card-action .card-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.card-action .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--dark-border);
}

.card-action .card-meta span {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.card-action:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow-orange);
  border-color: rgba(255, 107, 53, 0.2);
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 40px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.7) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.hero-badge i {
  color: var(--primary);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 28px;
  font-weight: 900;
}

.hero h1 .highlight {
  position: relative;
  display: inline;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 4px;
  opacity: 0.4;
  z-index: -1;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--primary), transparent);
}


/* ============================================================
   9. SECTIONS
   ============================================================ */
.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-dark {
  background: var(--dark);
}

.section-surface {
  background: var(--dark-surface);
}

.section-light {
  background: var(--light);
  color: var(--text-dark-primary);
}

.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
  color: var(--text-dark-primary);
}

.section-light p {
  color: var(--text-dark-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--gap-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
}

/* ── Decorative Section Elements ─────────────────────────────── */
.section-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.decoration-orange {
  background: var(--primary);
  width: 500px;
  height: 500px;
}

.decoration-green {
  background: var(--secondary);
  width: 400px;
  height: 400px;
}


/* ============================================================
   10. STATS / COUNTERS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 48px 32px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--glass-border-strong), transparent);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary);
  border: 1px solid var(--glass-border);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}


/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: 24px;
  left: 32px;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.12;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.testimonial-card .testimonial-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-card .author-photo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 3px solid var(--primary);
}

.testimonial-card .author-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-card .author-info span {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ── Swiper Pagination ───────────────────────────────────────── */
.swiper-pagination-bullet {
  width: 24px;
  height: 4px;
  border-radius: 4px;
  background: var(--glass-border-strong);
  opacity: 1;
  transition: all var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  width: 40px;
  background: var(--gradient-primary);
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: #080810;
  padding: 100px 80px 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-about p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-orange);
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:hover::before {
  width: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* ── Newsletter Form ─────────────────────────────────────────── */
.footer-newsletter p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: transparent;
}

.newsletter-form input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.newsletter-form button:hover {
  box-shadow: var(--shadow-glow-orange);
}

/* ── Footer Bottom ───────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.footer-bottom a {
  color: var(--primary);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-creator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-creator i {
  color: var(--primary);
  font-size: 0.8rem;
}


/* ============================================================
   13. GALLERY
   ============================================================ */
.masonry-grid {
  columns: 3;
  column-gap: 24px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.gallery-item .gallery-overlay i {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}

.gallery-item .gallery-overlay span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ── Filter Tabs ─────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--gap-lg);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-family: 'Outfit', sans-serif;
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
}

.filter-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow-orange);
}


/* ============================================================
   14. CONTACT FORM
   ============================================================ */
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-group {
  position: relative;
  margin-bottom: 32px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--glass-border);
  transition: border-color var(--transition-smooth);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 1rem;
  color: var(--text-tertiary);
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
}

.form-group .form-underline {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
}

.form-group input:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline {
  width: 100%;
}

.form-group .field-error {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #FF4444;
  opacity: 0;
  transform: translateY(-8px);
  transition: all var(--transition-smooth);
}

.form-group.error .field-error {
  opacity: 1;
  transform: translateY(0);
}

.form-group.error input,
.form-group.error textarea {
  border-bottom-color: #FF4444;
}

.form-group.valid input,
.form-group.valid textarea {
  border-bottom-color: var(--secondary);
}

.form-group .field-icon {
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1rem;
  opacity: 0;
  transition: all var(--transition-smooth);
}

.form-group.valid .field-icon {
  opacity: 1;
  color: var(--secondary);
}

.form-group.error .field-icon {
  opacity: 1;
  color: #FF4444;
}

.form-group .char-counter {
  position: absolute;
  right: 0;
  bottom: -24px;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}


/* ============================================================
   15. LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: var(--z-loading);
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  animation: pulse 2s ease-in-out infinite;
}

.loading-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.loading-text span {
  color: var(--primary);
}

.loading-bar {
  width: 200px;
  height: 3px;
  border-radius: 3px;
  background: var(--glass-bg);
  overflow: hidden;
}

.loading-bar .loading-progress {
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: inherit;
  transition: width 0.3s ease;
  animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
  0%   { width: 0%; }
  30%  { width: 40%; }
  60%  { width: 70%; }
  80%  { width: 85%; }
  100% { width: 100%; }
}


/* ============================================================
   16. MISCELLANEOUS
   ============================================================ */

/* ── Section Dividers ────────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border-strong), transparent);
}

/* ── Image Lazy Load ─────────────────────────────────────────── */
img[data-src] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[data-src].loaded,
img.loaded {
  opacity: 1;
}

/* ── Aspect Ratio Helpers ────────────────────────────────────── */
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-1-1 { aspect-ratio: 1 / 1; }
.aspect-3-4 { aspect-ratio: 3 / 4; }

/* ── Object Fit ──────────────────────────────────────────────── */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ── Overlay Helpers ─────────────────────────────────────────── */
.overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.6);
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* ── Page-level title area ───────────────────────────────────── */
.page-hero {
  padding: 180px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(160px);
  opacity: 0.1;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Embeds / Map ────────────────────────────────────────────── */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
