@font-face {
  font-family: 'Helvetica Bold';
  src: url('../fonts/Helvetica-Bold.woff2') format('woff2'),
      url('../fonts/Helvetica-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Import Antic Regular */
@font-face {
  font-family: 'Antic';
  src: url('../fonts/Antic-Regular.woff2') format('woff2'),
      url('../fonts/Antic-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  /* === Brand Colors === */
  --primary: #AB4937;        /* Rusty Red */
  --primary-strong: #922F25; /* Darker Rusty Red */
  --bg: #FFF7E6;             /* Soft Cream */
  --bg-soft: #FFFFFF;        /* White background variation */
  --text: #373435;           /* Charcoal Grey */
  --text-dim: #5C5C5C;       /* Dim Grey */
  --border: #E0D6C8;         /* Light beige border */
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 16px;
  --container: 1100px;
}

/* Reset ringkas */
* { box-sizing:border-box; margin:0; padding:0; }
img { max-width:100%; display:block; }
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* hilangkan scroll horizontal */
}

/* Tipografi */
body {
  font-family: 'Antic', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Bold', Helvetica, Arial, sans-serif;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 .4em;
  color: var(--primary);
}

/* Layout util */
section {
  width: 100%;
  padding: 80px 0;
}
section .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section-soft { background:var(--bg-soft); }

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  width: 100%;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
  z-index:-1;
}
.hero-text {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.hero-text h1 {
  font-size: clamp(32px,6vw,60px);
  color: #fff;
}
.hero-text p {
  max-width: 720px;
  margin: 8px auto 0;
  color: #EAF9F9;
  font-size: 1.2rem;
}

/* === About Section === */
.about {
  background: var(--bg);        /* warna dasar */
  padding: 100px 20px;          /* tinggi ruang */
  text-align: center;       /* kasih jarak ke bawah */
}

.about h2 {
  font-size: 2.6rem;            /* judul lebih besar */
  margin-bottom: 30px;
  color: var(--primary-strong); /* warna brand */
}

.about p {
  font-size: 1.05rem;  /* perkecil teks */
  line-height: 1.8;     /* jarak antar baris */
  margin-bottom: 18px;  /* spasi antar paragraf */
  color: #333;          /* opsional, biar lebih enak dibaca */
  text-align: center;       /* rata tengah */           
}
/* Cards grid */
.cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}
.card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(0,0,0,.08);
}
.card img {
  aspect-ratio:4/3;
  object-fit:cover;
  width:100%;
}
.card h3 {
  font-size:20px;
  margin:12px 16px 4px;
}
.card p {
  margin:0 16px 16px;
  color:var(--text-dim);
  font-weight:500;
}

/* === Swiper Gallery === */
.gallery { 
  position: relative; 
   margin-top: -30px; /* naikin biar lebih dekat */
}
.swiper {
  width: 100%;
  padding: 40px 0;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}
.swiper-button-next,
.swiper-button-prev { color: var(--primary); }
.swiper-pagination-bullet-active { background: var(--primary); }

/* === Activities Section === */
.activities-section {
  width: 100%;
  min-height: 100vh;
  background: url("images/activities/Ranggon.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  position: relative;
}
.activities-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.activities-section .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #fff;
}

/* Text sebelah kiri */
.activities-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #fff;
}
.activities-text p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #fff;
  max-width: 500px;
}

/* Navigasi tombol */
.activities-nav {
  display: flex;
  gap: 32px;
}
.activities-nav .swiper-button-prev,
.activities-nav .swiper-button-next {
  position: relative;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.activities-nav .swiper-button-prev:hover,
.activities-nav .swiper-button-next:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.activities-nav .swiper-button-prev::after,
.activities-nav .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

/* Card */
.activity-card {
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 500px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}
.activity-card img {
  width: 200%;
  height: 260px;
  object-fit: cover;
}
.activity-card h3 {
  margin: 20px 0 10px;
  font-size: 1.4rem;
  color: var(--text);
}
.activity-card p {
  font-size: 1rem;
  color: var(--text-dim);
  margin: 0 16px 20px;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .activities-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .activities-text h2 {
    font-size: 1.8rem;
  }
  .activities-nav {
    justify-content: center;
    margin-bottom: 20px;
  }
}

/* Scroll Reveal */
section, .card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
section.show, .card.show {
  opacity: 1;
  transform: translateY(0);
}

/* === Animal Pals Section === */
.animal-pals {
  padding: 100px 20px;
  background: #fdfbf9;
  padding-bottom: 40px;
}
.animal-pals .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.animal-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.animal-text p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* === Animal Pals Navigation Buttons === */
.animal-nav {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  justify-content: flex-start;
}
.animal-nav .swiper-button-prev,
.animal-nav .swiper-button-next {
  position: relative;
  width: 46px;
  height: 46px;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.animal-nav .swiper-button-prev:hover,
.animal-nav .swiper-button-next:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.animal-nav .swiper-button-prev::after,
.animal-nav .swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

/* Card Style Animal */
.animal-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.animal-card:hover { transform: translateY(-5px); }
.animal-card img {
  width: 100%;
  height: 320px;       /* sesuaikan tinggi */
  object-fit: cover; /* gambar utuh, tidak terpotong */
  background: #f8f8f8; /* kasih background netral supaya ada padding kalau portrait */
  border-radius: 12px;
}
.animal-card h3 {
  margin: 16px 0 8px;
  font-size: 1.2rem;
  font-weight: bold;
}
.animal-card p {
  padding: 0 16px 20px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* Swiper Animal */
.animal-swiper {
  width: 100%;
  padding: 40px 0;
}
.animal-swiper .swiper-slide {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.animal-swiper .swiper-slide-active {
  transform: scale(1.02);
}
.animal-swiper .swiper-button-next,
.animal-swiper .swiper-button-prev {
  display: none !important;
}
@media (max-width: 900px) {
  .animal-pals .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .animal-text { order: 1; }
  .animal-swiper { order: 2; }
}
@media (max-width: 768px) {
  .animal-nav {
    justify-content: center; /* rata tengah */
    margin-top: 20px;        /* kasih jarak biar rapi */
  }
}

/* Bambu Section */
.bambu-section {
  background: var(--bg-soft);
  padding: 80px 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

.bambu-container {
  display: grid;
  grid-template-columns: 1fr 2fr; /* kiri + card besar kanan */
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* LEFT */
.bambu-left h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.bambu-left p {
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0; /* biar lebih rapih tanpa tombol */
}

.menu-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #AB4937;
  color: #fff;
  font-weight: bold;
  border-radius: 40px;
  text-decoration: none;
  font-family: 'Helvetica Bold', sans-serif;
  transition: background 0.3s ease, transform 0.2s ease;
}

.menu-btn:hover {
  background: #922F25;
  transform: scale(1.05);
}

/* CARD WRAPPER */
.bambu-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 20px;
}
.bambu-card-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* swiper + text */
  gap: 20px;
  align-items: center;
}

/* SWIPER */
.bambu-swiper {
  width: 100%;
  max-width: 480px;
  height: 340px;
  overflow: visible; /* biar next card nongol */
  padding-right: 60px; /* space untuk card selanjutnya */
}

.bambu-swiper .swiper-slide {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.bambu-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bambu-swiper .swiper-slide-active {
  transform: translateY(0) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.bambu-swiper .swiper-slide-next {
  transform: translateY(20px) scale(0.95);
  opacity: 0.8;
  z-index: 2;
}

/* RIGHT TEXT */
.bambu-right {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}
.bambu-right:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* NAVIGATION */
.bambu-nav {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.bambu-nav .swiper-button-prev,
.bambu-nav .swiper-button-next {
  position: relative !important;
  inset: unset !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
/* Perkecil lingkaran tombol */
.bambu-nav .swiper-button-prev,
.bambu-nav .swiper-button-next {
  width: 32px;
  height: 32px;
}

/* Perkecil icon panah di dalam */
.bambu-nav .swiper-button-prev::after,
.bambu-nav .swiper-button-next::after {
  font-size: 14px;  /* defaultnya 20–24px, sekarang kecil */
}

.bambu-nav .swiper-button-prev:hover,
.bambu-nav .swiper-button-next:hover {
  background: var(--primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .bambu-container {
    grid-template-columns: 1fr;
  }
  .bambu-card-content {
    grid-template-columns: 1fr;
  }
}

/* Location Section */
.location-section {
  background: #fdfdfd;
  padding: 80px 20px;
  text-align: center;
  padding-top: 40px;
}

.location-text {
  margin-bottom: 30px;
}

.location-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #5AB3B3;
  border-radius: 30px;
  color: #5AB3B3;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.location-btn:hover {
  background: #5AB3B3;
  color: #fff;
}

.location-map {
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 16px;
  overflow: hidden;
}

/* ==== Footer ==== */
.footer {
  background: #fff;
  color: var(--text);
  text-align: center;
  padding: 70px 40px 40px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Antic', sans-serif;
}

/* Row 1 */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;   /* sejajarkan vertikal */
  margin-bottom: 30px;
  gap: 20px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;              /* semua punya porsi sama */
}

.footer-left { text-align: left; }
.footer-center { text-align: center; }
.footer-right { text-align: right; }

.footer-top h4 {
  font-family: 'Helvetica Bold', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #AB4937;
  margin-bottom: 6px;
}

.footer-logo {
  display: block;
  margin: 0 auto 10px;
  width: 140px;
}

/* Row 3 */
.footer-newsletter h4 {
  font-family: 'Helvetica Bold', sans-serif;
  font-size: 1.4rem;
  color: #AB4937;
  margin-bottom: 14px;
}
.subscribe-btn {
  background: #AB4937;
  color: #fff;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  margin: 12px 0 18px;  /* tambahin margin bawah lebih besar */
  transition: background 0.3s;
  font-family: 'Helvetica Bold', sans-serif;
  text-decoration: none;   /* hilangkan underline */
  display: inline-block;   /* supaya tetap keliatan tombol */
}
.subscribe-btn:hover { background: #922F25; }
.subtext {
  font-size: 0.9rem;
  color: #666;
}

/* Row 4 */
.footer-social {
  margin: 25px 0;
}
.footer-social a {
  margin: 0 12px;
  font-size: 22px;
  color: var(--text);
  transition: color 0.3s;
}
.footer-social a:hover { color: #AB4937; }

/* Row 5 */
.footer-bottom {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-left, 
  .footer-right {
    text-align: center;
  }
}

/* ==== Navbar ==== */
nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 40px;
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  justify-self: start;
  margin-right: 20px;
}
nav .logo {
  justify-self: center;
  margin: 0 20px;
}
nav .logo img {
  height: 45px;
  width: auto;
  display: block;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  justify-self: end;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-links li a:hover {
  color: #fff;
  background: var(--primary);
}
.burger { display: none; flex-direction: column; cursor: pointer; gap: 6px; justify-self: end; }
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
  border-radius: 2px;
}
nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
nav.scrolled .logo-text { color: var(--text); }
nav.scrolled .nav-links li a { color: var(--text); }
nav.scrolled .nav-links li a:hover { background: var(--primary); color: #fff; }
nav.scrolled .burger span { background: var(--text); }

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links li a { color: var(--text); }
  .burger { display: flex; }
  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}
