@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Montserrat:wght@300;400;500;600;700&family=Montserrat+Alternates:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Local Font-Face Definitions (Fallbacks to Google Fonts are set in variables)
   ========================================================================== */

/* Alex Brush Cursive */
@font-face {
  font-family: 'Alex Brush Local';
  src: url('../assets/fonts/AlexBrush-Regular.woff2') format('woff2'),
       url('../assets/fonts/AlexBrush-Regular.woff') format('woff'),
       url('../assets/fonts/AlexBrush-Regular.ttf') format('truetype'),
       url('../assets/fonts/AlexBrush-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* The Artisan Font (single existing source — avoids 404 fall-through that
   could drop the face back to Alex Brush in some browsers) */
@font-face {
  font-family: 'The Artisan';
  src: url('../assets/fonts/the-artisan.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Montserrat Sans-Serif (Variable Font) */
@font-face {
  font-family: 'Montserrat Local';
  src: url('../assets/fonts/Montserrat[wght].ttf') format('truetype-variations'),
       url('../assets/fonts/Montserrat[wght].ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #F6F1EA;
  --bg-card: #F3E9DD;
  --text-dark: #4A453F;
  --text-medium: #6E675F;
  --accent-rose: #930810;
  --accent-green: #616E01;
  --accent-gold: #C7AA7F;
  --accent-gold-light: #EADFCF;
  --white: #FFFFFF;
  
  --font-serif: var(--font-sans); /* Cormorant Garamond replaced by Montserrat per request */
  --font-script: 'The Artisan', 'Alex Brush Local', 'Alex Brush', cursive;
  --font-sans: 'Montserrat Local', 'Montserrat', sans-serif;
  --font-alt: 'Montserrat Alternates', 'Montserrat Local', 'Montserrat', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(74, 69, 63, 0.05);
  --shadow-medium: 0 8px 30px rgba(74, 69, 63, 0.08);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #EDE7DC;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-rose);
}

/* Typography & Titles */
.title-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
}

.title-script {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--accent-rose);
  line-height: 1.2;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-family: var(--font-sans); /* section titles are Montserrat per design */
  font-size: 2.4rem;
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: 0;
}

.section-title p {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--accent-rose);
  margin-top: -0.3rem;
}

/* Floral branches that sit BEHIND and sweep under the couple's name */
.names-wrap {
  position: relative;
  display: inline-block;
  padding: 1.2rem 0.5rem 2rem;
}

.names-wrap .couple-names {
  position: relative;
  z-index: 2;
  margin: 0;
}

.leaf-branch {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}

/* flowers top-right, line sweeping down-left under the name */
.leaf-branch-right {
  width: 48%;
  right: 1%;
  top: -12%;
}

/* flowers bottom-left, line sweeping right under the name */
.leaf-branch-left {
  width: 48%;
  left: 1%;
  bottom: 0;
}

/* Separator Borders */
.tile-separator {
  width: 100%;
  height: 35px;
  background-image: url("../assets/divisor.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 3.5rem 0;
}

/* Page Layout */
.container {
  width: 100%;
  max-width: 480px; /* Constrained to mobile width by default */
  margin: 0 auto;
  background-color: var(--bg-color);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.12);
  position: relative;
  min-height: 100vh;
  padding-bottom: 4rem;
  transition: max-width 0.5s ease;
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 52px;
  width: auto;
}

/* Language Switcher Styling */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(252, 250, 247, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(199, 170, 127, 0.3);
  box-shadow: 0 2px 10px rgba(74, 69, 63, 0.05);
  margin-left: auto;
  margin-right: 1.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-medium);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  color: var(--accent-rose);
}

.lang-btn.active {
  color: var(--white);
  background-color: var(--accent-green);
  box-shadow: 0 2px 6px rgba(108, 126, 89, 0.2);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--accent-green);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Interactive Navigation Menu */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-card);
  z-index: 100;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: var(--transition-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-menu.open {
  right: 0;
}

.nav-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent-rose);
  cursor: pointer;
}

.nav-menu a {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-gold-light);
  padding-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.nav-menu a:hover {
  color: var(--accent-rose);
  padding-left: 0.5rem;
}

/* Overlay for Menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99;
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* Hero Section */
.hero {
  padding: 8.5rem 2rem 0 2rem; /* top gap matches figma: welcome text sits ~150px from top */
  text-align: center;
  background: linear-gradient(180deg, rgba(246,241,234,0.5) 0%, rgba(246,241,234,1) 100%);
}

.hero .welcome-text {
  font-family: var(--font-alt); /* Montserrat Alternates per design */
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-green);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.hero .couple-names {
  margin-bottom: 1rem;
  font-size: 2.6rem;
}

.hero-image-container {
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
  overflow: hidden;
  margin-top: 2rem;
  aspect-ratio: 420 / 503; /* natural size of couple_lake.png */
  position: relative;
}

.hero-image-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Curved fade at the top edge of the hero photo */
.hero-image-container::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: 0;
  height: 32%;
  background: radial-gradient(150% 100% at 50% 0%, var(--bg-color) 32%, rgba(246, 241, 234, 0) 72%);
  pointer-events: none;
  z-index: 2;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-image-container:hover img {
  transform: scale(1.08);
}

/* Decorative branch sitting above the menu (full-width, centered) */
.branch-decor {
  text-align: right;
  margin: 1rem 0 -0.5rem 0;
  pointer-events: none;
}

.branch-decor img {
  width: 1000px;
  max-width: 45%;
  height: auto;
  display: inline-block;
}

/* Itinerario Section */
.itinerary {
  padding: 0 2rem;
}

/* Small flowering branch beside the Itinerario title */
.itinerary-title {
  position: relative;
}

.branch-itinerary {
  position: absolute;
  width: 82px;
  height: auto;
  right: -10px;
  top: -18px;
  pointer-events: none;
}

.timeline {
  position: relative;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.8rem;
  transition: var(--transition-smooth);
}

.timeline-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-icon-img {
  transform: scale(1.1);
}

/* Time is the prominent line (dark serif), name below in rose serif */
.timeline-time {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--accent-rose);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 0.1rem;
}

/* Ubicación Section */
.location {
  padding: 0 2rem;
  text-align: center;
}

.location-title-container {
  position: relative;
  display: inline-block;
  margin: 0 auto 2rem auto;
  width: fit-content;
  padding: 0 10px;
}

.doodle {
  position: absolute;
  pointer-events: none;
}

.doodle-flor {
  width: 25px;
  left: -20px;
  top: 10px;
}

.doodle-banana {
  width: 18px;
  left: -12px;
  bottom: 0px;
}

.doodle-mamao {
  width: 22px;
  right: -20px;
  top: 5px;
}

.doodle-choqualhos {
  width: 18px;
  right: -15px;
  bottom: -5px;
}

.location-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.location-pin-img {
  width: 34px;
  height: auto;
}

.location-place {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.location-address {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.map-container {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 4px solid var(--white);
  margin-bottom: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-image-wrapper {
  position: relative;
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
}

.location-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  position: relative;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Curved fade at the top edge, matching couple_lake.png */
.location-image::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: 0;
  height: 32%;
  background: radial-gradient(150% 100% at 50% 0%, var(--bg-color) 32%, rgba(246, 241, 234, 0) 72%);
  pointer-events: none;
  z-index: 2;
}

.map-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.doodle-palmeira {
  width: 40px;
  height: auto;
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.location-caption-img {
  display: block;
  width: 160px;
  max-width: 55%;
  height: auto;
  margin: 0.5rem auto 0 auto;
}

/* Recommended routes + "Salidas recomendadas" card (below the map) */
.routes-block {
  text-align: left;
  max-width: 360px;
  margin: 0.5rem auto 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.route-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.route-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--accent-green);
  margin-top: 0.1rem;
}

.route-icon svg {
  width: 100%;
  height: 100%;
}

.routes-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 0.35rem;
}

.routes-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.salidas-card {
  background-color: var(--accent-gold-light);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.salidas-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-rose);
  text-align: center;
  margin-bottom: 0.7rem;
}

.salidas-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.salidas-card li {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.2rem 0;
}

.salidas-card li::before {
  content: "•";
  color: var(--accent-rose);
  font-weight: 700;
  margin-right: 0.6rem;
}

/* Gift section watercolor art (ceremony entrance) — full-bleed like the other photos */
.gift-art-container {
  width: calc(100% + 4rem);
  margin: 2.5rem -2rem 0 -2rem;
  overflow: hidden;
  position: relative;
}

.gift-art-container img {
  width: 100%;
  height: auto;
  display: block;
}

.gift-art-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hospedaje Section */
.lodging {
  padding: 0 2rem;
}

.lodging-intro {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.hotel-card {
  background-color: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.hotel-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.btn-hotel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 284px;
  height: 128px;
  border-radius: 64px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  background-color: transparent;
  border: none;
}

.btn-hotel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-hotel span {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.btn-hotel:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-medium);
}

.btn-hotel:hover::before {
  background: rgba(0, 0, 0, 0.15);
}

.hotel-1-bg {
  background-image: url('../assets/hotel_btn_1.png');
}

.hotel-2-bg {
  background-image: url('../assets/hotel_btn_2.png');
}

.hotel-3-bg {
  background-image: url('../assets/hotel_btn_3.png');
}

/* Countdown Section */
.countdown-section {
  padding: 0;
  text-align: center;
}

.countdown-title {
  font-family: var(--font-script);
  font-size: 3rem;
  color: #555A58;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.countdown-photo {
  position: relative;
  padding: 3.5rem 2rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.countdown-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.countdown-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.countdown-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
    var(--bg-color) 0%,
    rgba(246, 241, 234, 0) 30%,
    rgba(246, 241, 234, 0) 70%,
    var(--bg-color) 100%
  );
  z-index: 2;
  pointer-events: none;
}

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

.countdown-content .title-script {
  color: var(--white);
  font-size: 3rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.countdown-subtitle {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.timer-box {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.8rem 0.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timer-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.timer-label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.3rem;
  opacity: 0.85;
}

/* Dresscode Section */
.dresscode {
  padding: 0 2rem;
  text-align: center;
}

.dresscode-intro {
  margin-bottom: 2rem;
}

/* "Colores Reservados" — green serif heading (matches section titles) */
.dresscode-heading {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--accent-green);
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 2.5rem;
  margin-bottom: 0.3rem;
}

/* "exclusivamente para la novia y el novio" — rose script subtitle */
.dresscode-script-sub {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--accent-rose);
  line-height: 1.1;
  margin-top: -0.2rem;
  margin-bottom: 1.8rem;
}

/* "Mujeres" / "Hombres" — large rose script */
.dresscode-name {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--accent-rose);
  line-height: 1.05;
  margin-top: 2.5rem;
  margin-bottom: 0.1rem;
}

/* "Matrimonio campestre" / "Trajes con corbata o smokin" — muted serif subtitle */
.dresscode-plain {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-medium);
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.palette {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: var(--transition-smooth);
}

.color-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 2;
}

/* Specific Palettes */
.palette-reserved .color-circle {
  border: 1px solid rgba(74, 69, 63, 0.15);
}

.color-white-1 { background-color: #FFFDF3; }
.color-white-2 { background-color: #F3EFE6; }
.color-white-3 { background-color: #FFF6E7; }
.color-white-4 { background-color: #F2E6D5; }
.color-white-5 { background-color: #EEDCC6; }

.palette-labels {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.label-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 60px;
}

.label-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
}

.color-red { background-color: #701318; }
.color-green { background-color: #8D9472; }
.color-black { background-color: #12120F; }

.palette-women .color-circle:nth-child(1) { background-color: #CE9083; }
.palette-women .color-circle:nth-child(2) { background-color: #C37C84; }
.palette-women .color-circle:nth-child(3) { background-color: #A393AE; }
.palette-women .color-circle:nth-child(4) { background-color: #9AA6A8; }
.palette-women .color-circle:nth-child(5) { background-color: #B58A67; }
.palette-women .color-circle:nth-child(6) { background-color: #B76648; }
.palette-women .color-circle:nth-child(7) {
  background-image: url('../photos/image 13.png'); /* estampa floral */
  background-size: cover;
  background-position: center;
}

.palette-women .color-circle,
.palette-men .color-circle {
  border-radius: 50%;
  width: 46px;
  height: 46px;
}

/* Women palette wraps 4 + 3 like the design */
.palette-women {
  flex-wrap: wrap;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.palette-men .color-circle:nth-child(1) { background-color: #1F2430; }
.palette-men .color-circle:nth-child(2) { background-color: #454543; }
.palette-men .color-circle:nth-child(3) { background-color: #4D4F3E; }
.palette-men .color-circle:nth-child(4) { background-color: #553A1F; }
.palette-men .color-circle:nth-child(5) { background-color: #12120F; }

.dresscode-desc {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-top: 1rem;
  font-style: italic;
}

/* Menu Section */
.menu-section {
  padding: 0 2rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.menu-card {
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.menu-card:hover .menu-image img {
  transform: scale(1.05);
}

.menu-image {
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
  height: 247px; /* natural height of the dish photos */
  position: relative;
  overflow: hidden;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.menu-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.menu-info {
  padding: 1.5rem 0;
  text-align: center;
}

.menu-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-rose);
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.menu-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.menu-tagline {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: black;
  font-weight: 700;
  display: block;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

/* Detalle Section */
.gift-registry {
  padding: 0 2rem;
  text-align: center;
}

.gift-heading {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.gift-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.heart-icon {
  color: #8B1A10;
  font-size: 1.7rem;
  line-height: 1;
  margin: 1.5rem 0;
  display: block;
}

.gift-question {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.user-art-text {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  text-align: center;
  margin: 2.5rem 0;
  line-height: 1.3;
}

/* Placeholder for user artwork */
.user-art-placeholder {
  width: 100%;
  background-color: #E2DDD5;
  border: 1px dashed rgba(74, 69, 63, 0.2);
  border-radius: 12px;
  padding: 3.5rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.user-art-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* RSVP Section */
.rsvp {
  padding: 0 2rem;
  text-align: center;
}

.rsvp-intro {
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
}

.rsvp-intro strong {
  color: var(--accent-rose);
  letter-spacing: 0.5px;
}

.rsvp-deadlines {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.deadline-card {
  background-color: transparent;
  padding: 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.deadline-icon-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.deadline-info {
  display: flex;
  flex-direction: column;
}

.deadline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-rose);
  letter-spacing: 0.5px;
}

.deadline-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-medium);
  text-transform: uppercase;
  margin: 0.05rem 0;
}

.deadline-date {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--text-medium);
}

.whatsapp-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 1.5rem;
  align-items: center;
}

.whatsapp-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.whatsapp-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-rose);
  text-transform: uppercase;
}

.btn-whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 338px;
  height: auto;
  aspect-ratio: 338 / 127;
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  background-color: #FBF6E9;
  border: 2.5px solid var(--accent-green);
  text-decoration: none;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-whatsapp .wa-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  fill: var(--accent-green);
  position: relative;
  z-index: 2;
}

.btn-whatsapp .wa-text {
  font-family: var(--font-script);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent-gold);
  border-bottom: 1.5px solid var(--accent-gold);
  padding-bottom: 0.1em;
  position: relative;
  z-index: 2;
}

.btn-whatsapp:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-medium);
}

.btn-whatsapp:hover::before {
  background: rgba(0, 0, 0, 0.04);
}

.thanks-container {
  margin-top: 3rem;
}

.thanks-title {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--accent-rose);
  line-height: 1;
}

/* Save the Date / Footer Photo */
.footer-photo {
  padding: 0;
  margin-top: 2rem;
}

.footer-photo-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.footer-photo-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.footer-photo-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.footer-photo-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 25%;
  background: linear-gradient(to bottom, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Playlist Section */
.playlist {
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.playlist .section-title h2 {
  color: var(--accent-rose);
}

.playlist .section-title p {
  color: var(--accent-green);
}

.playlist-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
  line-height: 1.7;
}

.playlist-desc strong {
  color: var(--accent-rose);
}

.btn-playlist {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 24px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  width: 284px;
  height: 124px;
  margin: 2rem auto;
  background-image: url('../assets/btn_playlist_new.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.btn-playlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-playlist svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  position: relative;
  z-index: 2;
}

.btn-playlist span {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.btn-playlist:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-medium);
}

.btn-playlist:hover::before {
  background: rgba(0, 0, 0, 0.15);
}

/* Suggested Songs List Styling */
.suggested-songs-list {
  margin-top: 1.5rem;
  text-align: left;
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--accent-gold-light);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.suggested-songs-list h4 {
  font-family: var(--font-serif);
  color: var(--accent-green);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--accent-gold-light);
  padding-bottom: 0.3rem;
}

.suggested-songs-list ul {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
}

.suggested-songs-list li {
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--accent-gold-light);
  color: var(--text-dark);
}

.suggested-songs-list li:last-child {
  border-bottom: none;
}

/* Watercolor Church Section */
.watercolor-section {
  padding: 3rem 0 0 0;
  text-align: center;
}

.church-painting-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.church-painting-container img {
  width: 100%;
  height: auto;
  display: block;
}

.church-painting-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(246, 241, 234, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Curved fade at the top edge, matching couple_lake.png */
.church-painting-container::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: 0;
  height: 32%;
  background: radial-gradient(150% 100% at 50% 0%, var(--bg-color) 32%, rgba(246, 241, 234, 0) 72%);
  pointer-events: none;
  z-index: 2;
}

.credits {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-medium);
  margin-top: 2rem;
  padding: 0 2rem;
  font-weight: 500;
}

/* Playlist Interactive Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-card);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--accent-gold-light);
  transform: translateY(20px);
  transition: var(--transition-smooth);
  text-align: center;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-rose);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--accent-gold-light);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(176, 91, 107, 0.1);
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
}

.btn-modal {
  flex: 1;
  padding: 0.8rem;
  border-radius: 50px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-modal-cancel {
  background-color: #E2DDD5;
  color: var(--text-dark);
}

.btn-modal-cancel:hover {
  background-color: #D6CFCA;
}

.btn-modal-submit {
  background-color: var(--accent-rose);
  color: var(--white);
}

.btn-modal-submit:hover {
  background-color: #9C4B59;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--accent-green);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-medium);
  z-index: 2000;
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   DESKTOP RESPONSIVENESS OVERRIDES
   ========================================================================== */

@media (min-width: 768px) {
  /* Expand main container on computers */
  .container {
    max-width: 1000px;
    padding-bottom: 6rem;
  }

  /* Header adjustments */
  header {
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2rem 3rem;
  }

  /* Hero Section: Stacked layout with edge-to-edge image */
  .hero {
    padding: 9rem 3rem 4rem 3rem;
  }

  .hero-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-content {
    width: 100%;
    max-width: 800px;
  }

  .hero .welcome-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero .couple-names {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  .hero .leaves-divider {
    justify-content: center;
    margin: 2rem auto 0 auto;
  }

  .hero-image-container {
    width: 100%;
    max-width: 460px;
    margin: 3rem auto 0 auto;
    height: auto;
    max-height: none;
    aspect-ratio: 420 / 503;
    border-radius: 0;
    overflow: hidden;
  }

  /* Itinerario Section: Horizontal Grid of timeline items */
  .timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2rem;
    margin-top: 4rem;
  }

  .timeline-item {
    margin-bottom: 0;
  }

  /* Ubicación Section: Stacked layout with full-width image and centered details */
  .location-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .location-icon-container {
    justify-content: center;
  }

  .location-place {
    font-size: 1.6rem;
  }

  .location-address {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .location-image-wrapper {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: 1.5rem;
  }

  .location-image {
    height: 400px;
    border-radius: 0;
    overflow: hidden;
  }

  .location-caption {
    text-align: center;
  }

  .map-container {
    height: 450px;
    margin-top: 2rem;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Doodles repositioning for desktop */
  .doodle-flor {
    width: 32px;
    left: -42px;
    top: 12px;
  }

  .doodle-banana {
    width: 24px;
    left: -32px;
    bottom: -5px;
  }

  .doodle-mamao {
    width: 28px;
    right: -38px;
    top: 5px;
  }

  .doodle-choqualhos {
    width: 22px;
    right: -32px;
    bottom: -10px;
  }

  .doodle-palmeira {
    width: 52px;
    right: -28px;
    top: 50%;
  }

  /* Hospedaje Section: Hotel cards side-by-side */
  .hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .hotel-card {
    margin-bottom: 0;
    padding: 1.5rem 1rem;
    height: 100%;
    justify-content: space-between;
  }

  /* Keep the hotel name block a consistent height so buttons align across cards */
  .hotel-card .hotel-name {
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Fluid buttons: never overflow the grid column, keep the pill proportions */
  .hotels-grid .btn-hotel {
    width: 100%;
    max-width: 284px;
    height: auto;
    aspect-ratio: 284 / 128;
  }

  /* Countdown Section */
  .countdown-section {
    padding: 5rem 4rem;
    overflow: hidden;
  }

  .countdown-content .title-script {
    font-size: 3.8rem;
  }

  .timer {
    max-width: 500px;
    margin: 2rem auto 0 auto;
    gap: 1.5rem;
  }

  .timer-box {
    padding: 1.2rem 0.8rem;
  }

  .timer-number {
    font-size: 2.8rem;
  }

  /* Dresscode Section: 2 columns */
  .dresscode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    text-align: left;
  }

  .dresscode-column {
    padding: 2rem;
    background-color: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(199, 170, 127, 0.1);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .dresscode-heading,
  .dresscode-script-sub,
  .dresscode-name,
  .dresscode-plain {
    text-align: center;
  }

  .dresscode-heading {
    margin-top: 0;
  }

  .palette {
    justify-content: center;
  }

  .palette-labels {
    justify-content: center;
  }

  /* Menu Section: Stacked layout with edge-to-edge images (matching figma specifications) */
  .menu-items {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
  }

  .menu-card {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .menu-card:hover {
    transform: none;
    box-shadow: none;
  }

  .menu-image {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    height: 450px;
    border-radius: 0;
  }

  .menu-info {
    padding: 2rem 0;
    text-align: center;
  }

  /* Detalle de Regalo: Width constraint */
  .gift-registry {
    max-width: 600px;
    margin: 0 auto;
  }

  .user-art-placeholder {
    padding: 3.5rem 2rem;
  }

  /* RSVP Section: Grid of deadlines and buttons */
  .rsvp-deadlines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .deadline-card {
    margin-bottom: 0;
    height: 100%;
  }

  .whatsapp-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    margin-top: 2.5rem;
  }

  .whatsapp-contact {
    width: auto;
  }

  .btn-whatsapp {
    width: 100%;
    max-width: 276px;
    height: auto;
  }

  /* Footer photo - full width on desktop too */
  .footer-photo {
    max-width: 100%;
    margin: 2rem 0 0 0;
  }

  /* Playlist Section */
  .playlist {
    max-width: 600px;
    margin: 0 auto;
  }


}
