/*
  Celeste & Vivek – starter static site
  - Ferly: display (titles / names)
  - Libre Baskerville: body/content
*/

:root{
  --bg: #0c0c0c;
  --bg2: #060606;
  --text: rgb(228, 221, 211);
  --muted: rgba(242,242,242,0.78);
  --muted2: rgba(242,242,242,0.62);
  --accent: rgba(226,200,150,0.9);

  --container: 1080px;
  --header-pad-top: 44px;
  --header-gap: 18px;
}

@font-face{
  font-family: "Ferly";
  src: url("assets/Ferly-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "LibreBaskerville";
  src: url("assets/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--text);
  background: #131313;
  font-family: "LibreBaskerville", Georgia, serif;
  overflow-x: hidden;
}

/* Decorative florals */
.floral{
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.95;
  filter: saturate(0.95) contrast(0.95);
}

.floral--top{
  top: 120px;
  left: 0px;
  width: min(62vw, 900px);
  height: auto;
}

.floral--bottom{
  left: -140px;
  bottom: -160px;
  width: min(65vw, 980px);
  height: auto;
}

.floral--right{
  right: -20px;
  bottom: 0;
  height: 60%;
  width: auto;
}

/* Header */
.site-header{
  position: fixed;
  top: 0;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 20px 16px;
  text-align: center;
  z-index: 1000;
  background: #131313;
  border-bottom: 1px solid var(--text);
}

.site-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--header-gap);
}

.site-title{
  font-family: "Ferly", "LibreBaskerville", serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
}

.nav{
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav__link{
  color: var(--text);
  text-decoration: none;
  padding: 8px 6px;
  border-bottom: 2px solid transparent;
  transition: opacity 150ms ease, border-color 150ms ease;
}

.nav__link:hover{ opacity: 0.9; }

.nav__link.is-active{
  border-bottom-color: rgba(242,242,242,0.8);
}

/* Main hero */
.hero{
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__inner{
  width: 100%;
  max-width: var(--container);
  padding: 40px 28px 64px;
  text-align: center;
}

.names{
  margin: 0;
  padding-top: 100px;
  font-family: "Ferly", serif;
  font-weight: 400;
  color: var(--text);
}

.names__line{
  display: block;
  font-size: 75px;
}

.names__and{
  display: block;
  margin: 30px;
  font-family: "LibreBaskerville", Georgia, serif;
  font-size: 18px;
  color: var(--text);
}

.event{
  margin-top: 110px;
}

.event__date{
  font-family: "Ferly", serif;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.event__location{
  margin-top: 14px;
  font-size: 16px;
  color: var(--text);
}

.countdown{
  margin-top: 64px;
  font-size: 16px;
  color: var(--text);
}

.countdown__value{
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Extra sections (hidden by default; shown via JS when navigating) */
.section{
  inset: 0;
  padding-top: 160px;
  justify-content: center;
  align-items: flex-start;
}

.section__inner{
  max-width: var(--container);
  width: 100%;
  padding: 40px 28px;
  text-align: left;
}

.section__title{
  font-family: "Ferly", serif;
  font-size: 44px;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: var(--text);
}

.section__text, .section__text a {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.sch-day {
  color: rgb(228, 221, 211);
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  margin-top: 0;
  margin-bottom: 70px;
  text-align: center;
}
.sch-day h2 {
  font-family: Ferly;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-size: 35px;
  font-weight: 400;
}
.sch-events {
}
.sch-event {
  font-family: "LibreBaskerville", Georgia, serif;
  margin-bottom: 4px;
  margin-top: 44px;
}
.sch-event h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
  margin: 0px;
}
.sch-time {
  font-size: 16px;
  line-height: 1.6;
  margin: 4px 0 0;
}
.sch-desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 11px;
}

/* Responsive tweaks */
@media (max-width: 720px){
  .site-title{ font-size: 34px; }
  .nav{ font-size: 16px; gap: 18px; }
  .event{ margin-top: 80px; }
  .event__date{ font-size: 28px; }
  /*.floral--top{ width: min(85vw, 900px); }*/
  .floral--right{ right: -250px; bottom: -140px; height: 85vh; }
}

@media (prefers-reduced-motion: reduce){
  .nav__link{ transition: none; }
}
