/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #2c2c2c;
  line-height: 1.5;
  background: #faf9f7;
}

a {
  color: #5a4a42;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-top {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #888;
  z-index: 10;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
}

.main-nav a:hover {
  text-decoration: none;
  color: #8b7355;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: block;
  padding: 6rem 1.5rem 4rem;
}

.hero-bottom-left {
  position: absolute;
  top: auto;
  right: auto;
  left: 1.5rem;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #ddd6ce url("ved-hero.png") center center / cover no-repeat;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 0;
}

/* Invitation card – white rectangle with image */
.invitation-card-wrap {
  background: #fff;
  padding: 1.25rem;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  max-width: 380px;
  width: 100%;
}

.invitation-card-wrap--event {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.invitation-card-inner {
  background: #fff;
  overflow: hidden;
  border-radius: 2px;
}

.invitation-card-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  letter-spacing: 0.2em;
  color: #6b5b52;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #2c2c2c;
  margin: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 420px;
  margin: 0 auto 2rem;
  width: 100%;
}

@media (max-width: 640px) {
  .hero-bottom-left {
    left: 0.75rem;
    bottom: 1.5rem;
  }
}

.event-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.event-card--featured {
  padding: 2rem 2.5rem;
}

.event-card--featured h2 {
  font-size: 2rem;
}

.event-card--featured .event-date,
.event-card--featured .event-date-venue {
  font-size: 1.15rem;
  margin: 0;
}

.event-card--featured .event-date-venue .venue-link {
  font-size: inherit;
}

.event-card--featured .venue-link {
  font-size: 0.95rem;
}

.event-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: #3d3530;
}

.event-date {
  font-size: 0.9rem;
  color: #6b5b52;
  margin: 0 0 0.75rem;
}

.venue-link {
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 0.25rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #5a4a42;
  border: 1px solid #8b7355;
  border-radius: 2px;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}

.cta-button:hover {
  background: #8b7355;
  color: #fff;
  text-decoration: none;
}

.cta-button--date {
  white-space: nowrap;
}

.byline {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: #3d3530;
}

.section p {
  margin: 0;
  color: #555;
}

/* Prose sections (e.g. Varanasi) */
.section--prose .section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #6b5b52;
  margin: -0.5rem 0 1rem;
}

.section--prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #3d3530;
  margin: 2rem 0 0.75rem;
}

.section--prose h3:first-of-type {
  margin-top: 0;
}

.section--prose p {
  margin-bottom: 1rem;
}

.section--prose hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.section--prose ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: #555;
}

.section--prose ul.list-plain,
.section--prose ul.list-links {
  list-style: none;
  padding-left: 0;
}

.section--prose ul.list-links a {
  color: #5a4a42;
  text-decoration: underline;
}

.section--prose li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: #999;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .main-nav ul {
    justify-content: center;
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 8rem;
  }

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