/* ─── RESET & ROOT ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #050708;
  --dark:      #090c0f;
  --night:     #0d1117;
  --forest:    #111a10;
  --pine:      #162214;
  --moss:      #1e3318;
  --leaf:      #2d5022;
  --sage:      #3d6b2e;
  --ember:     #a0522d;
  --fire:      #b8621e;
  --gold:      #c8891a;
  --amber:     #d4a832;
  --parchment: #e5d4b0;
  --cream:     #ede8d8;
  --white:     #f8f5ee;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ─── TYPOGRAPHY ─────────────────────────── */
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; line-height: 1.15; }
a { color: var(--fire); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 500; color: var(--white); }
em { font-style: italic; }

/* ─── NAVIGATION ─────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .4s;
}
.site-nav.scrolled {
  background: rgba(5,7,8,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(160,82,45,.12);
}
.nav-logo {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 1.3rem; letter-spacing: .2em; color: var(--fire);
  text-decoration: none; display: flex; align-items: center; gap: .6rem;
}
.nav-logo-sub { font-size: .65rem; letter-spacing: .3em; color: var(--parchment); opacity: .6; font-weight: 300; display: block; margin-top: -.1rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--parchment); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; opacity: .75; text-decoration: none;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--amber); }
.nav-cta {
  background: var(--ember) !important; color: var(--white) !important;
  padding: .5rem 1.4rem; opacity: 1 !important;
  font-weight: 500 !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--fire) !important; text-decoration: none !important; }

/* ─── HERO ───────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,7,8,.4) 0%, rgba(5,7,8,.6) 40%, rgba(5,7,8,.95) 85%, var(--black) 100%),
    url('img/hero.jpg') center center / cover no-repeat;
}
.hero-content { position: relative; text-align: center; max-width: 940px; padding: 0 2rem; margin-top: 4rem; }
.hero-eyebrow {
  font-size: .7rem; letter-spacing: .45em; text-transform: uppercase;
  color: var(--fire); margin-bottom: 1.5rem;
  animation: fadeUp .9s ease .3s both;
}
.hero-title {
  font-size: clamp(3.5rem, 12vw, 10rem); font-weight: 700;
  line-height: .9; color: var(--white); margin-bottom: 1.5rem;
  animation: fadeUp .9s ease .5s both;
}
.hero-title .accent { color: var(--fire); }
.hero-subtitle {
  font-family: 'Source Serif 4', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.45rem); line-height: 1.75;
  color: var(--parchment); max-width: 640px; margin: 0 auto 2.5rem;
  animation: fadeUp .9s ease .7s both;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .9s ease .9s both;
}

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-block; font-family: 'Oswald', sans-serif;
  font-size: .95rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: none; transition: background .2s, transform .2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary { background: var(--ember); color: var(--white); padding: .9rem 2.5rem; }
.btn-primary:hover { background: var(--fire); transform: translateY(-2px); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--cream); padding: .9rem 2.5rem;
  border: 1px solid rgba(229,212,176,.25); clip-path: none;
}
.btn-ghost:hover { border-color: var(--fire); color: var(--fire); text-decoration: none; }

/* ─── SECTIONS ───────────────────────────── */
section { padding: 7rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: .68rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--fire); margin-bottom: .9rem;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 600; color: var(--white); margin-bottom: 1.5rem;
}
.section-lead {
  font-family: 'Source Serif 4', serif; font-style: italic;
  font-size: 1.1rem; line-height: 1.8; color: var(--parchment); max-width: 680px;
}
.divider { width: 50px; height: 2px; background: linear-gradient(to right, var(--fire), transparent); margin: 1.5rem 0; }
.divider-center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

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

/* ─── CARDS ──────────────────────────────── */
.card {
  background: var(--night); border: 1px solid rgba(160,82,45,.12);
  transition: background .3s, transform .3s;
}
.card:hover { background: var(--forest); transform: translateY(-3px); }
.card-inner { padding: 2.2rem; }
.card-icon {
  width: 48px; height: 48px; background: rgba(160,82,45,.12);
  border: 1px solid rgba(160,82,45,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--fire); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 {
  font-size: 1.05rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); margin-bottom: .7rem;
}
.card p { font-size: .88rem; line-height: 1.75; color: var(--parchment); opacity: .85; }

/* ─── QUOTE ──────────────────────────────── */
.blockquote {
  border-left: 3px solid var(--fire); padding: 1.5rem 2rem;
  background: rgba(160,82,45,.05); margin: 2rem 0;
}
.blockquote p {
  font-family: 'Source Serif 4', serif; font-style: italic;
  font-size: 1.15rem; line-height: 1.75; color: var(--cream);
}
.blockquote cite { display: block; margin-top: .75rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fire); font-style: normal; }

/* ─── BANNER STRIP ───────────────────────── */
.banner-strip {
  background: var(--black); border-top: 1px solid rgba(160,82,45,.1); border-bottom: 1px solid rgba(160,82,45,.1);
  padding: 0;
}
.banner-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.banner-item {
  padding: 2.5rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(160,82,45,.08); transition: background .3s;
}
.banner-item:last-child { border-right: none; }
.banner-item:hover { background: rgba(160,82,45,.05); }
.banner-val {
  font-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 700;
  color: var(--fire); line-height: 1; margin-bottom: .4rem;
}
.banner-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment); opacity: .65; }

/* ─── GUESTBOOK ──────────────────────────── */
.gb-entry {
  background: var(--night); border: 1px solid rgba(160,82,45,.1);
  padding: 2rem; margin-bottom: 1.5rem; border-left: 3px solid var(--fire);
}
.gb-entry-text {
  font-family: 'Source Serif 4', serif; font-style: italic;
  font-size: 1rem; line-height: 1.8; color: var(--parchment); margin-bottom: 1rem;
}
.gb-entry-author { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fire); }
.gb-form { background: var(--night); border: 1px solid rgba(160,82,45,.15); padding: 2.5rem; margin-top: 3rem; }
.gb-form h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: .1em; color: var(--white); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--parchment); opacity: .7; margin-bottom: .4rem; }
.form-group input,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(160,82,45,.2);
  color: var(--cream); padding: .75rem 1rem; font-family: 'Inter', sans-serif;
  font-size: .9rem; font-weight: 300; outline: none; resize: vertical;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--fire); }
.form-group textarea { min-height: 120px; }

/* ─── GALLERY ────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin-top: 3rem;
}
.gallery-item {
  aspect-ratio: 1; overflow: hidden; cursor: pointer; background: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; filter: brightness(.8) saturate(.85); }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(.95) saturate(1); }
.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; opacity: .2; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--parchment); height: 100%; min-height: 200px;
}

/* ─── FOOTER ─────────────────────────────── */
.site-footer {
  background: var(--black); border-top: 1px solid rgba(160,82,45,.1);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-logo {
  font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700;
  letter-spacing: .2em; color: var(--fire); margin-bottom: .5rem;
}
.footer-tagline { font-size: .85rem; line-height: 1.7; color: var(--parchment); opacity: .5; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif; font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fire); margin-bottom: .8rem;
}
.footer-col a, .footer-col p {
  font-size: .83rem; color: var(--parchment); opacity: .55;
  text-decoration: none; display: block; line-height: 2.2;
}
.footer-col a:hover { opacity: .9; color: var(--amber); }
.footer-bottom {
  max-width: 1100px; margin: 1.5rem auto 0;
  font-size: .73rem; color: var(--parchment); opacity: .3; text-align: center;
}
.footer-bottom a { color: var(--fire); opacity: .6; text-decoration: none; }

/* ─── REVEAL ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── PAGE HERO (subpages) ───────────────── */
.page-hero {
  padding: 10rem 2rem 5rem; position: relative; overflow: hidden;
  background: linear-gradient(to bottom, var(--forest), var(--black));
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(160,82,45,.1) 0%, transparent 60%);
}
.page-hero-inner { position: relative; max-width: 800px; }

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

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 5rem 1.25rem; }
}
@media (max-width: 480px) {
  .banner-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── DROPDOWN NAV ───────────────────────── */
.nav-dropdown { position: relative; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(5,7,8,.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(160,82,45,.15); list-style: none;
  min-width: 220px; z-index: 300; padding: .5rem 0;
}
.nav-sub li a {
  display: block; padding: .6rem 1.2rem; font-size: .78rem;
  letter-spacing: .1em; color: var(--parchment); opacity: .65;
  text-transform: uppercase; text-decoration: none;
  transition: background .15s, opacity .15s, color .15s;
}
.nav-sub li a:hover { background: rgba(160,82,45,.08); opacity: 1; color: var(--amber); }
.nav-dropdown:hover .nav-sub { display: block; }

/* ─── HAMBURGER ──────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-hamburger span { width: 24px; height: 1.5px; background: var(--cream); display: block; transition: .3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── MOBILE NAV ─────────────────────────── */
.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,7,8,.98); z-index: 150; padding: 6rem 2rem 2rem;
  flex-direction: column; gap: .2rem; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 400;
  letter-spacing: .15em; text-transform: uppercase; color: var(--parchment);
  opacity: .75; text-decoration: none; padding: .6rem 0;
  border-bottom: 1px solid rgba(160,82,45,.08); transition: color .2s, opacity .2s;
}
.nav-mobile a:hover { color: var(--fire); opacity: 1; }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
}
