/**
 * ESPRIT CRÉATIF - DESIGN RÉVOLUTIONNAIRE
 * Unique • Innovant • Mémorable
 */

:root {
  /* Brand Colors */
  --gold: #d4a574;
  --cream: #f2ecd4;
  --dark: #1c1917;
  --black: #0c0a09;

  /* Light Theme */
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --text: #0a0a0a;
  --text-muted: #737373;
  --border: rgba(0, 0, 0, 0.08);

  /* Effects */
  --glow: rgba(212, 165, 116, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --surface: #151515;
  --surface-glass: rgba(20, 20, 20, 0.7);
  --text: #fafafa;
  --text-muted: #a0a0a0;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(212, 165, 116, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Logo blanc en mode sombre */
[data-theme="dark"] .navbar-logo img,
[data-theme="dark"] .footer-logo img {
  filter: brightness(0) invert(1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography Révolutionnaire */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', 'Poppins', serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem);
}
h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Navbar Futuriste */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.3s;
}

.navbar.scrolled::before {
  opacity: 1;
}

.navbar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar-logo img {
  height: 40px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-logo:hover img {
  transform: scale(1.1);
}

.navbar-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.navbar-menu a {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-menu a.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
  color: var(--black);
}

.navbar-actions {
  display: flex;
  gap: 16px;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.theme-toggle:hover::before {
  opacity: 1;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--gold);
}

.theme-toggle i {
  position: relative;
  z-index: 1;
  font-size: 20px;
}

/* Hero Spectaculaire */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
  filter: blur(60px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
  opacity: 0.08;
  animation: float 25s ease-in-out infinite reverse;
  filter: blur(60px);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, -50px) rotate(90deg);
  }
  50% {
    transform: translate(0, -80px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, -50px) rotate(270deg);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  padding: 12px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-title {
  margin-bottom: 40px;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 64px;
  line-height: 1.7;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Boutons Magnétiques */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
  color: var(--black);
  box-shadow: 0 8px 32px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-lg {
  padding: 24px 48px;
  font-size: 18px;
  border-radius: 20px;
}

/* Sections */
.section {
  padding: 120px 48px;
  position: relative;
}

.section-container {
  max-width: 1600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 24px;
}

.section-title {
  margin-bottom: 24px;
}

.section-description {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Grid Bento */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards 3D */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--cream) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 32px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.card h4 {
  font-size: 24px;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats Glassmorphism */
.stat-card {
  text-align: center;
  padding: 56px;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stat-value {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.stat-label {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Feature Icons Animated */
.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px var(--glow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* CTA Section Epic */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
  color: white;
  text-align: center;
  padding: 160px 48px;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-section::before {
  top: -400px;
  right: -200px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.cta-section::after {
  bottom: -400px;
  left: -200px;
  background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
  opacity: 0.1;
  animation: float 25s ease-in-out infinite reverse;
}

.cta-section h2 {
  color: white;
  margin-bottom: 24px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FOOTER MODERNE
   ============================================ */

.footer {
  position: relative;
  background: var(--surface);
  padding: 0;
  overflow: hidden;
}

/* Footer Wave Decoration */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  transform: translateY(-100%);
  z-index: 1;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer Background Pattern */
.footer-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Footer Content */
.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 48px 0;
}

/* Footer Main Grid */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

/* Footer About Section */
.footer-about {
  max-width: 400px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 15px;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(212, 165, 116, 0.3);
}

/* Footer Sections */
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* Footer Menu */
.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu li a {
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.3s;
  display: inline-block;
  position: relative;
}

.footer-menu li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  color: var(--gold);
  transition: all 0.3s;
}

.footer-menu li a:hover {
  color: var(--gold);
  padding-left: 20px;
}

.footer-menu li a:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.footer-contact li i {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  margin-top: 2px;
}

.footer-contact li span {
  flex: 1;
  line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-copyright strong {
  color: var(--gold);
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s;
}

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

.footer-bottom-links .separator {
  color: var(--border);
  font-size: 12px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop Large (max-width: 1440px) */
@media (max-width: 1440px) {
  .footer-main {
    gap: 48px;
  }
}

/* Tablet Large (max-width: 1024px) */
@media (max-width: 1024px) {
  .navbar-container,
  .section,
  .hero,
  .cta-section {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Footer Tablet */
  .footer-content {
    padding: 60px 32px 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 24px;
  }

  /* Menu mobile full-screen élégant */
  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(40px);
    padding: 80px 32px;
    gap: 0;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
  }

  .navbar-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar-menu li {
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Délais pour animation en cascade */
  .navbar-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .navbar-menu.active li:nth-child(2) { transition-delay: 0.15s; }
  .navbar-menu.active li:nth-child(3) { transition-delay: 0.2s; }
  .navbar-menu.active li:nth-child(4) { transition-delay: 0.25s; }
  .navbar-menu.active li:nth-child(5) { transition-delay: 0.3s; }
  .navbar-menu.active li:nth-child(6) { transition-delay: 0.35s; }

  .navbar-menu a {
    padding: 20px 32px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
  }

  .navbar-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    transition: left 0.5s ease;
  }

  .navbar-menu a:hover::before {
    left: 100%;
  }

  .navbar-menu a:hover {
    color: var(--gold);
    transform: scale(1.05);
    background: rgba(212, 165, 116, 0.05);
  }

  .navbar-menu a.active {
    background: linear-gradient(135deg, var(--gold) 0%, #e6c896 100%);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.4);
  }

  .navbar-menu a.active:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.5);
  }

  /* Bouton hamburger amélioré */
  #mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10000;
  }

  #mobile-menu-toggle:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
  }

  #mobile-menu-toggle:hover i {
    color: var(--dark);
  }

  #mobile-menu-toggle.active {
    background: var(--gold);
    border-color: var(--gold);
  }

  #mobile-menu-toggle.active i {
    color: var(--dark);
  }

  #mobile-menu-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero-cta,
  .section {
    padding: 80px 24px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 32px;
  }

  .cta-section {
    padding: 100px 24px;
  }

  /* Footer Mobile */
  .footer-content {
    padding: 50px 24px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

  .footer-about {
    grid-column: auto;
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-menu li a {
    padding-left: 0;
  }

  .footer-menu li a::before {
    display: none;
  }

  .footer-menu li a:hover {
    padding-left: 0;
  }

  .footer-contact li {
    justify-content: center;
    text-align: left;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-copyright {
    text-align: center;
  }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
  .footer-content {
    padding: 40px 20px 0;
  }

  .footer-main {
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-description {
    font-size: 14px;
  }

  .footer-title {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer-menu,
  .footer-contact {
    gap: 10px;
  }

  .footer-menu li a,
  .footer-contact li {
    font-size: 14px;
  }

  .footer-bottom {
    padding: 24px 0;
  }

  .footer-bottom-links {
    font-size: 13px;
  }

  .footer-bottom-links a {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 13px;
  }

  .footer-wave {
    height: 80px;
  }
}

#mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Hero (smaller hero for internal pages) */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 160px 48px 80px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
  filter: blur(60px);
}

.page-hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-input {
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--glow);
}

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

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23737373' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 120px 48px;
}

.empty-state h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text);
}

.empty-state p {
  font-size: 18px;
  color: var(--text-muted);
}

/* Alert Messages */
.alert {
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 24px;
}

.alert i {
  font-size: 20px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Links */
a {
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

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

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
}

.badge-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--cream) 100%);
  color: var(--black);
  border: none;
}

/* Navbar Scrolled Effect */
.navbar.scrolled {
  padding: 16px 0;
}

.navbar.scrolled .navbar-logo img {
  height: 36px;
}

/* Utilities */
.text-center {
  text-align: center;
}
.text-balance {
  text-wrap: balance;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 24px 60px;
  }

  .page-hero-title {
    font-size: 2.5rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }

  .form-input {
    font-size: 16px; /* Prevents iOS zoom */
  }

  .empty-state {
    padding: 80px 24px;
  }
}

/* ============================================
   FOOTER CTA SECTION
   ============================================ */
.footer-cta {
  position: relative;
  margin: 64px 0 0 0;
  padding: 64px 0;
  background: linear-gradient(135deg, var(--gold) 0%, #f2ecd4 100%);
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.footer-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer-cta-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--dark);
  margin-bottom: 32px;
  opacity: 0.9;
}

.footer-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-cta-buttons .btn {
  min-width: 200px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-cta-buttons .btn-primary {
  background: var(--dark);
  color: var(--gold);
  box-shadow: 0 8px 32px rgba(12, 10, 9, 0.3);
}

.footer-cta-buttons .btn-primary:hover {
  background: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(12, 10, 9, 0.4);
}

.footer-cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: 2px solid var(--dark);
}

.footer-cta-buttons .btn-secondary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(12, 10, 9, 0.2);
}

@media (max-width: 768px) {
  .footer-cta {
    padding: 48px 0;
    margin: 48px 0 0 0;
  }

  .footer-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold) 0%, #f2ecd4 100%);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(212, 165, 116, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}
