/* ==========================================================================
   Elegance Rentals Design System & Custom Premium CSS
   ========================================================================== */

/* Import Playfair Display, Manrope, & Tangerine Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;600;700&family=Tangerine:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  --primary: #735c00;
  --primary-container: #d4af37;
  --background: #fdf9f0;
  --on-background: #1c1c16;
  --secondary: #5f5e5b;
  --outline-variant: rgba(208, 197, 175, 0.3);
  --on-surface-variant: #4d4635;
  --surface-container: #f2ede4;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Base Overrides */
body {
  background-color: var(--background);
  color: var(--on-background);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.font-headline-md {
  font-family: var(--font-serif);
}

.font-display-lg {
  font-family: var(--font-serif);
}

.font-headline-sm {
  font-family: var(--font-serif);
}

.font-tangerine {
  font-family: 'Tangerine', cursive !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-weight: 700 !important;
}

/* Material Symbols alignment */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* Hard Editorial Accents */
.editorial-spacing {
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sharp-border {
  border-radius: 0px !important;
}

/* Watercolor Elements */
.watercolor-accents {
  pointer-events: none;
  position: absolute;
  z-index: 10;
  opacity: 0.55;
  mix-blend-mode: multiply;
  transition: var(--transition-slow);
}

/* ==========================================================================
   Hero Pin-Scroll Section Video Styles
   ========================================================================== */
.hero-pinned-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #1c1c16;
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: brightness(0.65) desaturate(0.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 22, 0.4) 0%,
    rgba(28, 28, 22, 0.7) 60%,
    rgba(28, 28, 22, 0.95) 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

/* Hero Text Elements styling */
.hero-title-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  column-gap: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: 100%;
  white-space: nowrap;
}

.word-elegance {
  font-family: 'Tangerine', cursive;
  text-transform: none;
  font-weight: 700;
  display: inline-block;
  transform-origin: center center;
  font-size: 28vw; /* Larger default to compensate for Tangerine's small glyph height */
}

@media (min-width: 768px) {
  .word-elegance {
    font-size: 20vw;
  }
}

.word-experiences {
  display: inline-block;
  opacity: 0;
  width: 0;
  white-space: nowrap;
  transform-origin: left center;
  font-size: 10vw;
  font-weight: 300;
  letter-spacing: 0.15em;
}

@media (min-width: 768px) {
  .word-experiences {
    font-size: 8vw;
  }
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2rem;
}

/* ==========================================================================
   Smooth Fade / Scroll Reveal Helper Classes
   ========================================================================== */
.reveal-init {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(35px);
}

/* Watercolor background entry */
.reveal-watercolor {
  opacity: 0;
  transform: scale(0.9) rotate(5deg);
}

/* ==========================================================================
   Curated Collection & Product Cards Interactions
   ========================================================================== */
.group:hover .watercolor-accents {
  transform: scale(1.05) rotate(-3deg);
  opacity: 0.7;
}

.bg-white.group {
  transition: var(--transition-medium);
}

.bg-white.group:hover {
  border-color: var(--primary-container);
  box-shadow: 0 20px 40px rgba(115, 92, 0, 0.05);
}

/* FAQ Accordion Styling overrides */
details summary::-webkit-details-marker {
  display: none;
}

details[open] summary span.material-symbols-outlined {
  transform: rotate(180deg);
}

summary span.material-symbols-outlined {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

details > div {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom indicator colors and outline utilities */
.border-outline-variant\/30 {
  border-color: var(--outline-variant);
}

.bg-surface-container {
  background-color: var(--surface-container);
}

/* Scrolled Navbar Style: Premium glassmorphism with backdrop blur and ivory-white tint */
.navbar-scrolled {
  background-color: rgba(253, 249, 240, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important; /* Safari compatibility */
  border-bottom: 1px solid rgba(208, 197, 175, 0.2) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

.navbar-scrolled #mobile-menu-btn {
  color: var(--on-background) !important;
}

.navbar-scrolled #nav-menu li a {
  color: rgba(28, 28, 22, 0.85) !important;
}

.navbar-scrolled #nav-menu li a:hover {
  color: var(--primary) !important;
}

/* Base header link transitions */
#main-nav #logo-link span {
  color: #ffffff;
  transition: color 0.4s ease;
}

#main-nav #mobile-menu-btn {
  color: #ffffff;
  transition: color 0.4s ease;
}

#main-nav #nav-menu li a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.4s ease;
}

#main-nav #nav-menu li a:hover {
  color: var(--primary-container);
}



/* Testimonial Quote Styling */
blockquote.font-display-lg {
  font-family: var(--font-serif) !important;
  text-transform: none !important;
  font-style: italic !important;
  letter-spacing: 0.02em !important;
}
