:root {
  --bg: #E7DDC9;
  --card: #ffffff;
  --text: #2F2F2F;
  --muted: #4a4a4a;
  --primary: #243B33;
  --hover: #D6A2A6;
  --header: #A9CBE6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
header {
  background: var(--header);
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
}

/* HERO */
.hero {
  background: var(--card);
  padding: 40px 16px;
  text-align: center;
  border-bottom: 4px solid var(--header);
}

/* LAYOUT */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 16px;
}

section {
  background: var(--card);
  margin: 16px 0;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* =========================
   CAROUSEL
========================= */

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 500px;
  object-fit: scale-down;
}

@media (max-width: 768px) {
  .slide {
    height: 240px;
  }
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(36, 59, 51, 0.6);
  color: white;
  border: none;
  font-size: 28px;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 92%;
  max-height: 88%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: white;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: 10px;
}

.lightbox .prev {
  left: 10px;
}

.lightbox .next {
  right: 10px;
}

/* LINKS */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  background: var(--primary);
  color: white;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 24px;
  background: var(--header);
}
