@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #FAF7F2;
  --warm-white: #FDFBF8;
  --sand: #EDE8DF;
  --terracotta: #C4714A;
  --terracotta-light: #E8956E;
  --terracotta-dark: #9E5535;
  --forest: #3D5A4A;
  --forest-light: #527A62;
  --forest-dark: #2B4035;
  --ink: #1E1E1E;
  --ink-light: #3A3A3A;
  --muted: #7A7570;
  --border: #DDD8CF;
  --gold: #B8922A;
  --gold-light: #D4A94A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background-color: var(--warm-white);
  color: var(--ink);
  line-height: 1.7;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1rem; color: var(--ink-light); }

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--terracotta-dark); }

/* ─── NAVIGATION ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

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

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-dark);
  text-decoration: none;
  line-height: 1.2;
}

.nav-logo span {
  display: block;
  font-size: 0.72rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.nav-register {
  background: var(--forest);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  border-bottom: none !important;
  font-size: 0.82rem !important;
  transition: background 0.2s !important;
}
.nav-register:hover { background: var(--forest-dark) !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--forest-dark);
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(196,113,74,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── MAIN CONTENT ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--cream);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--forest-dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}

.section-title .ornament {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--terracotta);
  margin: 1rem auto 0;
}

/* ─── CARDS ─── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── BADGES / TAGS ─── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.badge-terracotta {
  background: rgba(196,113,74,0.12);
  color: var(--terracotta-dark);
}

.badge-forest {
  background: rgba(61,90,74,0.1);
  color: var(--forest-dark);
}

.badge-gold {
  background: rgba(184,146,42,0.12);
  color: var(--gold);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: #fff;
}

.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-forest:hover {
  background: var(--forest-dark);
  color: #fff;
}

/* ─── INFO TABLE ─── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table tr {
  border-bottom: 1px solid var(--border);
}

.info-table tr:last-child { border-bottom: none; }

.info-table td {
  padding: 0.9rem 1rem;
  color: var(--ink-light);
}

.info-table td:first-child {
  font-weight: 500;
  color: var(--forest-dark);
  width: 38%;
}

/* ─── FOOTER ─── */
footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--terracotta-light);
}

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: linear-gradient(135deg, rgba(61,90,74,0.07) 0%, rgba(196,113,74,0.07) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

/* ─── TIMELINE ─── */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 2px solid var(--warm-white);
  outline: 2px solid var(--terracotta);
}

.timeline li .tl-date {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}

.timeline li .tl-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 0.25rem;
}

.timeline li p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.45s; }
