@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  /* Brand Luxury Palette */
  --color-primary: #8B1E3F;
  --color-primary-hover: #6E1832;
  --color-primary-light: #FDF2F4;
  --color-accent: #D4AF37;
  --color-accent-hover: #B59226;
  --color-bg: #FAF7F5;
  --color-surface: #FFFFFF;
  --color-dark: #0F172A;
  --color-text: #1F1B16;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-success: #10B981;
  --color-danger: #EF4444;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Touch accessibility */
  --touch-min-size: 44px;

  /* Optimized Shadows */
  --shadow-card: 0 4px 16px rgba(139, 30, 63, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 16px 32px -8px rgba(139, 30, 63, 0.14), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow-gold: 0 0 25px rgba(212, 175, 55, 0.35);
  --shadow-glow-primary: 0 8px 24px -4px rgba(139, 30, 63, 0.35);
}

html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.9375rem, 0.35vw + 0.85rem, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fluid Responsive Typography */
h1, .text-fluid-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h2, .text-fluid-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw + 0.75rem, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3, .text-fluid-h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2vw + 0.5rem, 2rem);
  line-height: 1.25;
}

/* Touch Accessibility */
button, input[type="button"], input[type="submit"], a.btn, .touch-target {
  min-height: var(--touch-min-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Container Utility */
.container-4k {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* High-Performance 60FPS Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-120%) rotate(45deg);
  }
  100% {
    transform: translateX(220%) rotate(45deg);
  }
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

/* Fast Lightweight Ambient Glows */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

/* Optimized Glassmorphism System */
.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-card);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text System */
.gradient-text-gold {
  background: linear-gradient(135deg, #8B1E3F 0%, #D4AF37 50%, #8B1E3F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFE4E6 45%, #FDE68A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons & Interactive Elements */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-120%) rotate(45deg);
  transition: none;
}

.btn-shimmer:hover::after {
  animation: shimmerSweep 1.2s ease-in-out infinite;
}

/* Card Hover Elevation */
.card-premium {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: var(--shadow-card-hover);
}

/* Horizontal Touch Scroll Chips */
.scroll-chips-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroll-chips-container::-webkit-scrollbar {
  display: none;
}
.scroll-chips-container > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Input Focus Glow */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 30, 63, 0.18);
}

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Lucide Icon Base Styling */
i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}
