/* Fonts import - exact fonts from original */
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Montserrat:wght@300;400;500&display=swap');

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Exact color palette from original */
  --background: hsl(18, 30%, 94%);
  --foreground: hsl(0, 0%, 5%);
  --card: hsl(18, 25%, 96%);
  --card-foreground: hsl(0, 0%, 5%);
  --primary: hsl(0, 0%, 10%);
  --primary-foreground: hsl(40, 33%, 96%);
  --secondary: hsl(18, 20%, 90%);
  --secondary-foreground: hsl(0, 0%, 5%);
  --muted: hsl(18, 15%, 88%);
  --muted-foreground: hsl(0, 0%, 5%);
  --accent: hsl(150, 18%, 60%);
  --accent-foreground: hsl(25, 15%, 20%);
  --border: hsl(18, 15%, 84%);
  --ring: hsl(150, 18%, 60%);
  --radius: 0.5rem;
  
  /* Custom wedding colors */
  --champagne: hsl(35, 40%, 78%);
  --sage: hsl(150, 18%, 60%);
  --sage-light: hsl(150, 15%, 78%);
  --dusty-rose: hsl(350, 25%, 72%);
  --ivory: hsl(18, 30%, 94%);
  --bronze: hsl(25, 30%, 35%);
  --cream: hsl(18, 25%, 92%);
  --blush: hsl(350, 30%, 92%);
  --gold: hsl(38, 45%, 62%);
  --gold-light: hsl(38, 35%, 78%);
  --warm-brown: hsl(25, 15%, 25%);
  --terracotta: hsl(16, 30%, 58%);
  
  /* Fonts */
  --font-heading: 'Fjalla One', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Subtle paper texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-blend-mode: overlay;
  background-size: 200px 200px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--foreground);
}

p {
  margin-bottom: 0;
}

a {
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Navigation - exact styling */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(18, 30%, 94%, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  padding: 0 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--foreground);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Hero Section - exact layout */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8rem;
  background-color: var(--background);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 42rem;
  padding: 0 1.5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 2rem;
  line-height: 0.9;
  text-align: center;
}

.hero h1 .ampersand {
  font-size: 0.7em;
  display: inline;
  margin: 0 0.1em;
}

.hero-divider {
  width: 6rem;
  height: 1px;
  background: hsla(0, 0%, 5%, 0.2);
  margin: 0 auto 2rem;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.hero-info {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 2;
}

.hero-image {
  width: 100vw;
  margin-bottom: 2.5rem;
  object-fit: cover;
  object-position: bottom;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Countdown - exact styling */
.countdown {
  padding: 2rem 0;
  background: var(--background);
}

.countdown-inner {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Page layout */
.page {
  padding-top: 7rem;
  padding-bottom: 5rem;
  min-height: 100vh;
  background: var(--background);
}

.container {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Page hero image */
.page-hero-image {
  width: 100vw;
  margin-bottom: 3.5rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Section headers */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--foreground);
  text-align: center;
  text-transform: uppercase;
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}

.section-intro {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Content sections */
.content-section {
  margin-bottom: 3rem;
}

.content-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.content-section-icon {
  flex-shrink: 0;
  color: var(--muted-foreground);
}

.content-section-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--foreground);
  text-transform: uppercase;
}

.content-section-body {
  margin-left: 2rem;
}

.content-section p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section .highlight {
  color: var(--foreground);
  font-weight: 500;
}

/* Lists */
.content-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.content-list li {
  margin-bottom: 0.5rem;
}

/* Links */
.text-link {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
  font-size: 0.875rem;
  transition: text-decoration-color 0.3s ease;
}

.text-link:hover {
  text-decoration-color: var(--foreground);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground);
  border-bottom: 1px solid hsla(0, 0%, 5%, 0.3);
  padding-bottom: 0.25rem;
  transition: border-color 0.3s ease;
}

.cta-link:hover {
  border-color: var(--foreground);
}

/* Tags/badges */
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  margin-bottom: 0.25rem;
}

.tag-recommended {
  display: inline-block;
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--foreground);
  border-radius: 3px;
  margin-left: 0;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 0.125rem 0.625rem;
}

.subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 0.75rem;
}

/* Transport grid */
.transport-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .transport-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.transport-option {
  display: flex;
  flex-direction: column;
}

.transport-option .content-list {
  margin-top: 1rem;
}

.tag-filled {
  display: inline-block;
  background: hsl(0, 0%, 45%);
  color: var(--background);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.tag-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 3rem;
}

.faq-item {
  margin-bottom: 3rem;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.faq-question-icon {
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
}

.faq-question-icon svg {
  width: 1rem;
  height: 1rem;
}

.faq-question h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--foreground);
  text-transform: uppercase;
}

.faq-answer {
  margin-left: 1.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Liste de mariage */
.gift-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.gift-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.gift-headline {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .gift-headline {
    font-size: 1.25rem;
  }
}

.gift-intro p:not(.gift-headline):not(.mt-8) {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.gift-text {
  text-align: left !important;
}

/* Divider */
.divider {
  width: 6rem;
  height: 1px;
  background: hsla(0, 0%, 5%, 0.2);
  margin: 2rem auto;
}

/* Note box */
.note-box {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: italic;
}

/* Footer */
.footer {
  background: var(--background);
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-monogram {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-monogram:hover {
  opacity: 1;
}

.footer-monogram svg {
  display: inline-block;
}

.footer p {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.25rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .countdown-inner {
    gap: 2rem;
  }

  .countdown-value {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 10rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-subtitle {
    font-size: 2.25rem;
  }

  .countdown-inner {
    gap: 3rem;
  }

  .countdown-value {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

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

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* ================================
   ELEGANT ANIMATIONS & EFFECTS
   ================================ */

/* Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for transport options */
.transport-option.reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.transport-option.reveal-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.transport-option.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* Animated Countdown */
.countdown-value {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover Micro-interactions */
.nav-links a {
  position: relative;
  overflow: hidden;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--foreground);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: transparent;
}

/* CTA Link hover effect */
.cta-link {
  position: relative;
  transition: all 0.3s ease;
}

.cta-link:hover {
  letter-spacing: 0.25em;
}

.cta-link svg {
  transition: transform 0.3s ease;
}

.cta-link:hover svg {
  transform: translate(3px, -3px);
}

/* Text link elegant underline */
.text-link {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(var(--foreground), var(--foreground));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}

.text-link:hover {
  background-size: 100% 1px;
}

/* Custom Cursor for interactive elements */
a, button, .cta-link, .nav-links a {
  cursor: pointer;
}

/* Floating Petals */
.petal-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -20px;
  color: var(--dusty-rose);
  opacity: 0.4;
  animation: floatDown linear forwards;
  pointer-events: none;
}

@keyframes floatDown {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(100vh) rotate(360deg) translateX(50px);
    opacity: 0;
  }
}

/* Hero content above petals */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.countdown {
  position: relative;
  z-index: 2;
}

/* Decorative Divider with ornament */
.divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: transparent;
  margin: 2.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider::before {
  content: '✦';
  font-size: 12px;
  color: var(--muted-foreground);
  opacity: 0.5;
  background: var(--background);
  padding: 0 1rem;
}

.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(0, 0%, 5%, 0.15), transparent);
  z-index: -1;
}

/* Hero divider special style */
.hero-divider {
  position: relative;
  width: 6rem;
  height: 1px;
  background: transparent;
  margin: 0 auto 2rem;
}

.hero-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(0, 0%, 5%, 0.3), transparent);
}

/* Page load animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 1s ease forwards;
}

.page-title {
  animation: fadeInUp 0.8s ease forwards;
}

.page-hero-image {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

/* Image hover effect */
.page-hero-image {
  transition: transform 0.5s ease;
}

.page-hero-image:hover {
  transform: scale(1.01);
}

/* Note box subtle animation */
.note-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Mountain Line Animation */
.mountain-line-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  overflow: hidden;
  color: var(--muted-foreground);
  opacity: 0.5;
}

.mountain-line-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.mountain-line {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: drawLine 3s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Decorative Line (Champagne glasses) */
.decorative-line-container {
  width: 100vw;
  margin: 0 0 2rem;
  padding: 0;
  overflow: hidden;
  color: var(--foreground);
}

.decorative-line-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.decorative-line {
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  animation: drawLine 3.5s ease-out forwards;
}

/* Champagne Glasses (Liste de mariage) */
.champagne-glasses-container {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1.5rem;
  color: var(--muted-foreground);
  opacity: 0.6;
}

.champagne-glasses-container svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Gift reveal animation */
.decorative-line-container svg g {
  clip-path: inset(0 100% 0 0);
  animation: revealLeft 2.5s ease-out forwards;
}

@keyframes revealLeft {
  to {
    clip-path: inset(0 0 0 0);
  }
}

