/* ============================================================
   WEDDING WEBSITE — IAN & ZACH
   June 11, 2027 · Bedell Cellars · Cutchogue, NY
   ============================================================ */

/* ------------------------------------------------------------
   CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --bg:            #F6F4F1;       /* warm off-white */

  /* ---- DARK COLOR: pick one, comment out the others ---- */
  --bg-dark:       #2E3A47;       /* OPTION A: slate blue-grey  */
  /* --bg-dark:   #1E2D3D; */    /* OPTION B: deep navy        */
  /* --bg-dark:   #2E2E2A; */    /* OPTION C: warm charcoal    */
  /* --bg-dark:   #2C3830; */    /* ORIGINAL: forest green     */
  /* ------------------------------------------------------ */

  --surface:       #FFFFFF;
  --border:        #E0DBD5;
  --border-dark:   rgba(255,255,255,0.12);

  --text:          #1A1A1A;
  --text-muted:    #7A7570;
  --text-on-dark:  #F6F4F1;
  --text-muted-dark: rgba(246,244,241,0.6);

  --accent:        #4A6741;       /* sage green */
  --accent-light:  #EEF2EC;
  --accent-blue:   #5B7FA6;       /* slate blue */
  --accent-tab:    #7096B8;       /* lighter slate blue for Things To Do */
  --accent-tab-bg: #EDF2F7;       /* tab active background */

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad:   6rem;
  --container:     1100px;
  --container-narrow: 680px;

  /* Radius */
  --radius:        3px;
  --radius-md:     8px;
}

/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ------------------------------------------------------------
   TYPOGRAPHY SCALE
   ------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
}

.h2-style {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-pad) 0;
}

.section-light {
  background: var(--bg);
}

.section-dark {
  background: var(--bg-dark);
}

.section-dark .section-label {
  color: rgba(246,244,241,0.5);
}

.section-dark h2,
.section-dark h3,
.section-dark .h2-style,
.section-dark h4 {
  color: var(--text-on-dark);
}

.section-dark p {
  color: var(--text-muted-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-sub {
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.section-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 4rem 0;
}

.hidden {
  display: none !important;
}

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
#nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 244, 241, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--text);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  transition: all 0.2s;
}

/* Mobile full-screen overlay */
.nav-backdrop {
  display: none;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: rgba(246,244,241,0.5);
  line-height: 1;
  transition: color 0.2s;
}

.nav-drawer-close:hover {
  color: var(--text-on-dark);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav-overlay-link:hover {
  opacity: 0.6;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
#home {
  padding: 0;
}

.hero {
  display: flex;
  flex-direction: column;
}

.hero-image-wrap {
  width: 100%;
  height: 82vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Gradient overlay at bottom of hero image */
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(44, 56, 48, 0.35) 100%
  );
  pointer-events: none;
}

.hero-text {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  padding: 4rem 2rem 5rem;
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  margin-bottom: 2rem;
}

.hero-name-block {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 0.4em;
  line-height: 1;
  min-width: 0;
}

.hero-first {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  line-height: 1;
}

.hero-last {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
  line-height: 1;
}

.hero-amp {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: rgba(246, 244, 241, 0.45);
  flex-shrink: 0;
  align-self: center;
}

.hero-date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.7);
  margin-bottom: 0.5rem;
}

.hero-location {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(246, 244, 241, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-on-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.4);
  margin-top: 0.4rem;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: rgba(246, 244, 241, 0.2);
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.countdown-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(246, 244, 241, 0.35);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   SCHEDULE / DETAILS SECTION
   ------------------------------------------------------------ */
.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3rem;
}

.schedule-day {
  padding: 2.25rem 2rem;
  background: var(--surface);
}

.schedule-day--wedding {
  background: #fafaf7;
}

.schedule-day-hd {
  margin-bottom: 1.75rem;
}

.schedule-weekday {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.schedule-weekday em {
  font-style: normal;
  color: var(--accent-blue);
}

.schedule-date {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
}

.schedule-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.schedule-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.schedule-entry-icon {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
  opacity: 0.7;
}

.schedule-entry-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.schedule-entry-body h3 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.schedule-entry-body p {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
}

.detail-sub {
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
}

.detail-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-blue);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.detail-link:hover {
  opacity: 0.7;
}

/* Map */
.map-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  margin-top: 2.5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------
   TRAVEL SECTION
   ------------------------------------------------------------ */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-dark);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0;
}

.travel-card {
  background: rgba(255,255,255,0.04);
  padding: 2.25rem 2rem;
}

.travel-card h3 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.45);
  margin-bottom: 0.75rem;
}

.travel-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(246,244,241,0.65);
}

/* Hotels */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border-dark);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hotel-card {
  background: rgba(255,255,255,0.04);
  padding: 2.25rem 2rem;
}

.hotel-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-on-dark);
  margin-bottom: 0.3rem;
}

.hotel-location {
  font-size: 0.75rem !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(246,244,241,0.4) !important;
  margin-bottom: 0.75rem;
}

.hotel-card p:not(.hotel-location) {
  color: rgba(246,244,241,0.6);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hotel-card .detail-link {
  color: rgba(246,244,241,0.5);
}

.hotel-card .detail-link:hover {
  color: var(--text-on-dark);
  opacity: 1;
}

/* ------------------------------------------------------------
   RSVP SECTION
   ------------------------------------------------------------ */
#rsvp .section-label {
  color: rgba(246,244,241,0.5);
}

#rsvp .section-sub strong {
  color: var(--text-on-dark);
  font-weight: 500;
}

.rsvp-lookup {
  text-align: center;
}

.rsvp-lookup-label {
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.rsvp-lookup-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.rsvp-input {
  flex: 1;
  height: 48px;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rsvp-input::placeholder {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(246,244,241,0.3);
}

.rsvp-input:focus {
  border-color: rgba(91,127,166,0.6);
}

.rsvp-lookup-btn {
  height: 48px;
  padding: 0 1.75rem;
  background: rgba(255,255,255,0.12);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.rsvp-lookup-btn:hover {
  background: rgba(255,255,255,0.18);
}

.rsvp-result {
  min-height: 1.5rem;
  margin-bottom: 0.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.rsvp-result--error {
  font-size: 0.875rem;
  color: rgba(246,244,241,0.7);
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}

.rsvp-result--success {
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}

.rsvp-confirmed {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rsvp-check {
  font-size: 1.25rem;
  color: var(--accent-tab);
  flex-shrink: 0;
}

.rsvp-confirmed-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 0.2rem;
}

.rsvp-confirmed-detail {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

.rsvp-help {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  text-align: center;
  margin-top: 1.25rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.rsvp-help a {
  color: var(--accent-tab);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------------
   REGISTRY SECTION
   ------------------------------------------------------------ */
.registry-cta-wrap {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--bg-dark);
  border: 1px solid var(--bg-dark);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.8;
}

.registry-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  text-align: center;
}

/* ------------------------------------------------------------
   THINGS TO DO
   ------------------------------------------------------------ */
.things-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  transition: background 0.2s, color 0.2s;
  border-right: 1.5px solid var(--border);
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: var(--accent-tab-bg);
  color: var(--accent-tab);
}

.tab-btn.active {
  background: var(--accent-tab);
  color: white;
}

.things-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.thing-card {
  background: var(--surface);
  padding: 1.75rem 1.75rem;
}

.thing-card h4 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.thing-tag {
  font-size: 0.6875rem !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-tab) !important;
  text-transform: uppercase;
  margin-bottom: 0.625rem !important;
  line-height: 1 !important;
}

.thing-card p:last-child {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   FAQ SECTION
   ------------------------------------------------------------ */
.faq-list {
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.04);
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255,255,255,0.07);
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: rgba(246,244,241,0.35);
  border-radius: 1px;
  top: 50%;
  left: 50%;
}

.faq-icon::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 12px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer-inner p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246,244,241,0.6);
}

.faq-answer-inner strong {
  color: var(--text-on-dark);
  font-weight: 500;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-link {
  color: var(--accent-tab);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------------
   GALLERY
   ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s ease;
}

.lightbox-close:hover { color: #fff; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.15s ease;
  user-select: none;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover { color: #fff; }

@media (max-width: 600px) {
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .lightbox-prev,
  .lightbox-next { font-size: 3rem; padding: 0.5rem 0.75rem; }
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-names {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}

.footer-date {
  font-size: 0.75rem;
  color: rgba(246,244,241,0.35);
  letter-spacing: 0.08em;
}

.footer-credit {
  font-size: 0.65rem;
  color: rgba(246,244,241,0.2);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .travel-grid {
    grid-template-columns: 1fr;
  }

  .things-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-names {
    gap: 0.75rem;
  }

  .hero-first,
  .hero-last {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-amp {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .countdown-unit {
    min-width: 52px;
  }

  .countdown-number {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .schedule {
    grid-template-columns: 1fr;
  }

  .schedule-day {
    padding: 1.75rem 1.5rem;
  }

  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .things-grid {
    grid-template-columns: 1fr;
  }

  .things-tabs {
    width: 100%;
    border-radius: var(--radius);
  }

  .tab-btn {
    flex: 1;
    padding: 0.6rem 0.5rem;
    font-size: 0.5625rem;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-text {
    padding: 3rem 1.25rem 4rem;
  }

  .hero-img {
    object-position: center top;
  }

  .hero-amp {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .countdown {
    gap: 0;
  }

  .countdown-unit {
    min-width: 44px;
  }
}
