/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --cream: #faf7f2;
  --warm-white: #fffef9;
  --blush: #e8c4b8;
  --blush-light: #f5e6e0;
  --blush-dark: #c99585;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gold-dark: #a07840;
  --sage: #7a8c6e;
  --sage-light: #a8b89a;
  --sage-dark: #4a5c3e;
  --dark: #2c2c2c;
  --medium: #5a5a5a;
  --light: #9a9a9a;
  --border: rgba(201, 169, 110, 0.3);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 50px rgba(0, 0, 0, 0.12);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  border-bottom: 1px solid var(--border);
}

.navbar-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--warm-white);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.4s;
}

.navbar.scrolled .navbar-logo {
  color: var(--gold-dark);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.navbar-menu a {
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  position: relative;
}

.navbar.scrolled .navbar-menu a {
  color: var(--medium);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a:hover {
  color: var(--gold);
}

.navbar.scrolled .navbar-menu a:hover {
  color: var(--gold-dark);
}

.navbar-menu a.active {
  color: var(--gold);
}

.navbar.scrolled .navbar-menu a.active {
  color: var(--gold-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.navbar.scrolled .hamburger span {
  background: var(--dark);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2c2418 0%, #4a3828 30%, #3d4a35 70%, #2c3828 100%);
  z-index: 0;
}

.hero-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.35) 100%);
}

/* Slot for when user adds their photo */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(0,0,0,0.38) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.hero-pre {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-names .ampersand {
  font-size: 0.7em;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  margin: 20px auto;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.hero-venue {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.3s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.6);
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: var(--warm-white);
  padding: 70px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.countdown-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.countdown-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
  min-width: 120px;
  text-align: center;
}

.countdown-unit {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light);
  margin-top: 8px;
}

.countdown-separator {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold-light);
  align-self: flex-start;
  padding-top: 8px;
  line-height: 1.3;
}

/* ===== SECTIONS GENERAL ===== */
.section {
  padding: 90px 40px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-tag {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 48px;
}

.section-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--medium);
  text-align: center;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--gold-light) 100%);
  border: 2px dashed var(--gold);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.img-placeholder svg {
  width: 36px;
  height: 36px;
  stroke: var(--gold-dark);
  opacity: 0.6;
}

.img-placeholder:hover {
  background: linear-gradient(135deg, var(--blush) 0%, var(--gold-light) 100%);
}

.img-placeholder-text {
  opacity: 0.7;
}

/* ===== VENUE SECTION ===== */
.venue-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.venue-image-area {
  height: 400px;
}

.venue-image-area .img-placeholder {
  height: 100%;
  border-radius: 0;
  border: none;
  border-right: 2px dashed var(--gold);
}

.venue-info {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.venue-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.2;
}

.venue-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--medium);
  font-size: 0.95rem;
}

.venue-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.venue-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--medium);
}

.stars {
  color: #f4b942;
  letter-spacing: 2px;
  font-size: 1rem;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.btn-maps:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 92, 62, 0.3);
}

.btn-maps svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ===== SCHEDULE ===== */
.schedule-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.6s ease both;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold-dark);
  min-width: 70px;
  font-weight: 300;
}

.schedule-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.schedule-event {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 400;
}

.schedule-event span {
  display: block;
  font-size: 0.8rem;
  color: var(--light);
  margin-top: 2px;
}

/* ===== RSVP FORM ===== */
.rsvp-form {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 50px;
  box-shadow: var(--shadow);
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--medium);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  margin-top: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(160, 120, 64, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
}

.form-success svg {
  width: 50px;
  height: 50px;
  stroke: var(--sage);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--medium);
  font-size: 0.95rem;
}

/* ===== STORY PAGE ===== */
.story-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 49px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.story-item {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
  position: relative;
}

.story-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold-dark);
  min-width: 70px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 1px;
  padding-top: 4px;
}

.story-dot {
  position: absolute;
  left: 42px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--warm-white);
  border: 2px solid var(--gold);
  z-index: 1;
}

.story-content {
  padding-left: 44px;
  flex: 1;
}

.story-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 8px;
}

.story-content p {
  color: var(--medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

.story-photo {
  height: 220px;
  border-radius: 4px;
  margin-top: 16px;
}

/* ===== MUSIC SECTION ===== */
.music-intro {
  text-align: center;
  max-width: 550px;
  margin: 0 auto 50px;
}

.music-form {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.playlist-note {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--medium);
  font-style: italic;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* ===== INFO CARDS ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.info-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--blush-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-dark);
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 12px;
}

.info-card p, .info-card a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--medium);
  line-height: 1.7;
  text-decoration: none;
}

.info-card a {
  color: var(--gold-dark);
}

.info-card a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e1e1e;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 50px 40px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-date {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 30px;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--gold-dark);
  margin: 0 auto 24px;
}

.footer-copy {
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* ===== ORNAMENT ===== */
.ornament {
  text-align: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin: 0 auto;
  letter-spacing: 4px;
  user-select: none;
  margin-bottom: 36px;
}

/* ===== BACKGROUND VARIANTS ===== */
.bg-cream { background: var(--cream); }
.bg-white { background: var(--warm-white); }
.bg-blush { background: var(--blush-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 18px 20px;
  }

  .navbar.scrolled {
    padding: 12px 20px;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--warm-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .navbar-menu.open {
    right: 0;
  }

  .navbar-menu a {
    color: var(--dark) !important;
    font-size: 0.9rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .venue-card {
    grid-template-columns: 1fr;
  }

  .venue-image-area {
    height: 260px;
  }

  .venue-image-area .img-placeholder {
    border-right: none;
    border-bottom: 2px dashed var(--gold);
  }

  .venue-info {
    padding: 30px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .rsvp-form {
    padding: 30px 22px;
  }

  .section {
    padding: 64px 20px;
  }

  .story-timeline::before {
    display: none;
  }

  .story-item {
    flex-direction: column;
    gap: 10px;
  }

  .story-dot {
    display: none;
  }

  .story-content {
    padding-left: 0;
  }

  .countdown-item {
    min-width: 70px;
  }

  .countdown-number {
    min-width: 80px;
    font-size: 2.8rem;
  }

  .countdown-separator {
    font-size: 2rem;
  }

  .music-form {
    padding: 26px 20px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
  
.admin-link { display: inline-block; margin-top: 15px; font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(0,0,0,0.3); text-decoration: none; transition: color 0.3s; }  
.admin-link:hover { color: var(--gold); } 
