@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --ink: #20231f;
  --muted: #6f746d;
  --paper: #f4efe7;
  --card: #fffdf8;
  --line: rgba(32,35,31,.14);
  --forest: #182019;
  --forest-soft: #263229;
  --cream: #f7f0e4;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(34, 38, 32, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.04;
  margin-top: 0;
}

h1 { font-size: clamp(3.1rem, 10vw, 7rem); }
h2 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
h3 { font-size: 1.6rem; }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.narrow { width: min(760px, calc(100% - 36px)); }

.eyebrow {
  margin-bottom: .8rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow.light { color: rgba(255,255,255,.65); }

.site-hero {
  min-height: 38vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 50px 20px;
  border-bottom: 1px solid var(--line);
}

.site-hero h1 { margin-bottom: 1rem; }

.lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 18px;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading > p {
  max-width: 360px;
  color: var(--muted);
  margin: 0;
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 36px;
}

.party-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

/*card photo and dark overlay for photo cards*/
.photo-card {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

/*changes the overlay gradient for photo cards*/
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
     rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.72)
  );
}

.photo-card > * {
  position: relative;
  z-index: 1;
}

.photo-card p {
  color: rgba(255,255,255,.88);
  line-height: 1.45;
  margin: 0;
}

.photo-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}


a.party-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 65px rgba(34,38,32,.12);
}

.party-card.featured {
  background: var(--forest);
  color: white;
}

.party-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
}

.party-card p {
  color: var(--muted);
}

.featured p,
.photo-card p {
  color: rgba(255,255,255,.8);
}

.pill {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.card-link { font-weight: 600; }

.muted-card { opacity: .72; }

.site-footer,
.event-footer {
  padding: 38px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.event-hero {
  min-height: 48svh;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(140deg, #111812, #2b392e);
  padding: 24px;
}

.event-nav {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: .9rem;
}

.event-nav a {
  text-decoration: none;
  opacity: .78;
}

.event-nav a:first-child { margin-right: auto; }

.event-hero__content {
  min-height: calc(48svh - 70px);
  display: grid;
  place-content: center;
  text-align: center;
  width: min(850px, 100%);
  margin: auto;
}

.event-hero__content h1 { margin-bottom: 1rem; }

.event-hero__content p {
  margin: 0 auto 2rem;
  color: rgba(255,255,255,.72);
  font-size: 1.12rem;
}

/* Hero buttons */

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button-outline {
  color: white;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
}

.button-outline:hover {
  background: rgba(255,255,255,.1);
}

/* Hero button transitions when hovering*/

.hero-buttons .button {
  transition: 
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-buttons .button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hero-buttons .button:active {
  transform: translateY(0);
  box-shadow: none;
}


/* Party details */

.details-section {
  padding: 70px 0;
  background: #ebe6dc;
  border-bottom: 1px solid var(--line);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.detail-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.detail-card:nth-child(n+3) {
  border-top: 1px solid var(--line);
}

.detail-card {
  padding: 20px;
  text-align: center;
}

.detail-label {
  display: block;
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-card strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.detail-card span:last-child {
  color: var(--muted);
}


/* Mobile */

@media (max-width: 600px) {

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

}

.event-group {
  padding-bottom: 10px;
}

.past-events {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}

.button {
  display: inline-block;
  justify-self: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-light {
  color: var(--forest);
  background: var(--cream);
}

.menu-section { padding: 75px 0 90px;
  background: var(--paper); }

.center-heading {
  text-align: center;
  margin-bottom: 64px;
}

.center-heading p {
  max-width: 580px;
  margin-inline: auto;
  color: var(--muted);
}

.menu-course {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.menu-course h3 {
  text-align: center;
  margin-bottom: 30px;
}

.menu-item {
  padding: 16px 0;
  text-align: center;
}

.menu-item strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
}

.menu-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .94rem;
}

.menu-note {
  margin-top: 44px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
}

.menu-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

.photos-section {
  background: var(--forest);
  color: white;
  padding-bottom: 90px;
}

.light-heading > p { color: rgba(255,255,255,.62); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
}

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

.gallery-item:hover img { transform: scale(1.025); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.lightbox {
  width: min(1100px, 94vw);
  max-width: 1100px;
  border: 0;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop { background: rgba(0,0,0,.88); }

.lightbox img {
  max-height: 88vh;
  margin: auto;
  border-radius: 12px;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.event-footer {
  background: var(--forest);
  color: white;
  border-top-color: rgba(255,255,255,.12);
}

/* Photo Action Buttons */

.photo-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .photo-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .photo-actions .button {
    text-align: center;
  }
}

@media (max-width: 820px) {
  .party-grid { grid-template-columns: 1fr; }
  .party-card { min-height: 260px; }
  .section-heading { align-items: start; flex-direction: column; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .event-nav a:not(:first-child) { display: none; }
  .event-hero { padding: 18px; min-height: 42svh; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item { min-height: 180px; border-radius: 10px; }
  .gallery-item.tall { grid-row: span 2; }
  .site-hero { min-height: 34vh; 
    padding: 40px 20px;}
    .event-hero__content { min-height: calc(42svh - 60px); }    
}


