/* ============================================
   CACHE BUSTING SYSTEM
   ============================================

   This site uses automatic hash-based cache busting to ensure CSS changes
   are always served to browsers immediately.

   HOW IT WORKS:
   1. The backend (src/index.js) computes MD5 hashes of CSS/JS files on startup
   2. These hashes are injected into index.html as query parameters (?h=HASH)
   3. When file content changes, the hash changes, forcing browsers to refetch
   4. Browsers cache files with immutable=true for 365 days (safe because hash changes)

   TO ENSURE YOUR CHANGES APPEAR:
   - Simply refresh the page (Cmd+R on Mac, F5 on Windows)
   - CSS changes are detected automatically via file content hash
   - For hard refresh in Safari macOS: Use Cmd+Option+R
   - For hard refresh in Chrome/Firefox: Use Cmd+Shift+R (Mac) or Ctrl+Shift+R (Windows)

   EMERGENCY CACHE CLEAR (if changes still don't appear):
   1. Edit the timestamp below to a new value (e.g., change T23:30 to T23:35)
   2. Save the file
   3. Restart Docker: docker compose restart
   4. New hash will be generated and browsers will refetch

   EXAMPLE: If you want to force a cache clear, change this line:
   /* Cache bust: 2026-05-03T23:35 */

:root {
  /* Christmas palette — warm dark neutral bg, pine green accents, burnished gold */
  --primary: #b8861c;
  --primary-dark: #9a7016;
  --primary-light: #d0a028;
  --accent: #c89830;
  --accent-soft: rgba(200, 152, 48, 0.12);
  --accent-mid: rgba(200, 152, 48, 0.28);
  --green: #1d5230;
  --green-dark: #113320;
  --text: #f2e8d5;
  --text-light: #d8caa8;
  --text-muted: #9e906c;
  --bg: #0d0c0a;
  --bg-card: #161410;
  --bg-card-hover: #1e1c14;
  --secondary: #111009;
  --border: #2c2a1e;
  --shadow: 0 2px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.7);
  --font-display: 'Playfair Display', serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Lato', sans-serif;
  --radius: 10px;
  --radius-sm: 5px;
  --radius-lg: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }
.text-muted { color: var(--text-muted); }

/* ============================================
   FLOATING NAV BUTTON
   ============================================ */
.floating-nav-btn {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 1100;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(12, 11, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 152, 48, 0.28);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.floating-nav-btn:hover {
  background: rgba(18, 16, 11, 0.95);
  border-color: var(--accent);
  transform: scale(1.05);
}

.floating-nav-btn span {
  display: block;
  width: 20px;
  height: 2.5px;
  background: var(--accent);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s ease;
  transform-origin: center;
}

.floating-nav-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.floating-nav-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.floating-nav-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   NAV OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(8, 7, 5, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-size: 2.2rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  font-weight: 300;
}

.nav-overlay-close:hover { color: var(--accent); }

.nav-overlay-inner {
  text-align: center;
  padding: 2rem;
}

.nav-brand {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
  display: block;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.45s ease 0.05s, transform 0.45s ease 0.05s;
}

.nav-overlay.open .nav-brand {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay-inner nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-overlay-inner nav a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: rgba(240, 232, 220, 0.45);
  text-decoration: none;
  letter-spacing: 1px;
  padding: 0.25rem 0;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.3s, opacity 0.4s ease, transform 0.4s ease;
  display: block;
}

.nav-overlay.open .nav-overlay-inner nav a { opacity: 1; transform: translateY(0); }
.nav-overlay.open .nav-overlay-inner nav a:nth-child(1) { transition-delay: 0.08s; }
.nav-overlay.open .nav-overlay-inner nav a:nth-child(2) { transition-delay: 0.13s; }
.nav-overlay.open .nav-overlay-inner nav a:nth-child(3) { transition-delay: 0.18s; }
.nav-overlay.open .nav-overlay-inner nav a:nth-child(4) { transition-delay: 0.23s; }
.nav-overlay.open .nav-overlay-inner nav a:nth-child(5) { transition-delay: 0.28s; }
.nav-overlay.open .nav-overlay-inner nav a:nth-child(6) { transition-delay: 0.33s; }

.nav-overlay-inner nav a:hover,
.nav-overlay-inner nav a.active {
  color: var(--accent);
}

/* ============================================
   GUEST BANNER
   ============================================ */
.guest-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(29, 82, 48, 0.15), rgba(200, 152, 48, 0.08));
  border-bottom: 1px solid rgba(200, 152, 48, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.guest-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
  color: var(--text-light);
}

.guest-banner-content strong {
  color: var(--accent);
  font-weight: 600;
}

.guest-banner-logout {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.guest-banner-logout:hover {
  color: var(--accent);
  transform: scale(1.1);
}

body.guest-signed-in {
  padding-top: 3rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero picture {
  position: absolute;
  inset: 0;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Dappled golden bokeh light — like sunlight through pine canopy */
  background-image:
    radial-gradient(ellipse 100px 80px at 12% 22%, rgba(200, 152, 48, 0.08), transparent),
    radial-gradient(ellipse 60px 50px at 85% 18%, rgba(200, 152, 48, 0.07), transparent),
    radial-gradient(ellipse 120px 90px at 50% 8%, rgba(200, 152, 48, 0.05), transparent),
    radial-gradient(ellipse 45px 40px at 72% 32%, rgba(255, 240, 180, 0.05), transparent),
    radial-gradient(ellipse 35px 30px at 28% 38%, rgba(255, 240, 180, 0.04), transparent),
    radial-gradient(ellipse 80px 60px at 90% 55%, rgba(200, 152, 48, 0.04), transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 10, 5, 0.12) 0%,
    rgba(8, 14, 8, 0.38) 30%,
    rgba(7, 12, 6, 0.65) 60%,
    rgba(5, 9, 4, 0.90) 82%,
    rgba(4, 7, 3, 0.97) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 2rem;
}

.hero-subtitle {
  font-size: 0.78rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.05;
  margin: 0.5rem 0 1.8rem;
  margin-left: -2rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.35);
}

.hero-name {
  display: block;
  font-size: 5rem;
}

.hero-amp {
  display: block;
  font-size: 2.6rem;
  opacity: 0.5;
  margin: 0.15rem 0;
}

.hero-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.hero-venue {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Scroll hint arrow */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(201, 168, 76, 0.6);
  border-bottom: 1.5px solid rgba(201, 168, 76, 0.6);
  transform: rotate(45deg);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(0); }
  50% { opacity: 0.9; transform: rotate(45deg) translateY(5px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '✦';
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  margin: 0.85rem auto 0;
  opacity: 0.65;
  letter-spacing: 0;
}

/* ---- Countdown ---- */
.countdown-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  padding: 5rem 2rem;
  position: relative;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at 15% 50%, rgba(200, 152, 48, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(200, 152, 48, 0.05) 0%, transparent 50%);
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
  min-width: 90px;
  padding: 0 1.5rem;
}

.countdown-item span {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.countdown-item label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
  font-weight: 400;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  align-self: flex-start;
  padding-top: 0.1rem;
}

/* ---- Story ---- */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.story-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.9;
  font-weight: 300;
  text-align: center;
}

.story-text p + p { margin-top: 1rem; }

/* ---- Photo Grid ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: block;
}

.photo-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 0 2px rgba(200, 152, 48, 0.35);
}

/* ---- Venue ---- */
.venue-section { text-align: center; }

.venue-card {
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.venue-card:hover { transform: translateY(-3px); }

.venue-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.venue-photos img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.venue-photos img:first-child {
  border-right: 2px solid var(--bg-dark);
}

.venue-info { padding: 1.8rem 2rem; }
.venue-info h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.venue-info p { color: var(--text-light); font-size: 0.95rem; }
.venue-date { color: var(--accent) !important; font-weight: 600; margin-top: 0.4rem; }
.venue-directions-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.venue-directions-link:hover { color: var(--text); border-color: var(--text); }

/* ---- CTA ---- */
.cta-section { text-align: center; }
.cta-section p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 0.5rem; }
.rsvp-deadline-text { color: var(--text-muted); margin-bottom: 1.5rem; }
.cta-welcome { font-size: 1.1rem; color: var(--text-light); margin: 0.5rem 0 1.5rem; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---- Section alternating bg ---- */
.photo-preview-section {
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 30%, var(--bg-card) 70%, transparent 100%);
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.photo-preview-section .section-title,
.photo-preview-section .photo-grid {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

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

.footer::before {
  content: '✦  ✦  ✦';
  display: block;
  color: var(--accent);
  font-size: 0.65rem;
  letter-spacing: 0.9em;
  text-indent: 0.9em;
  margin: 0 auto 1.5rem;
  opacity: 0.6;
  text-align: center;
}

.footer p { margin: 0.3rem 0; color: var(--text-muted); font-size: 0.9rem; }
.footer .footer-names {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--accent);
}

/* ============================================
   PAGES
   ============================================ */
.page { display: none; }
.page.active { display: block; }

.page-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
}

.page-container h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   GALLERY HEADER
   ============================================ */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-header h1 { margin-bottom: 0; }

.gallery-header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: linear-gradient(145deg, var(--bg-card), rgba(14, 12, 8, 0.7));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(200, 152, 48, 0.3);
  box-shadow: 0 6px 28px rgba(0,0,0,0.6), 0 0 0 1px rgba(200, 152, 48, 0.1);
  transform: translateY(-1px);
}

.card h3 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.1rem; }

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

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lock-notice {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.lock-notice-open {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--accent);
}
.lock-notice-locked {
  background: rgba(139, 26, 26, 0.15);
  border: 1px solid rgba(139, 26, 26, 0.4);
  color: #e07070;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
textarea,
select,
.search-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(10, 9, 6, 0.85);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="date"]::placeholder,
input[type="time"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder,
.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

input:focus,
textarea:focus,
select:focus,
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: rgba(8, 7, 4, 0.95);
}

.form-error {
  color: #e74c3c;
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
}

.radio-group { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.3rem; }

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-light);
  padding: 0.4rem 0;
}

.radio-label input[type="radio"] { accent-color: var(--accent); }

.divider {
  text-align: center;
  margin: 1.2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 0.5rem;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(184, 134, 28, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-mid);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.btn-danger {
  background: transparent;
  color: #e74c3c;
  border-color: #e74c3c;
}

.btn-danger:hover {
  background: #e74c3c;
  color: #fff;
}

.btn-block { width: 100%; }
.btn-sm { padding: 0.38rem 0.8rem; font-size: 0.72rem; }

.btn:active { transform: scale(0.96); transition: transform 0.1s; }

@media (hover: none) {
  .btn { -webkit-tap-highlight-color: transparent; }
  .btn:active { transform: scale(0.94); opacity: 0.85; }
  .btn-primary:active { background: var(--primary-dark); }
  .btn-outline:active { background: var(--accent-soft); }
  .tab:active { transform: scale(0.97); }
  .gallery-item:active { transform: scale(0.97); }
  .menu-select-option:active { transform: scale(0.98); }
  .upload-area:active { transform: scale(0.98); }
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.tab {
  padding: 0.8rem 1.3rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.tab:hover { color: var(--text-light); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   GUEST CHECKLIST
   ============================================ */
.guest-checklist {
  margin-bottom: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 8px;
  margin-bottom: 0.55rem;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
}

.checklist-item:hover {
  border-left-color: var(--accent);
  background: rgba(45, 74, 45, 0.08);
}

.checklist-item.cl-active {
  border-left-color: var(--accent);
  background: rgba(45, 74, 45, 0.1);
}

.checklist-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: transparent;
  transition: all 0.2s;
}

.checklist-item.done .checklist-check {
  border-color: #4caf50;
  background: #4caf50;
  color: #fff;
}

.checklist-check-optional {
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.checklist-info {
  flex: 1;
  min-width: 0;
}

.checklist-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.checklist-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.checklist-badge {
  font-size: 0.75rem;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.badge-pending {
  background: rgba(45, 74, 45, 0.18);
  color: var(--accent);
}

.badge-done {
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
}

.badge-optional {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s;
}

.gallery-item:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.5); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity 0.3s;
  line-height: 1.4;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Pending photo indicator */
.gallery-item.pending {
  opacity: 0.65;
}

.gallery-item.pending::before {
  content: 'Pending';
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: rgba(255, 183, 77, 0.92);
  color: #1a1510;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

/* Admin photo action buttons in gallery */
.photo-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-item:hover .photo-actions { opacity: 1; }

.photo-actions .btn {
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  background: rgba(14, 12, 10, 0.88);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  border-color: rgba(255,255,255,0.15);
}

.photo-actions .btn-danger {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.4);
}

.photo-actions .btn:hover {
  background: rgba(30, 27, 22, 0.95);
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.98);
  z-index: 2000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox.active { display: flex; align-items: center; justify-content: center; }

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: rgba(255,255,255,0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  padding: 0.5rem;
  line-height: 1;
}
.lightbox-close:hover { color: #fff; transform: scale(1.1); }

.lightbox-inner {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 0;
}

.lightbox-image-wrap {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 2rem 2rem;
  min-width: 0;
  touch-action: pan-x pinch-zoom;
  user-select: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.3s;
  line-height: 1;
  z-index: 5;
}
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

/* Comments panel */
.lightbox-panel {
  width: 300px;
  min-width: 280px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.lightbox-panel-header {
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lightbox-caption {
  flex: 1;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  min-width: 0;
}

.like-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  padding: 0.4rem;
  border-radius: 50%;
  user-select: none;
}
.like-btn:hover {
  color: #ff6b9d;
  background: rgba(255, 107, 157, 0.08);
  transform: scale(1.1);
}
.like-btn.liked {
  color: #ff6b9d;
  font-weight: 600;
}
.like-btn.liked:hover {
  background: rgba(255, 107, 157, 0.12);
}
.like-btn span:last-child {
  font-size: 0.8rem;
  font-weight: 500;
}

.lightbox-comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  scroll-behavior: smooth;
}

.lightbox-comments-empty {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem 0;
}

.lightbox-comment {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.lightbox-comment:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lightbox-comment-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.lightbox-comment-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 0.3rem;
}

.lightbox-comment-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lightbox-comment-form {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  flex-shrink: 0;
  background: rgba(10, 9, 6, 0.5);
}
.lightbox-comment-form textarea {
  flex: 1;
  background: rgba(8, 7, 4, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  resize: none;
  min-height: 2.8rem;
  max-height: 80px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lightbox-comment-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.lightbox-comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
  background: rgba(8, 7, 4, 0.95);
}
.lightbox-comment-form .btn {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  min-height: 2.8rem;
  flex-shrink: 0;
}

/* Tablet/Mobile lightbox layout */
@media (max-width: 900px) {
  .lightbox.active { flex-direction: column; }
  .lightbox-inner { flex-direction: column; }
  .lightbox-image-wrap { padding: 3.5rem 1rem 1rem; flex: none; height: auto; max-height: 55vh; }
  .lightbox img { max-height: 50vh; }
  .lightbox-panel {
    width: 100%;
    min-width: unset;
    border-left: none;
    border-top: 1px solid var(--border);
    flex: 1;
    max-height: 40vh;
  }
}

/* Mobile-specific lightbox improvements */
@media (max-width: 480px) {
  .lightbox { padding: 0; }
  .lightbox.active { padding: 0; }
  .lightbox-close {
    top: 0.8rem;
    right: 0.8rem;
    font-size: 1.8rem;
    padding: 0.4rem;
  }
  .lightbox-prev, .lightbox-next {
    font-size: 2.5rem;
    padding: 0.75rem;
    opacity: 0.7;
  }
  .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
  .lightbox-image-wrap {
    padding: 3rem 0 0;
    max-height: 50vh;
  }
  .lightbox img { max-height: 45vh; }
  .lightbox-panel { max-height: 50vh; }
  .lightbox-panel-header { padding: 0.9rem 0.9rem; }
  .lightbox-comments-list { padding: 0.8rem 0.9rem; }
  .lightbox-comment {
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
  }
  .lightbox-comment-form {
    padding: 0.75rem 0.9rem;
    gap: 0.4rem;
    flex-direction: column;
  }
  .lightbox-comment-form textarea {
    width: 100%;
    min-height: 2.4rem;
  }
  .lightbox-comment-form .btn {
    width: 100%;
    padding: 0.55rem 1rem;
  }
}

/* Gallery thumbnail interaction badges */
.gallery-interactions {
  position: absolute;
  bottom: 0.4rem;
  right: 0.4rem;
  display: flex;
  gap: 0.4rem;
  pointer-events: none;
}

.gallery-like-count, .gallery-comment-count {
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.72rem;
  border-radius: 20px;
  padding: 0.15rem 0.5rem;
  backdrop-filter: blur(4px);
}

/* New photos banner */
.new-photos-banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid var(--green-dark);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   UPLOAD
   ============================================ */
.upload-area {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-light);
}

.photo-previews {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.photo-previews img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
}

/* ============================================
   MENU DISPLAY
   ============================================ */
.menu-course { margin-bottom: 2.5rem; }

.menu-course h3 {
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: capitalize;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.menu-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.menu-item:last-child { border-bottom: none; }
.menu-item h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.2rem; }
.menu-item p { color: var(--text-muted); font-size: 0.9rem; }
.menu-badges { margin-top: 0.4rem; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-right: 0.3rem;
  letter-spacing: 0.5px;
}

.badge-veg { background: rgba(17, 51, 32, 0.9); color: #81c784; border: 1px solid rgba(129, 199, 132, 0.2); }
.badge-vegan { background: rgba(10, 36, 18, 0.9); color: #a5d6a7; border: 1px solid rgba(165, 214, 167, 0.2); }
.badge-gf { background: rgba(40, 28, 8, 0.9); color: #ffca64; border: 1px solid rgba(255, 183, 77, 0.2); }

/* ---- Menu Selection ---- */
.menu-select-course { margin-bottom: 1.5rem; }
.menu-select-course h4 {
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

.menu-select-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.menu-select-option:hover { border-color: var(--text-muted); }
.menu-select-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.menu-select-option input[type="radio"] { margin-top: 0.25rem; accent-color: var(--accent); }
.menu-select-info strong { display: block; font-size: 0.95rem; }
.menu-select-info p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  animation: toastIn 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  max-width: 320px;
}

.toast-success { background: var(--green); }
.toast-error { background: #c62828; }
.toast-info { background: #37474f; }

@keyframes toastIn {
  from { transform: translateX(110px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-family: var(--font-display); font-size: 1.1rem; }

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover { color: var(--text); }
.modal-body { padding: 1.6rem; }

/* QR Code Display */
.qr-display { text-align: center; }
.qr-display img { max-width: 250px; margin: 0 auto 1rem; display: block; }
.qr-url {
  word-break: break-all;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

/* ============================================
   STATUS BADGES (shared with admin)
   ============================================ */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 700;
}

.status-attending { background: rgba(15, 46, 20, 0.95); color: #6ecf72; border: 1px solid rgba(110, 207, 114, 0.2); }
.status-declined { background: rgba(50, 12, 12, 0.95); color: #f06a66; border: 1px solid rgba(240, 106, 102, 0.2); }
.status-pending { background: rgba(46, 32, 8, 0.95); color: #ffc847; border: 1px solid rgba(255, 183, 77, 0.2); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero { min-height: 88vh; }
  .hero picture { left: -30px; }
  .hero picture img { object-position: center 20%; }
  .hero-content { width: 100%; text-align: center; }
  .hero-title { margin-left: 0; }
  .hero-name { font-size: 3.5rem; }
  .hero-amp { font-size: 2rem; }

  .section { padding: 3.5rem 1.3rem; }
  .section-title { font-size: 1.7rem; }

  .story-content { grid-template-columns: 1fr; gap: 1.8rem; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid img { height: 160px; }

  .venue-photos img { height: 160px; }

  .countdown { gap: 0; }
  .countdown-item { min-width: 70px; padding: 0 0.8rem; }
  .countdown-item span { font-size: 2.4rem; }
  .countdown-sep { font-size: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  .modal { max-width: 95vw; border-radius: var(--radius); }

  .toast-container { right: 1rem; left: 1rem; bottom: 1.5rem; }
  .toast { width: 100%; max-width: none; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 220px; }

  .page-container { padding-top: 4rem; }

  .floating-nav-btn { top: 0.9rem; right: 1rem; }

  .guest-banner {
    padding: 0.6rem 1rem;
  }

  .guest-banner-content {
    font-size: 0.85rem;
    gap: 0.75rem;
  }

  body.guest-signed-in {
    padding-top: 2.8rem;
  }
}

@media (max-width: 480px) {
  .hero { min-height: 80vh; }
  .hero-name { font-size: 2.6rem; }
  .hero-amp { font-size: 1.5rem; }
  .hero-date { font-size: 0.9rem; }
  .hero-venue { font-size: 0.75rem; }

  .section { padding: 3rem 1rem; }
  .section-title { font-size: 1.5rem; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .photo-grid img { height: 140px; }

  .countdown-item span { font-size: 1.8rem; }
  .countdown-item { min-width: 56px; padding: 0 0.4rem; }
  .countdown-sep { font-size: 1.4rem; }

  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; max-width: 200px; }

  .page-container { padding: 3.5rem 1rem 1rem; }
}

/* ============================================
   DESKTOP NAV — CORNER PANEL (≥900px)
   ============================================ */
@media (min-width: 900px) {
  /* Collapse the full-screen overlay into a compact corner dropdown */
  .nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    width: 270px;
    display: block;
    background: rgba(9, 8, 6, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(200, 152, 48, 0.22);
    border-bottom: 1px solid rgba(200, 152, 48, 0.22);
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 var(--radius-lg);
    box-shadow: -6px 8px 40px rgba(0, 0, 0, 0.7);
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .nav-overlay.open { transform: translateY(0); }

  /* Close button redundant — hamburger toggles it; Escape also works */
  .nav-overlay-close { display: none; }
  .nav-brand { display: none; }

  .nav-overlay-inner {
    text-align: left;
    padding: 4.5rem 1.8rem 1.8rem;
  }

  .nav-overlay-inner nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-overlay-inner nav a {
    font-size: 1.15rem;
    padding: 0.4rem 0;
    letter-spacing: 0.5px;
  }
}

/* ============================================
   CHRISTMAS / SEASONAL ENHANCEMENTS
   ============================================ */

/* Gold shimmer animation for accent elements */
@keyframes goldShimmer {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.footer::before { animation: goldShimmer 4s ease-in-out infinite; }

/* Hero date & venue — warm candlelight glow */
.hero-date { color: rgba(255, 248, 220, 0.95); }
.hero-venue { color: rgba(255, 240, 190, 0.8); letter-spacing: 2.5px; }

/* Venue card — subtle gold border on hover */
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.65), 0 0 0 1px rgba(200, 152, 48, 0.18);
}

/* Story section — image with warm gold frame */
.story-image img {
  border: 2px solid rgba(200, 152, 48, 0.2);
}

/* Checklist items — forest green left border active state */
.checklist-item:hover {
  border-left-color: var(--accent);
  background: rgba(29, 82, 48, 0.1);
}
.checklist-item.cl-active {
  border-left-color: var(--accent);
  background: rgba(29, 82, 48, 0.12);
}

/* Checklist done badge — forest green */
.badge-done {
  background: rgba(20, 64, 30, 0.8);
  color: #6ecf72;
}

/* Gallery item hover — gold glow */
.gallery-item:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.6), 0 0 0 2px rgba(200, 152, 48, 0.2);
}

/* Active tab — ensure gold colour matches new accent */
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Modal — warm dark background */
.modal {
  background: linear-gradient(145deg, var(--bg-card), rgba(10, 9, 6, 0.95));
}

/* Upload area hover */
.upload-area:hover,
.upload-area.dragover {
  border-color: var(--accent);
  background: rgba(200, 152, 48, 0.07);
  color: var(--text-light);
}

/* Lock notice colours */
.lock-notice-open {
  background: rgba(200, 152, 48, 0.1);
  border: 1px solid rgba(200, 152, 48, 0.3);
  color: var(--accent);
}

/* Toast colours */
.toast-success { background: var(--primary); }

/* ============================================
   IMPROVED DESKTOP LAYOUT (≥1200px)
   ============================================ */
@media (min-width: 1200px) {
  .section { max-width: 1100px; }
  .hero-name { font-size: 5.8rem; }
  .story-content { gap: 5rem; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .photo-grid img { height: 250px; }
  .venue-card { max-width: 720px; }
  .venue-photos img { height: 280px; }
}
