/* =========================================================
   Ombe Guestfarm & Safari — Base / Reset / Typography
   ========================================================= */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--text-on-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Lazy-load fade in */
img.lazy { opacity: 0; transition: opacity 0.5s ease; }
img.lazy.loaded { opacity: 1; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ---- Container ---- */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

/* ---- Section themes ---- */
.section-dark {
  background: var(--dark);
  color: var(--text-on-dark);
}
.section-light {
  background: var(--light);
  color: var(--text-on-light);
}
.section-deep {
  background: var(--dark-deep);
  color: var(--text-on-dark);
}

section {
  padding-block: var(--section-pad);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 680px;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* ---- Accent Button ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease), transform 0.15s;
}
.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-hover); }

.btn-ghost {
  border: 1px solid rgba(244,235,213,0.5);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline-light {
  border: 2px solid var(--light);
  color: var(--light);
}
.btn-outline-light:hover {
  background: var(--light);
  color: var(--dark);
}

/* ---- Grid utilities ---- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }

/* ---- Divider ---- */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-block: 1rem 1.5rem;
}

/* ---- Card ---- */
.card {
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* ---- Price tag ---- */
.price-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  border: 1px solid var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

/* ---- Bullet lists ---- */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bullet-list li {
  padding-left: 1.25rem;
  position: relative;
}
.bullet-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.5em;
  top: 0.55em;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- Responsive helpers ---- */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}
