:root {
  --void: #070509;
  --burgundy: #80000b;
  --purple: #400082;
  --parchment: #cbb994;
  --brass: #b08d57;
  --brass-dim: #7d6640;
}

@font-face {
  font-family: 'Ornament';
  src: url('assets/ornament.woff2') format('woff2');
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.body-row {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.filigree-divider {
  position: absolute;
  top: 260px;
  left: 260px;
  width: calc(100% - 260px);
  height: 32px;
  background-image: url('assets/filigree-down.png');
  background-repeat: repeat-x;
  background-position: top center;
  background-size: auto 100%;
  background-color: transparent;
  z-index: 5;
  pointer-events: none;
}

/* ---------- Sidebar ---------- */

.sidebar {
  width: 260px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  overflow: hidden;
  border-right: 4px solid #000000;
}

.sidebar-inner {
  width: 100%;
  height: 780px;
  max-height: 100%;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.7) 100%),
    url('assets/candelabra.webp');
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

nav.sidebar-nav a {
  font-family: 'Germania One', serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--burgundy);
  /* -webkit-text-stroke: 0.8px #000000; */
  text-decoration: none;
  position: relative;
    padding: 0px 1px;
  background: rgba(0, 0, 0, 1);
  border-radius: 0;
}

nav.sidebar-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

nav.sidebar-nav a:hover {
  color: var(--brass);
 /* -webkit-text-stroke: 0.6px #000000; */
}

nav.sidebar-nav a:hover::after {
  width: 70%;
}

nav.sidebar-nav a.current {
  color: var(--brass);
 /* -webkit-text-stroke: 0.6px #000000; */
}

nav.sidebar-nav a.current::after {
  width: 70%;
}

/* ---------- Main column ---------- */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
}

/* ---------- Header ---------- */

.header {
  position: relative;
  height: 260px;
  background-image: url('assets/ivy.webp');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #000000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.72) 45%,
    rgba(0,0,0,0.95) 82%,
    #000000 100%
  );
}

.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 2.5rem;
  width: 100%;
}

.header-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.header-names {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: 0.06em;
  color: var(--burgundy);
  text-shadow: 0 2px 18px rgba(0,0,0,0.85);
  line-height: 1.15;
}

.header-names {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
}

.header-names .name-left {
  flex: 1 1 0;
  text-align: right;
  white-space: nowrap;
}

.header-names .name-right {
  flex: 1 1 0;
  text-align: left;
  white-space: nowrap;
}

.header-names .amp {
  display: inline-block;
  color: var(--brass);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0.35em;
}

.header-rule {
  width: 90px;
  height: 1px;
  background: var(--brass-dim);
  margin: 1rem auto 0;
}

/* ---------- Page content (gradient background wrapper, shared by all pages) ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 5rem;
  background-image: url('assets/hero-gradient.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 620px;
  text-align: center;
}

.hero-photo {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
  text-align: center;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.hero-photo img:hover {
  opacity: 0.85;
}

.hero-date {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.6rem;
}

.hero-welcome {
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.75;
  color: var(--parchment);
  opacity: 0.92;
  margin-bottom: 2.5rem;
}

.hero-location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--parchment);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--brass);
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-cta:hover {
  background: #c9a45c;
  transform: translateY(-2px);
}

/* ---------- Our Story page ---------- */

.story-inner {
  max-width: 900px;
  width: 100%;
}

.story-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--brass);
  margin-bottom: 3.5rem;
}

.page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--brass);
  margin-bottom: 3.5rem;
}

.content-inner {
  max-width: 900px;
  width: 100%;
}

.story-blurbs {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.story-blurb {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.story-blurb:nth-child(even) {
  flex-direction: row-reverse;
}

.story-photo {
  flex: 0 0 280px;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--brass-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--parchment);
  opacity: 0.6;
}

.story-photo.has-image {
  border: none;
  background: none;
  padding: 0;
  aspect-ratio: auto;
  opacity: 1;
}

.story-photo.has-image img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.story-photo.has-image img:hover {
  opacity: 0.85;
}

.photo-strip-wrap {
  position: relative;
  width: 100%;
  margin-top: 4rem;
}

.photo-strip {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  scroll-behavior: auto;
  padding: 0 4px;
}

.photo-strip::-webkit-scrollbar {
  display: none;
}

.photo-strip-item {
  flex: 0 0 auto;
  height: 240px;
  border: 6px solid #000000;
  box-sizing: border-box;
  display: block;
  cursor: pointer;
}

.photo-strip-item img {
  height: 100%;
  width: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.photo-strip-item:hover img {
  opacity: 0.85;
}

.scroll-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.scroll-zone-left {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}

.scroll-zone-right {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

.story-text {
  flex: 1;
  text-align: left;
}

.story-text h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.story-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--parchment);
  opacity: 0.9;
}

/* ---------- Countdown ---------- */

.countdown-wrap {
  margin-bottom: 3.5rem;
  text-align: center;
}

.countdown-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--parchment);
  opacity: 0.75;
  margin-bottom: 1rem;
}

.countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--brass-dim);
  background: rgba(0,0,0,0.25);
}

.countdown-unit {
  text-align: center;
  min-width: 54px;
}

.countdown-value {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--burgundy);
  line-height: 1;
}

.countdown-unit-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brass-dim);
  opacity: 0.7;
  margin-top: 0.5rem;
}

.countdown-divider {
  font-family: 'Ornament', serif;
  color: var(--brass);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  -webkit-text-stroke: 0.2px var(--brass);
  align-self: flex-start;
  margin-top: 0.0rem;
}

/* ---------- Schedule page ---------- */

.schedule-day {
  margin-bottom: 3.5rem;
  text-align: left;
}

.schedule-day:last-child {
  margin-bottom: 0;
}

.schedule-day-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  border-bottom: 1px solid var(--brass-dim);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
}

.schedule-event {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 1.75rem;
}

.schedule-event:last-child {
  margin-bottom: 0;
}

.schedule-time {
  flex: 0 0 120px;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--brass);
  text-align: right;
}

.schedule-details h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--burgundy);
  margin-bottom: 0.3rem;
}

.schedule-location {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--parchment);
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.schedule-details p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--parchment);
  opacity: 0.85;
}

/* ---------- Info page (Vegas guide, etc.) ---------- */

.info-section {
  margin-bottom: 3rem;
  text-align: left;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--burgundy);
  border-bottom: 1px solid rgba(176,141,87,0.25);
  padding-bottom: 0.5rem;
  margin-bottom: 0.9rem;
}

.info-section p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--parchment);
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.map-embed {
  margin-top: 1rem;
  border: 1px solid var(--brass-dim);
  padding: 6px;
  background: rgba(0,0,0,0.3);
}

.map-embed iframe {
  display: block;
  filter: sepia(15%) saturate(85%) brightness(0.9);
}


.ornate-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.ornate-list li {
  position: relative;
  padding-left: 1.8em;
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 0.9;
}

.ornate-list li::before {
content: "\2767";
font-family: 'Ornament', serif;
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--parchment);
  opacity: 0.4;
  border-top: 1px solid rgba(176,141,87,0.2);
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  body { height: auto; overflow: visible; }

  .body-row { flex-direction: column; overflow: visible; }

  .sidebar {
    width: 100%;
    height: auto;
    padding: 1.5rem 1rem;
  }

  .sidebar-inner {
    height: auto;
    max-height: none;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    background-position: center;
  }

  nav.sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    justify-content: center;
  }

  nav.sidebar-nav a { font-size: 0.9rem; letter-spacing: 0.5px; }

  .header { height: 180px; }

  .filigree-divider { top: 180px; left: 0; width: 100%; }

  .main { height: auto; overflow-y: visible; }

  .story-blurb,
  .story-blurb:nth-child(even) {
    flex-direction: column;
  }

  .story-photo { flex: none; width: 100%; max-width: 320px; }

  .schedule-event {
    flex-direction: column;
    gap: 0.3rem;
  }

  .schedule-time {
    flex: none;
    text-align: left;
  }

  .countdown {
    gap: 8px;
    padding: 1.25rem 0.75rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
