@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --color-cream: #FAF6F1;
  --color-cream-soft: #F5EFEB;
  --color-dark: #2C2C2A;
  --color-dark-surface: #1E1E1C;
  --color-gold: #C9A96E;
  --color-gold-light: #E0C797;
  --color-gold-dark: #A58448;
  --color-sage: #8B9A7E;
  --color-sage-light: #B4C0AA;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  background-color: var(--color-cream);
  color: var(--color-dark);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--color-cream);
}

::selection {
  background-color: #C9A96E;
  color: #FFFFFF;
}

/* Typography Enhancements */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.text-balance {
  text-wrap: balance;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF6F1;
}
::-webkit-scrollbar-thumb {
  background: #C9A96E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A58448;
}

/* Luxury Editorial Accents */
.editorial-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background-color: var(--color-gold);
  vertical-align: middle;
}

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

.editorial-quote::before {
  content: "“";
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 2rem;
  left: -1rem;
  color: rgba(201, 169, 110, 0.2);
}

/* Subtle Shimmer & Glow */
.gold-glow {
  box-shadow: 0 10px 30px -10px rgba(201, 169, 110, 0.35);
}

.card-luxury {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.card-luxury:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(44, 44, 42, 0.12);
}

/* Image Zoom Effect */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.06);
}

/* Floating WhatsApp Button Pulse */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 10px 25px rgba(0,0,0,0.2);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 25px rgba(0,0,0,0.2);
  }
}

.whatsapp-float-btn {
  animation: pulseGlow 3s infinite;
}

/* Page Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Modal Animation */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content-box {
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}
.modal-backdrop.active .modal-content-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Asymmetric Luxury Borders */
.border-gold-subtle {
  border-color: rgba(201, 169, 110, 0.3);
}

/* Badge Styling */
.badge-luxury {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}
