/* ==========================================
   CSS Variables & Theme
   ========================================== */
:root {
    /* =========================
       DARK LUXURY THEME
    ========================== */
    --color-background: #0A0A0A;
    --color-foreground: #FFFFFF;

    --color-primary: #C9A227;
    --color-primary-hover: #B8860B;
    --color-primary-foreground: #0A0A0A;

    --color-muted: #1A1A1A;
    --color-muted-foreground: #A0A0A0;

    --color-border: #2A2A2A;
    --color-border-light: #3A3A3A;

    --color-card: #111111;
    --color-card-secondary: #181818;

    --color-overlay: rgba(0, 0, 0, 0.7);
    --color-glass: rgba(255, 255, 255, 0.05);

    --hero-gradient: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(26, 26, 26, 0.85) 100%
    );

    /* Typography */
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.5);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
}


/* =========================================
   LIGHT PROFESSIONAL THEME
========================================= */
[data-theme="light"] {

    --color-background: #FFFFFF;
    --color-foreground: #171717;

    --color-primary: #C9A227;
    --color-primary-hover: #B8860B;
    --color-primary-foreground: #FFFFFF;

    --color-muted: #F5F5F5;
    --color-muted-foreground: #737373;

    --color-border: #E5E5E5;
    --color-border-light: #D4D4D4;

    --color-card: #FAFAFA;
    --color-card-secondary: #F1F1F1;

    --color-overlay: rgba(255, 255, 255, 0.85);
    --color-glass: rgba(255, 255, 255, 0.6);

    --hero-gradient: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(245, 245, 245, 0.85) 100%
    );

    /* Typography */
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
}


/* =========================================
   ROYAL GOVERNMENT THEME
========================================= */
[data-theme="royal"] {

    --color-background: #0F172A;
    --color-foreground: #FFFFFF;

    --color-primary: #C9A227;
    --color-primary-hover: #D4AF37;
    --color-primary-foreground: #0F172A;

    --color-muted: #1E293B;
    --color-muted-foreground: #94A3B8;

    --color-border: #334155;
    --color-border-light: #475569;

    --color-card: #1E293B;
    --color-card-secondary: #273449;

    --color-overlay: rgba(15, 23, 42, 0.8);
    --color-glass: rgba(255, 255, 255, 0.06);

    --hero-gradient: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.85) 100%
    );

    /* Typography */
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.5);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
}
/* ==========================================
   Reset & Base Styles
   ========================================== */
html, body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Safe area insets only for notched mobile devices */
@supports (padding-top: env(safe-area-inset-top)) {
  html {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8911f;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 0 auto;
}

/* Buttons */
.btn-premium {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), #b8911f);
  color: var(--color-primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all var(--transition-medium);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* ==========================================
   Loader
   ========================================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-icon {
  width: 60px;
  height: 60px;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.loader-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), #fff, var(--color-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--color-primary);
  width: 0;
  animation: loadProgress 2s ease-out forwards;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes loadProgress {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ==========================================
   Navbar
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  padding: 0.75rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.navbar-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-medium);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-cta {
  display: none;
  padding: 0.625rem 1.5rem;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all var(--transition-medium);
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: inline-block;
  }
}

.navbar-cta:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--color-foreground);
  transition: all var(--transition-medium);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-background);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  overflow: hidden;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  filter: blur(100px);
  transition: all 0.5s ease;
}

.mobile-menu.active .mobile-menu-bg-circle {
  opacity: 0.03;
}

.mobile-menu-bg-circle-1 {
  width: 300px;
  height: 300px;
  top: 25%;
  right: -150px;
  transform: scale(0);
}

.mobile-menu.active .mobile-menu-bg-circle-1 {
  transform: scale(1);
}

.mobile-menu-bg-circle-2 {
  width: 300px;
  height: 300px;
  bottom: 25%;
  left: -150px;
  transform: scale(0);
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-bg-circle-2 {
  transform: scale(1);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 10;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-20px);
  opacity: 0;
  transition: all var(--transition-medium);
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-header {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-close {
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: transform var(--transition-medium);
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
}

.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  gap: 0.25rem;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.5);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  transform: translateX(-50px);
  opacity: 0;
  transition: all var(--transition-medium);
}

.mobile-menu.active .mobile-link {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.29s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.43s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.50s; }

.mobile-link:hover {
  color: var(--color-primary);
  transform: translateX(10px);
}

.mobile-link-arrow {
  opacity: 0;
  transform: translateX(-10px);
  color: var(--color-primary);
  transition: all var(--transition-medium);
}

.mobile-link:hover .mobile-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-footer {
  padding: 1.5rem;
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--transition-medium);
  transition-delay: 0.5s;
}

.mobile-menu.active .mobile-menu-footer {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Actualités Dropdown (used on index.php) */
.mobile-dropdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0;
}

.mobile-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-dropdown-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.mobile-dropdown.active .mobile-dropdown-content {
  display: flex;
}

.mobile-dropdown-item {
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-muted-foreground);
  border-bottom: 1px solid rgba(42, 42, 42, 0.15);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-dropdown-item:hover {
  color: var(--color-primary);
  padding-left: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}

.mobile-cta {
  display: block;
  text-align: center;
}

/* ==========================================
    Hero Section
    ========================================== */
.hero {
  position: relative;
  height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: 600px;
  overflow: hidden;
}

/* Mobile Background Images for Hero Slides */
@media (max-width: 768px) {
  .hero-slide[data-slide="0"] .hero-slide-bg {
    background-image: url('/assets/images/mobile_1.jpeg') !important;
  }
  
  .hero-slide[data-slide="1"] .hero-slide-bg {
    background-image: url('/assets/images/mobile_2.jpeg') !important;
  }
  
  .hero-slide[data-slide="2"] .hero-slide-bg {
    background-image: url('/assets/images/mobile_3.jpeg') !important;
  }
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.5));
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease 0.4s;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  max-width: 500px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease 0.6s;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-slide.active .hero-description {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease 0.8s;
}

.hero-slide.active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 20;
}

.hero-control-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-foreground);
  transition: all var(--transition-medium);
}

.hero-control-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hero-control-btn svg {
  width: 20px;
  height: 20px;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all var(--transition-medium);
}

.hero-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted-foreground);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--color-muted-foreground);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.5; top: 16px; }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
  background: var(--color-background);
}

.about-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.about-content {
  order: 2;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .about-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .about-content {
    order: 1;
    padding: 0;
  }
}

.about-text {
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

/* Mobile improvements for about text - TEXTE JUSTIFIÉ */
@media (max-width: 768px) {
  .about-text {
    text-align: justify;
    text-align-last: justify;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
    word-spacing: 0.05em;
  }
}

@media (min-width: 769px) {
  .about-text {
    font-size: 1rem;
  }
}

.about-image {
  position: relative;
  order: 1;
}

@media (min-width: 1024px) {
  .about-image {
    order: 2;
  }
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .about-image img {
    height: 500px;
  }
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-background), transparent);
  border-radius: 8px;
}

.about-image-frame {
  position: absolute;
  top: 1rem;
  right: -1rem;
  bottom: -1rem;
  left: 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  opacity: 0.3;
  z-index: -1;
}

/* Themes Showcase - UNE image par thème (switch) */
.themes-showcase {
  display: none;
  width: 100%;
  height: 400px;
}

.themes-showcase.active {
  display: block;
}

.theme-item {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.theme-item.active {
  display: block;
}

.theme-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Features */
.features-section {
  position: relative;
}

.features-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.features-slider::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .features-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .features-slider {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  flex: 0 0 75%;
  scroll-snap-align: center;
  background: var(--color-card);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-medium);
}

@media (min-width: 768px) {
  .feature-card {
    flex: none;
  }
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .slider-nav {
    display: none;
  }
}

.slider-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-foreground);
  transition: all var(--transition-medium);
}

.slider-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: 0.375rem;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all var(--transition-medium);
}

.slider-dot.active {
  width: 18px;
  border-radius: 3px;
  background: var(--color-primary);
}

/* ==========================================
   Stats Section
   ========================================== */
.stats-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.85));
}

.stats-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-top: 0.5rem;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
  background: var(--color-muted);
}

.services-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .services-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .services-slider {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  flex: 0 0 80%;
  scroll-snap-align: center;
  background: var(--color-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-medium);
}

@media (min-width: 768px) {
  .service-card {
    flex: none;
  }
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-medium);
}

.service-link:hover {
  gap: 0.75rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================
   Team Section
   ========================================== */
.team-section {
  background: var(--color-background);
}

.team-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.team-slider::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .team-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .team-slider {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  flex: 0 0 70%;
  scroll-snap-align: center;
  background: var(--color-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-medium);
}

@media (min-width: 768px) {
  .team-card {
    flex: none;
  }
}

.team-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.team-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 0.75rem;
}

.team-social .social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 50%;
  color: var(--color-primary);
  transition: all var(--transition-medium);
}

.team-social .social-link:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.team-social .social-link svg {
  width: 18px;
  height: 18px;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.625rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.team-profile-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.team-profile-btn svg {
  width: 16px;
  height: 16px;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-specialty {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
  background: var(--color-muted);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 300px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  background: var(--color-card);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  visibility: hidden;
  transition: all var(--transition-medium);
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.5;
  margin-bottom: -1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-foreground);
  transition: all var(--transition-medium);
}

.testimonial-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.testimonial-btn svg {
  width: 20px;
  height: 20px;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all var(--transition-medium);
}

.testimonial-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}

/* ==========================================
   News Section
   ========================================== */
.news-section {
  background: var(--color-background);
}

.news-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.news-slider::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .news-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: visible;
  }
}

.news-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: var(--color-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-medium);
}

@media (min-width: 768px) {
  .news-card {
    flex: none;
  }
}

.news-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.75rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.75rem 0;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-medium);
}

.news-link::after {
  content: '→';
}

.news-link:hover {
  gap: 0.5rem;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
  background: var(--color-muted);
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-info .section-title {
  text-align: left;
}

.contact-info .section-line {
  margin: 0;
  margin-bottom: 1.5rem;
}

.contact-text {
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 8px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.contact-item h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* Contact Form */
.contact-form {
  background: var(--color-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-muted-foreground);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A0A0A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand .navbar-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  border-radius: 50%;
  color: var(--color-foreground);
  transition: all var(--transition-medium);
}

.footer-social .social-link:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.footer-social .social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-links li {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* ==========================================
    Theme Switcher
    ========================================== */
.theme-switcher-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .theme-switcher-wrapper {
    margin-left: 1rem;
  }
}

.theme-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.theme-switcher-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-switcher-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-switcher-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.theme-switcher-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Theme Dropdown */
.mobile-theme-dropdown {
  width: 100%;
  margin-top: 1rem;
}

.mobile-theme-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-foreground);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-theme-toggle:hover {
  border-color: var(--color-primary);
}

.mobile-theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.mobile-theme-dropdown.open .mobile-theme-toggle svg {
  transform: rotate(180deg);
}

.mobile-theme-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.mobile-theme-dropdown.open .mobile-theme-dropdown-menu {
  display: flex;
}

.theme-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--color-foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.theme-dropdown-item:hover {
  background: var(--color-muted);
}

.theme-dropdown-item.active {
  background: rgba(201, 162, 39, 0.1);
  color: var(--color-primary);
}

.theme-dropdown-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Theme Transition */
.theme-transitioning,
.theme-transitioning * {
  transition: background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
}

/* ==========================================
    Animations
    ========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for children */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================
   Domain Pages Styles
   ========================================== */
.domain-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.domain-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-background) 100%);
  background-image: url('/assets/images/test_2.png');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.domain-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
}

.domain-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.domain-subtitle {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.domain-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.domain-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.domain-content-section {
  background: var(--color-background);
}

.domain-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.domain-intro-text {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.domain-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.domain-card {
  background: var(--color-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-medium);
}

.domain-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.domain-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.domain-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.domain-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.domain-card-list {
  list-style: none;
}

.domain-card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.domain-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.domain-card-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.domain-cta-section {
  background: var(--color-muted);
}

.domain-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.domain-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.domain-cta-text {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
}

.domain-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Theme Buttons for Navbar */
.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: 4px;
  padding: 0;
}

.theme-btn:first-child {
  margin-left: 0;
}

.theme-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.theme-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* ==================== NAVBAR DROPDOWN ==================== */

/* Nav item with dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

/* Dropdown menu */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.5rem 0;
}

/* Mobile Dropdown - Responsive for small screens */
.mobile-dropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0 !important;
  color: var(--color-foreground) !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--color-border) !important;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-dropdown-toggle:hover {
  color: var(--color-primary);
}

.mobile-dropdown-toggle span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-dropdown-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.mobile-dropdown-toggle.active svg {
  transform: rotate(180deg);
}

/* Mobile dropdown content */
.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
  background: transparent;
  visibility: visible !important;
}

.mobile-menu-links .mobile-dropdown {
  visibility: visible !important;
  opacity: 1 !important;
  max-height: 0;
  overflow: hidden;
}

.mobile-menu-links .mobile-dropdown.active {
  max-height: 500px;
}

.mobile-dropdown.active {
  max-height: 300px;
}

.mobile-dropdown-content {
  padding: 0.5rem 0;
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: var(--color-muted-foreground);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.mobile-dropdown-item:hover {
  color: var(--color-primary);
  background: var(--color-glass);
  padding-left: 2rem;
}

.mobile-dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--color-primary);
}
