:root {
  color-scheme: light;
  --ink: #2b241d;
  --ink-soft: rgba(43, 36, 29, 0.68);
  --wood-deep: #3a2a1e;
  --wood: #5a4433;
  --wood-soft: #8a6f52;
  --amber: #c08a2e;
  --amber-dark: #9c6c1f;
  --amber-bright: #e0a84a;
  --stone: #ece3d2;
  --stone-strong: #ddccac;
  --cream: #faf6ec;
  --line: rgba(90, 68, 51, 0.18);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--stone);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--stone);
  color: var(--ink);
  animation: fadeIn 0.4s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2, h3, .display-font {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--wood-deep);
}

a {
  color: var(--amber-dark);
}
a:hover {
  color: var(--wood-deep);
}

.text-muted {
  color: var(--ink-soft) !important;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.5rem;
}

/* Navbar */
.navbar:not(.navbar-dark) {
  background: rgba(250, 246, 236, 0.94) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(58, 42, 30, 0.1);
  border-bottom: 1px solid var(--line);
}
.navbar-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--wood-deep) !important;
}
.navbar .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--amber-dark);
}
.navbar-dark .nav-link,
.navbar-dark .navbar-brand {
  color: #fff !important;
}
.navbar-dark .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero */
.hero {
  min-height: 480px;
  background-color: var(--wood);
  background-image:
    linear-gradient(135deg, rgba(58, 42, 30, 0.90) 0%, rgba(90, 68, 51, 0.80) 55%, rgba(138, 111, 82, 0.55) 100%),
    url('images/hero.jpg');
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(224, 168, 74, 0.22), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(224, 168, 74, 0.14), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.3), transparent 40%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 680px;
}
.hero .badge {
  background: rgba(224, 168, 74, 0.22);
  color: var(--amber-bright);
  border: 1px solid rgba(224, 168, 74, 0.4);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.hero-wave {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: -2px;
}
.page-hero {
  min-height: 300px;
}

/* Buttons */
.btn-amber {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  font-weight: 600;
}
.btn-amber:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: #fff;
}
.btn-outline-amber {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
}
.btn-outline-amber:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Cards */
.card {
  border: 1px solid var(--line);
  background: var(--cream);
}
.highlight-card {
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  height: 100%;
}
.highlight-card .icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.space-card {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 3rem;
}
.space-card .space-photo {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: linear-gradient(135deg, var(--wood-deep) 0%, var(--wood) 55%, var(--wood-soft) 100%);
}
.space-card .space-body {
  padding: 2rem;
}
.space-card .space-tag {
  display: inline-block;
  background: var(--stone-strong);
  color: var(--wood-deep);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* History timeline */
.timeline-item {
  border-left: 3px solid var(--stone-strong);
  padding: 0 0 2.5rem 1.75rem;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--stone);
}
.timeline-year {
  display: inline-block;
  font-weight: 700;
  color: var(--amber-dark);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--stone-strong);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 0.85rem;
}

/* Events */
.event-card {
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(58, 42, 30, 0.16);
}
.event-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--stone-strong);
}
.event-cover-empty {
  background: linear-gradient(135deg, var(--wood-deep), var(--wood));
}

/* Testimonials */
.testimonial-card {
  border-radius: 1rem;
  padding: 1.75rem;
  height: 100%;
}
.testimonial-card .quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  color: var(--amber);
  line-height: 1;
}

/* Forms */
.form-control, .form-select {
  border: 1px solid var(--line);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem rgba(192, 138, 46, 0.18);
}
label {
  font-weight: 600;
  color: var(--wood-deep);
  font-size: 0.92rem;
}

footer {
  background: var(--wood-deep);
  color: rgba(255, 255, 255, 0.85);
}
footer p {
  color: rgba(255, 255, 255, 0.85) !important;
}
