:root {
  /* Option 1: Soft Ivory & Slate (Recommended) */
  --bg-color: #f7f8f2;
  --text-primary: #000;
  --text-secondary: #22252a;
  --text-muted: #5c6068; /* Ideal for secondary details like address/time */
  --extralarge-font: 5rem;
  --title-font: 3rem;
  --subtitle-font: 2rem;
  --text-font: 1.5rem;
  --small-font: 1rem;
  --extra-small-font: 0.9rem;

  /* Option 2: Warm Linen & Graphite */
  /* 
--bg-color: #FBF9F5;
--text-primary: #2B2927;
--text-muted: #6B6661;
*/

  /* Option 3: Crisp Eggshell & Jet Gray */
  /* 
--bg-color: #FDFDFB;
--text-primary: #1F1F21;
--text-muted: #58585C;
*/
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.full-body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

.hero {
  width: 100%;
  min-height: 100vh;
  margin-bottom: 10rem;
}

.main-invitation {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.title-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: -10rem;
}

.title-names {
  font-size: var(--extralarge-font);
  color: var(--text-primary);
  margin-bottom: -1rem;
}

.title-subtitle {
  font-size: var(--text-font);
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.title-text {
  font-size: var(--text-font);
  color: var(--text-secondary);
}

.title-slide {
  font-size: var(--small-font);
  color: var(--text-primary);
}

.slide-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.slide-hint.is-hidden {
  opacity: 0;
  transform: translate(-50%, 0.6rem);
  pointer-events: none;
}

.slide-chevron {
  font-size: var(--small-font);
  line-height: 1;
  animation: bounce-slow 2.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.75;
  }

  50% {
    transform: translateY(0.45rem);
    opacity: 1;
  }
}

.combo-vintage .script-header {
  font-family: "Gwendolyn", cursive;
  font-weight: 400;
}

.combo-vintage .body-text {
  font-family: "Quattrocento", serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.section {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.section-wrapper {
    width: 90%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.calendar {
  width: 24rem;
  background-color: var(--bg-color);
  border-radius: 1.2rem;
  padding: 1.35rem 1.5rem 1.6rem;
  box-shadow: 0 0.25rem 1rem rgba(34, 37, 42, 0.12);
  border: 1px solid #e1b84f;
}

.calendar-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.calendar-month {
  font-size: var(--subtitle-font);
  line-height: 1;
  color: var(--text-primary);
}

.calendar-year {
  font-size: var(--text-font);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.calendar-weekdays {
  margin-bottom: 0.7rem;
  font-size: var(--extra-small-font);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.calendar-days {
  gap: 0.45rem 0;
  font-size: var(--small-font);
  color: var(--text-secondary);
}

.calendar-day {
  min-height: 2rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.calendar-day.is-selected {
  position: relative;
  width: 2.7rem;
  height: 2.5rem;
  margin: 0 auto;
  border-radius: 999px;
  background: #f5e5b6;
  border: 1px solid #e1b84f;
  color: #7b5a00;
  opacity: 1;
  box-shadow: 0 0.2rem 0.5rem rgba(225, 184, 79, 0.26);
  animation: selected-pop 700ms ease-out 1;
}

.calendar-weekday.is-weekend,
.calendar-day.is-weekend {
  color: var(--text-muted);
  opacity: 0.7;
}

.calendar-day.is-empty {
  opacity: 0;
}

.countdown {
  margin-top: 1rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.countdown-item {
  min-width: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.countdown-value {
  font-size: var(--subtitle-font);
  line-height: 1;
  color: var(--text-secondary);
}

.countdown-label {
  margin-top: 0.35rem;
  font-size: var(--text-font);
  color: var(--text-secondary);
}

.countdown-separator {
  margin-top: 0.25rem;
  font-size: var(--subtitle-font);
  line-height: 1;
  color: var(--text-muted);
}

.section-title {
  font-size: var(--title-font);
  color: var(--text-primary);
  text-align: center;
}

.section-image {
  width: 18rem;
  height: 10rem;
}

.section-subtitle {
  font-size: var(--text-font);
  color: var(--text-secondary);
  text-align: center;
  line-height: calc(2/1.5);
}

.itinerary {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
  width: 100%;
  align-items: center;
}

.itinerary-step {
  display: grid;
  grid-template-columns: 12rem 4rem 12rem;
  align-items: center;
  column-gap: 1rem;
}

.itinerary-time {
  font-size: var(--text-font);
  text-align: right;
  color: var(--text-secondary);
}

.itinerary-node-wrap {
  position: relative;
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.itinerary-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #cec8bf;
}

.itinerary-step:first-child .itinerary-line {
  top: 50%;
}

.itinerary-step:last-child .itinerary-line {
  bottom: 50%;
}

.itinerary-node {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid #e5e0d8;
  box-shadow: 0 0.35rem 0.8rem rgba(34, 37, 42, 0.1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.itinerary-node-image {
  width: 4rem;
  height: 4rem;
}

.itinerary-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.itinerary-title {
  font-size: var(--subtitle-font);
  color: var(--text-primary);
}

.itinerary-text {
  font-size: var(--small-font);
  color: var(--text-secondary);
}

.weather-card {
  width: 14rem;
  min-height: 14rem;
  border-radius: 1.4rem;
  background-color: rgba(255, 255, 255,0.9);
  box-shadow: 0 0.9rem 2rem rgba(34, 37, 42, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 1.5rem;
}

.weather-icon {
  width: 7rem;
  height: auto;
  color: #c6b9a8;
}

.weather-temperature {
  font-size: var(--subtitle-font);
  line-height: 1;
  color: var(--text-secondary);
}

.weather-condition {
  font-size: var(--subtitle-font);
  line-height: 1;
  color: #c6b9a8;
}

.action-button {
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-decoration: none;
  width: auto;
  height: 1.5rem;
  border: 0;
  border-radius: 0.5rem;
  background-color: #c9c1b7;
  color: #ffffff;
  padding: 1.1rem 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  box-shadow: 0 0.4rem 1rem rgba(34, 37, 42, 0.08);
  transform-origin: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.action-button-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.action-button-text {
  font-size: var(--small-font);
  font-family: "Quattrocento", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}

.gift-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.gift-toggle {
  margin-top: 2rem;
  padding: 1.8rem 2rem;
}

.gift-toggle.is-active {
  background-color: #b2a697;
  box-shadow: 0 0.5rem 1.2rem rgba(34, 37, 42, 0.14);
}

.gift-details {
  width: 100%;
  max-width: 42rem;
  border-radius: 1rem;
  border: 1px solid #e9e3da;
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.8rem 1.6rem rgba(34, 37, 42, 0.08);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gift-details[hidden] {
  display: none;
}

.gift-detail-row {
  border-radius: 0.7rem;
  background-color: rgba(242, 245, 249, 0.95);
  border: 1px solid #edf0f4;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gift-detail-row.is-copyable {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}

.gift-detail-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.gift-detail-label {
  font-size: var(--extra-small-font);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-detail-value {
  font-size: var(--text-font);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.gift-copy-button {
  border: 1px solid #d6dce6;
  border-radius: 0.55rem;
  background-color: #ffffff;
  color: #22252a;
  font-family: "Quattrocento", serif;
  font-size: var(--small-font);
  letter-spacing: 0.04em;
  padding: 0.65rem 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.gift-copy-button:hover {
  background-color: #f5f7fa;
}

.gift-copy-button.is-copied {
  background-color: #e8e2d8;
  border-color: #cdbfae;
  color: #5b4f40;
}

.farewell-text {
    text-align: center;
}

.last-text {
  margin-top: 1rem;
  font-style: italic;      
}

@media (max-width: 900px) {
  :root {
    --extralarge-font: 3.25rem;
    --title-font: 3rem;
    --subtitle-font: 1.8rem;
    --text-font: 1.2rem;
  }

  .title-image {
    max-width: 400px;
    margin-top: -5.5rem;
  }

  .itinerary-step{
    grid-template-columns: 8rem 4rem 8rem;
  }

  .calendar {
    width: 100%;
    max-width: 18rem;
  }

  .action-button {
    min-height: 2.8rem;
    height: auto;
    padding: 0.9rem 1.15rem;
    padding: 0 1rem;
    margin-bottom: 0;
  } 

  .action-button-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
  }

  .action-button-text {
    font-size: var(--extra-small-font);
    font-family: "Quattrocento", serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .gift-details {
    width: calc(100% - 2rem);
    padding: 0.85rem;
  }

  .gift-detail-value {
    font-size: var(--small-font);
    letter-spacing: 0.02em;
    word-break: break-word;
  }

  .gift-detail-row.is-copyable {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.7rem;
  }

  .gift-copy-button {
    width: 100%;
    justify-self: stretch;
    padding: 0.7rem 1rem;
    font-size: var(--text-font);
  }

    .section {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
  }

  .section-wrapper {
    width: 100%;
    max-width: 23rem;
  }

  .countdown {
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .countdown-item {
    min-width: 2.8rem;
  }
}