/* ===========================
   Rustic & Romantic Wedding
   Seema & Shashank
   =========================== */

:root {
  --sage: #8B9D77;
  --sage-light: #A8B896;
  --cream: #FAF7F2;
  --warm-white: #FFFDF9;
  --blush: #E8D5C4;
  --dusty-rose: #C9A89A;
  --earth: #6B5B4E;
  --earth-dark: #4A3F35;
  --gold: #B8935A;
  --text: #3E3530;
  --text-light: #7A6E66;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--warm-white);
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.nav.scrolled .nav-logo {
  color: var(--earth-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-white);
  transition: color 0.3s;
  position: relative;
}

.nav.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--warm-white);
  cursor: pointer;
  transition: color 0.3s;
}

.nav.scrolled .nav-toggle {
  color: var(--earth-dark);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--warm-white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/250924shashank0009.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: contrast(1.3) saturate(0.8);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-title span {
  display: inline-block;
  font-style: italic;
  margin: 0 8px;
  color: var(--gold);
}

.hero-date {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* ---- Button ---- */

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--sage);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--sage-light);
  transform: translateY(-1px);
}

/* ---- Sections ---- */

.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background-color: var(--warm-white);
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--earth-dark);
  margin-bottom: 8px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 48px;
}

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

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-image img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--blush);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-light);
  border: 2px dashed var(--dusty-rose);
}

.map-placeholder {
  aspect-ratio: 16/9;
}

.story-text h3 {
  font-size: 1.8rem;
  color: var(--earth-dark);
  margin-bottom: 16px;
}

.story-text p {
  margin-bottom: 16px;
  color: var(--text-light);
}

/* ---- Events ---- */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.event-card {
  background: var(--cream);
  padding: 40px 28px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--blush);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.event-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--sage);
}

.event-card h3 {
  font-size: 1.5rem;
  color: var(--earth-dark);
  margin-bottom: 12px;
}

.event-date {
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 4px;
}

.event-time,
.event-venue {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.event-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---- Travel ---- */

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.travel-card {
  background: var(--cream);
  padding: 36px 28px;
  border-radius: 4px;
  border: 1px solid var(--blush);
}

.travel-card h3 {
  font-size: 1.4rem;
  color: var(--earth-dark);
  margin-bottom: 12px;
}

.travel-card p {
  color: var(--text-light);
  margin-bottom: 12px;
}

.travel-card ul {
  padding-left: 0;
}

.travel-card li {
  color: var(--text-light);
  padding: 6px 0;
  border-bottom: 1px solid var(--blush);
  font-size: 0.95rem;
}

.travel-card li:last-child {
  border-bottom: none;
}

/* ---- RSVP ---- */

.rsvp {
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
  text-align: center;
}

.rsvp-subtitle {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.rsvp-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--warm-white);
  border: 1px solid var(--blush);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.rsvp-form .btn {
  width: 100%;
  margin-top: 8px;
}

.rsvp-note {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--sage);
}

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

.footer {
  text-align: center;
  padding: 48px 24px;
  background: var(--earth-dark);
  color: var(--blush);
}

.footer p:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-date {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

/* ---- Mobile ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 247, 242, 0.97);
    padding: 24px;
    gap: 16px;
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--text) !important;
  }

  .nav-toggle {
    display: block;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .section {
    padding: 64px 0;
  }
}
