/* ========================================================
   VANILLA EXPERIENCES — HAUTE COUTURE EVENT ATELIER
   Ultra-Luxury Design System & Architectural Aesthetics
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Italiana&family=Plus+Jakarta+Sans:wght@200;300;400;500;600&display=swap');

:root {
  --bg-vanilla-milk: #FAF7F2;
  --bg-silk-cream: #F5EFEB;
  --bg-card: #FFFFFF;
  --border-hairline: rgba(38, 33, 28, 0.08);
  --border-gold: rgba(194, 155, 56, 0.35);
  --border-gold-glow: rgba(194, 155, 56, 0.6);
  --accent-gold: #C29B38;
  --accent-gold-light: #DFBF6E;
  --accent-gold-dark: #9A7723;
  --accent-custard: #EADBCA;
  --text-noir: #181513;
  --text-taupe: #70685E;
  --text-sand: #968D82;
  --shadow-editorial: 0 30px 60px -15px rgba(24, 21, 19, 0.08), 0 10px 20px -5px rgba(24, 21, 19, 0.03);
  --shadow-hover: 0 35px 70px -10px rgba(24, 21, 19, 0.12), 0 15px 30px -5px rgba(194, 155, 56, 0.08);
}

/* Base Document */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-vanilla-milk);
  color: var(--text-noir);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-vanilla-milk);
  color: var(--text-noir);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography Classes */
.font-display {
  font-family: 'Cormorant Garamond', 'Italiana', Georgia, serif;
}

.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Subtle luxury grain / editorial linen texture */
.bg-linen {
  background-color: var(--bg-vanilla-milk);
  background-image: 
    radial-gradient(rgba(38, 33, 28, 0.04) 1px, transparent 0),
    linear-gradient(to bottom, rgba(250, 247, 242, 0.8), rgba(250, 247, 242, 1));
  background-size: 28px 28px, 100% 100%;
}

/* Selection */
::selection {
  background-color: #EADBCA;
  color: #181513;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #D8CABE;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C29B38;
}

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

/* Editorial Hairline Border */
.border-hairline {
  border-color: var(--border-hairline);
}

/* Luxury Editorial Card */
.editorial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(24, 21, 19, 0.02);
}

.editorial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-hover);
}

/* Image Zoom Container */
.img-editorial {
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #F5EDE2 0%, #E8DFD1 100%);
}

.img-editorial img {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: saturate(0.95) contrast(1.02);
}

.editorial-card:hover .img-editorial img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}

/* Primary Button: Haute Noir */
.btn-noir {
  background-color: var(--text-noir);
  color: #FAF7F2;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(24, 21, 19, 0.2);
}

.btn-noir::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.7s ease;
}

.btn-noir:hover {
  background-color: #2D2722;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -5px rgba(194, 155, 56, 0.25);
  border-color: var(--accent-gold);
}

.btn-noir:hover::before {
  left: 100%;
}

/* Secondary Button: Fine Linen Border */
.btn-outline-gold {
  background-color: transparent;
  color: var(--text-noir);
  border: 1px solid rgba(194, 155, 56, 0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.35s ease;
}

.btn-outline-gold:hover {
  background-color: #FFFFFF;
  border-color: var(--accent-gold);
  color: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(194, 155, 56, 0.15);
}

/* Amber Gold Solid Button */
.btn-gold-solid {
  background: linear-gradient(135deg, #D4AF37 0%, #C29B38 100%);
  color: #FFFFFF;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.35s ease;
  box-shadow: 0 8px 24px rgba(194, 155, 56, 0.3);
}

.btn-gold-solid:hover {
  background: linear-gradient(135deg, #DFBF6E 0%, #B3862A 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 155, 56, 0.45);
}

/* Minimalist Editorial Underline Tab */
.editorial-tab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-sand);
  position: relative;
  padding: 10px 18px;
  transition: all 0.3s ease;
  background: transparent;
  border-radius: 999px;
}

.editorial-tab.active-tab {
  color: var(--text-noir);
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(24, 21, 19, 0.05);
  border: 1px solid var(--border-gold);
}

.editorial-tab:hover:not(.active-tab) {
  color: var(--text-noir);
}

/* Marquee Banner */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Floating Concierge WhatsApp Ring */
@keyframes concierge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 155, 56, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(194, 155, 56, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(194, 155, 56, 0);
  }
}

.pulse-concierge {
  animation: concierge-pulse 2.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Architectural Numbering */
.number-editorial {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: #C29B38;
}

/* Haute Minimalist Form Inputs */
.input-haute {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(38, 33, 28, 0.15);
  border-radius: 0;
  padding: 12px 0;
  color: var(--text-noir);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.input-haute:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
  padding-left: 4px;
}

.input-haute::placeholder {
  color: #A39B90;
  font-weight: 300;
  font-size: 0.875rem;
}

/* Glass Modal */
.modal-glass {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(194, 155, 56, 0.25);
  box-shadow: 0 40px 80px -20px rgba(24, 21, 19, 0.25);
}

/* Toast Notification Haute */
#toast-container {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background: #181513;
  color: #FAF7F2;
  padding: 16px 28px;
  border-radius: 9999px;
  border: 1px solid rgba(194, 155, 56, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  animation: toastFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
