/* ------------ Font & Reset ------------ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Crimson Pro', serif;
  background: #f9f5ee;
  color: #3a2c21;
  scroll-behavior: smooth;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

/* ------------ Navbar ------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #f5efe0;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #3a2c21;
  z-index: 1002;
}

.logo i {
  font-size: 1.2rem;
  color: #3a2c21;
  display: flex;
  align-items: center;
}

.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: #3a2c21;
  z-index: 1002;
  display: flex;
  align-items: center;
  height: 100%;
}

#menu-toggle {
  display: none;
}

.menu {
  display: flex;
  gap: 1.5rem;
  z-index: 1001;
}

.menu a {
  text-decoration: none;
  color: #3a2c21;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #6d4e3c;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: nowrap;
    padding: 0.5rem 1rem;
    height: 56px;
  }

  .logo {
    font-size: 1rem;
    gap: 0.4rem;
  }

  .logo i {
    font-size: 1rem;
  }

  .menu {
    position: absolute;
    top: 56px;
    right: 15px;
    background: #fffdf8;
    flex-direction: column;
    padding: 1rem;
    display: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .menu a {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.4rem;
    position: relative;
    top: 0;
    right: 0;
  }

  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }
}

@media (min-width: 769px) {
  .menu-icon {
    display: none !important;
  }
}

/* ------------ Hero Section ------------ */
header.hero {
  position: relative;
  height: 100vh;
  background: url('assets/sample-hero.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 60px;
  overflow: hidden;
}

header.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 20, 10, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  max-width: 720px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ------------ Main Sections ------------ */
main section {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: auto;
  position: relative;
  background: #f9f5ee;
}

main section:nth-of-type(even) {
  background: #f3efe5;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

section p,
section li {
  font-size: 1.1rem;
  line-height: 1.6;
}

ul {
  padding-left: 1.5rem;
}

.separator {
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.separator svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ------------ CTA Section ------------ */
.cta {
  text-align: center;
  margin-top: 4rem;
}

.cta a,
.btn-scroll {
  padding: 0.75rem 1.5rem;
  background: #6d4e3c;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta a:hover,
.btn-scroll:hover {
  background: #4e372a;
}

/* ------------ Footer ------------ */
footer {
  background: #e8ded0;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #5a4b3d;
}

/* ------------ Fade-in Animation for Sections ------------ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ------------ Timeline ------------ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.timeline-item .icon {
  flex-shrink: 0;
  font-size: 1.8rem;
  color: #6d4e3c;
  margin-top: 4px;
}

.timeline-item .content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #3a2c21;
}

.timeline-item .content p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: #4b4035;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .timeline {
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .timeline-item .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    margin-top: 0;
  }

  .timeline-item .content h3 {
    font-size: 1.2rem;
  }

  .timeline-item .content p {
    font-size: 0.95rem;
  }
}

/* ------------ Gallery (Desktop & Mobile) ------------ */
/* GALLERY DEFAULT (Desktop - 3 Gambar Grid) */
.gallery-frame {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fdf8f2;
  border: 8px solid #d9cbb3;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.gallery-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-slide {
  display: block;
  width: 32%;
  object-fit: contain;
  border-radius: 8px;
}

/* Sembunyikan tombol prev/next di desktop */
.gallery-nav {
  display: none;
}

/* MOBILE: Slide aktif satu per satu */
@media (max-width: 768px) {
  .gallery-inner {
    display: block;
    position: relative;
  }

  .gallery-slide {
    display: none;
    width: 100%;
  }

  .gallery-slide.active {
    display: block;
  }

  .gallery-nav {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    z-index: 10;
  }

  .gallery-nav.prev { left: 10px; }
  .gallery-nav.next { right: 10px; }
}
/* ------------ FAQ Section ------------ */
.faq-section {
  background: #f3efe5;
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e6dcd0;
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #3a2c21;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-container details {
  background: #f9f5ee;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e3d8c9;
}

.faq-container summary {
  font-weight: bold;
  font-size: 1.1rem;
  color: #5a4b3d;
  list-style: none;
  position: relative;
  padding-right: 1.2rem;
}

.faq-container summary::after {
  content: "➕";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-container details[open] summary::after {
  content: "➖";
}

.faq-container p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b4035;
}
