/* ── Design Tokens ── */
:root {
  --sage: #6F7A68;
  --sage-dark: #5A6454;
  --cream: #F5F0E8;
  --cream-dark: #EBE4D8;
  --olive: #8B9A7B;
  --olive-light: #A8B89A;
  --olive-dark: #6E7D5E;
  --text-dark: #2C2C2C;
  --text-muted: #5A5A5A;
  --text-light: #F5F0E8;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1080px;
  --narrow: 680px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: min(var(--max-width), 100% - 3rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--narrow), 100% - 3rem);
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 0.85rem 1.5rem;
  background: rgba(245, 240, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(111, 122, 104, 0.12);
}

.site-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sage);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--olive-dark);
}

/* ── Shared section styles ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header--light {
  color: var(--text-light);
}

.section-header--light .section-label {
  color: var(--olive-light);
}

.section-header--light .section-intro {
  color: rgba(245, 240, 232, 0.85);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
}

.section-intro {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

/* ── Transparent olive branch decorations ── */
.olive-divider {
  display: block;
  width: auto;
  max-width: min(480px, 92vw);
  height: clamp(56px, 12vw, 88px);
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
}

.olive-divider--hero {
  max-width: min(520px, 95vw);
  height: clamp(64px, 14vw, 100px);
  margin-bottom: 1rem;
}

/* ── Hero ── */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 6rem clamp(2rem, 5vw, 4rem) 4rem;
  background: var(--sage);
  color: var(--text-light);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
  width: min(1080px, 100%);
}

.hero-content {
  max-width: 520px;
  justify-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 22ch;
}

.hero-names {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-when {
  width: 100%;
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(168, 184, 154, 0.45);
  border-bottom: 1px solid rgba(168, 184, 154, 0.45);
}

.hero-date {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.hero-location {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--olive-light);
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.65;
  opacity: 0.92;
  max-width: 36ch;
}

.hero-photo {
  justify-self: center;
  width: min(380px, 100%);
  margin: 0;
}

.photo-frame {
  position: relative;
  padding: 24px;
  background: var(--cream);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.1);
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px solid var(--olive-light);
  pointer-events: none;
  z-index: 1;
}

.photo-frame::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: -18px;
  bottom: -18px;
  border: 1.5px solid rgba(168, 184, 154, 0.45);
  z-index: -1;
}

.photo-frame__inner {
  overflow: hidden;
  position: relative;
}

.photo-frame__inner img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

/* ── Message ── */
.message {
  padding: 5rem 0;
  background: var(--cream);
  text-align: center;
}

.message-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.message-signoff {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.message-signoff span {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sage);
}

/* ── Itinerary timeline ── */
.itinerary {
  padding: 5rem 0;
  background: var(--cream-dark);
}

.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--olive-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -5rem;
  top: 0.15rem;
  width: 3.2rem;
  text-align: center;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  right: -1.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--olive);
}

.timeline-item--featured .timeline-marker::after {
  background: var(--sage);
  border-color: var(--sage);
  width: 12px;
  height: 12px;
  right: -1.45rem;
}

.timeline-day {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.timeline-card {
  background: var(--cream);
  padding: 1.5rem 1.75rem;
  border-radius: 4px;
  border-left: 3px solid var(--olive-light);
}

.timeline-item--featured .timeline-card {
  border-left-color: var(--sage);
  box-shadow: 0 4px 20px rgba(111, 122, 104, 0.12);
}

.timeline-type {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.35rem;
}

.timeline-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.timeline-meta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 0.2rem;
}

.timeline-desc {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.timeline-highlight {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--sage);
  margin-top: 0.75rem;
}

/* ── Greek phrases ── */
.greek {
  padding: 5rem 0;
  background: var(--sage);
  color: var(--text-light);
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.phrase-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(168, 184, 154, 0.25);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  transition: background 0.2s;
}

.phrase-card:hover {
  background: rgba(255, 255, 255, 0.11);
}

.phrase-greek {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.phrase-phonetic {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--olive-light);
  margin-bottom: 0.5rem;
}

.phrase-english {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-light);
}

.opa-callout {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(168, 184, 154, 0.35);
  border-radius: 4px;
  max-width: 400px;
  margin: 0 auto;
}

.opa {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.opa-note {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-light);
}

/* ── Dining ── */
.dining {
  padding: 5rem 0;
  background: var(--cream);
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.restaurant-card {
  padding: 2rem 1.75rem;
  background: var(--cream-dark);
  border-radius: 4px;
  border-top: 3px solid var(--olive-light);
}

.restaurant-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.restaurant-location {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}

.restaurant-desc {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Share photos ── */
.share {
  padding: 5rem 0;
  background: var(--sage-dark);
  color: var(--text-light);
  text-align: center;
}

.share-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.qr-placeholder {
  width: 150px;
  height: 150px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--sage);
  border: 1px solid var(--olive-light);
}

.qr-placeholder svg {
  width: 72px;
  height: 72px;
  opacity: 0.35;
}

.qr-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
}

.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1.5px solid var(--olive-light);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.upload-btn svg {
  width: 18px;
  height: 18px;
}

.upload-btn:hover {
  background: rgba(168, 184, 154, 0.15);
  border-color: var(--cream);
}

.upload-status {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--olive-light);
  min-height: 1.2em;
}

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

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  border: 2px solid rgba(168, 184, 154, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

/* ── Footer ── */
.site-footer {
  background: var(--cream-dark);
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-muted);
}

.site-footer p {
  font-family: var(--serif);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-photo {
    order: 2;
    max-width: min(320px, 85vw);
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-marker {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .timeline-marker::after {
    display: none;
  }

  .timeline-day {
    display: inline-block;
    background: var(--olive-light);
    color: var(--cream);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
  }

  .share-actions {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .site-nav a {
    font-size: 0.58rem;
  }

  .container {
    width: min(var(--max-width), 100% - 2rem);
  }
}
