:root {
  --color-brown: #5d2c04;
  --color-orange: #f5b041;
  --color-dark-text: #5d2c04;
  /* Warna teks utama yang gelap */
  --color-nav-text: #5d2c04;
}

/* Update Font Global */
body {
  font-family: 'Poppins', sans-serif;
  /* Mengganti Georgia atau serif lainnya */
  background-color: white;
  color: var(--color-dark-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  /* Membuat font terlihat lebih halus */
}

/* Update Judul History Team (Sebelumnya Georgia) */
.title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  /* Pastikan ini bukan Georgia lagi */
  font-size: 26px;
  margin-bottom: 60px;
  font-weight: 600;
  /* Dibuat lebih tegas */
  letter-spacing: 1px;
}

.title span {
  display: block;
  font-size: 32px;
  font-weight: 400;
}

/* Update Teks Filosofi & Section */
.team-philosophy,
.section p,
.text p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #444;
}

/* Update Footer agar tidak pakai Arial */
.main-footer {
  background-color: #ffffff;
  color: #000000;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
  /* Mengganti Arial */
}

.footer-section h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #3498db;
  margin-bottom: 15px;
}

/* Nama Founder & Member */
.name-link {
  text-decoration: none;
  color: inherit;
}

.founder-card .name,
.member-card .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
.nav {
  width: 100%;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  /* warna border luar hitam */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-baba {
  height: 40px;
  object-fit: contain;
}

.logo-kaia {
  height: 40px;
  object-fit: contain;
}

.logo-kagoem {
  height: 40px;
  /* ukuran ideal agar proporsional */
  object-fit: contain;
}

.nav-right a {
  margin-left: 30px;
  font-size: 20px;
  text-decoration: none;
  color: #4a1e0b;
  font-weight: 500;
  font-family: 'Poppins', sans-serif !important;
}

/* MAIN SECTION */
.hero {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* membuat logo & tulisan sejajar ke samping */
.hero-row {
  display: flex;
  align-items: center;
  gap: 5px;
  /* jarak antara logo & teks */
}



.hero-logo {
  width: 400px;
}

.tagline {
  font-size: 26px;
  color: #4a1e0b;
  font-weight: 500;
}

/* =======================================
   📱 RESPONSIVE UNTUK HP
   ======================================= */
/* =======================================
   📱 RESPONSIVE UNTUK HP
   ======================================= */
/* Global Image Rule */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 480px) {
  .nav {
    padding: 15px 15px;
    flex-wrap: wrap;
    /* Izinkan wrapping jika konten terlalu lebar */
    justify-content: center;
    /* Pusatkan konten di mobile */
    gap: 15px;
  }

  .nav-left {
    justify-content: center;
    /* Pusatkan logo */
    width: 100%;
    /* Logo ambil lebar penuh baris pertama */
  }

  /* logo di kiri mengecil */
  .logo-baba {
    height: 30px;
  }

  .logo-kaia {
    height: 28px;
  }

  .logo-kagoem {
    height: 30px;
  }

  /* menu di kanan mengecil */
  .nav-right {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .nav-right a {
    margin-left: 0;
    /* Reset margin kiri */
    margin: 0 5px;
    /* Tambah margin kiri kanan */
    font-size: 14px;
    padding: 5px;
    /* Tambah area tap */
  }

  /* konten hero */
  .hero {
    height: 60vh;
    /* Sesuaikan tinggi hero di HP */
    padding: 10px;
    flex-direction: column;
    /* Stack vertikal */
  }

  .hero-row {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo {
    width: 200px;
    /* Lebar logo hero di HP */
    margin-bottom: 15px;
  }

  .tagline {
    font-size: 18px;
    margin-top: 0;
  }
}

/* ==========================
   WEDDING GALLERY
   ========================== */

/* ==========================
   WEDDING GALLERY
   ========================== */

.wedding-section {
  width: 100%;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9f9f9;
  /* Light background for contrast */
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-header h2 {
  font-family: 'Marcellus SC', serif;
  font-size: 36px;
  color: var(--color-brown);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.gallery-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
}

/* Card */
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 250px;
  /* Fixed height for consistency */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-brown);
  text-transform: capitalize;
}

/* ==========================
   RESPONSIVE (HP)
   ========================== */

@media (max-width: 768px) {
  .wedding-section {
    padding: 40px 20px;
  }

  .gallery-header h2 {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    /* Force 1 column on mobile */
    gap: 25px;
  }

  .card img {
    height: 220px;
  }

  .gallery-header h2 {
    font-size: 24px;
  }
}

/* ==========================
   ELEGANT GALLERY STYLES
   ========================== */

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery-header-single {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.gallery-header-single::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: var(--color-brown);
}

.gallery-header-single h2 {
  font-family: 'Marcellus SC', serif;
  font-size: 42px;
  color: var(--color-brown);
  letter-spacing: 3px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.gallery-header-single p {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-size: 16px;
  color: #888;
}

.gallery {
  column-count: 3;
  column-gap: 25px;
}

.gallery img {
  width: 100%;
  break-inside: avoid;
  margin-bottom: 25px;
  border-radius: 4px;
  /* Slight softening of corners */
  background: white;
  padding: 12px;
  /* White matte frame effect */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Soft elegant shadow */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 69, 19, 0.15);
  /* Warm shadow hints */
  z-index: 2;
  position: relative;
}

@media (max-width: 900px) {
  .gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-container {
    padding: 20px 10px;
    /* Less padding on mobile to show bigger images */
  }

  .gallery {
    column-count: 2;
    /* Mimic desktop with 2 columns */
    column-gap: 10px;
    /* Tight gap for mobile */
  }

  .gallery-header-single {
    margin-bottom: 30px;
  }

  .gallery-header-single h2 {
    font-size: 28px;
    /* Safe size for mobile */
  }

  .gallery-header-single p {
    font-size: 14px;
  }

  .gallery img {
    margin-bottom: 20px;
    padding: 8px;
    /* Slightly thinner frame on mobile */
  }
}

/* ================================================= */
/* STYLE UNTUK HALAMAN TEAM                          */
/* ================================================= */

.team-page-content {
  /* Margin di atas dan bawah untuk memberikan ruang */
  padding: 40px 20px 80px 20px;
  text-align: center;
}

.logo-header {
  /* Mirip dengan logo di header utama, hanya jika Anda ingin menampilkannya di tengah */
  display: inline-flex;
  margin-bottom: 20px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.8em;
  font-weight: 400;
  color: var(--color-dark-text);
  margin-bottom: 30px;
}

.baba-highlight {
  font-weight: 600;
  color: var(--color-brown);
}

.team-photo-container {
  max-width: 900px;
  margin: 0 auto 40px auto;
  /* Ganti background dengan tag <img> yang menunjuk ke foto tim */
  /* Contoh jika Anda menggunakan <img>: */
  /* <img src="path/ke/foto-tim.jpg" alt="Foto Bersama Tim BaBa" class="team-photo"> */
}

/* Jika Anda menggunakan tag <img> untuk foto tim */
.team-photo-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  /* Sudut sedikit membulat (opsional) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-philosophy {
  max-width: 650px;
  margin: 0 auto 60px auto;
  font-size: 1em;
  line-height: 1.6;
  color: #444;
  /* Sedikit lebih gelap dari teks utama */
}

/* --- Founders Section --- */
.founders-section {
  display: flex;
  justify-content: center;
  gap: 80px;
  /* Jarak antara Umik Aci dan BaBa Wira */
  margin-bottom: 50px;
}

.founder-card {
  text-align: center;
}

.founder-card [role="img"] {
  /* Style untuk placeholder gambar founder */
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 10px auto;
  /* Ganti dengan gambar avatar founder yang sebenarnya */
}

.founder-card .name {
  font-weight: 600;
  font-size: 1.2em;
  color: var(--color-dark-text);
  transition: color 0.3s;
}

.founder-card .role {
  font-family: "Marcellus SC", serif;
  font-size: 1em;
  color: #777;
  margin-top: -5px;
}

/* --- Member Grid Section --- */
.member-grid {
  /* Creating a responsive grid */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.member-card {
  text-align: center;
  width: 100%;
}

.member-card [role="img"] {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 10px auto;
  object-fit: cover;
  border-radius: 50%;
  background-color: #eee;
}


.member-card .name {
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--color-dark-text);
}

.member-card .role {
  font-size: 0.7em;
  font-weight: 400;
  line-height: 1.2;
  color: #999;
}

/* ================================================= */
/* MEDIA QUERY: Penyesuaian Halaman Team untuk HP    */
/* ================================================= */

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5em;
  }

  .team-philosophy {
    padding: 0 15px;
  }

  .founders-section {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  /* Member grid adjusts automatically via auto-fill, no explicit media query needed usually, 
     but enforcing 2 columns for very small screens if desired: */
  @media (max-width: 480px) {
    .member-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
  }
}

.founder-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.member-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 5px;
}

.member-card,
.founder-card {
  text-align: center;
}

/* Removing duplicate member-grid definitions */
.member-photo {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 8px auto;
}

/* Bagian lamaran/
/* Container utama */
.container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Bagian foto dan teks */
.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* agar bagian 2 kebalik (foto kanan, teks kiri) */
.section.reverse {
  flex-direction: row-reverse;
}

/* Foto */
.section img {
  width: 45%;
  border-radius: 5px;
}

/* Teks */
.section p {
  width: 45%;
  font-size: 17px;
  text-align: center;
  line-height: 1.6;
}

/* ================================================= */
/* STYLE UNTUK HALAMAN LAMARAN (ELEGANT STORY)       */
/* ================================================= */

.lamaran-header {
  text-align: center;
  margin-bottom: 40px;
  /* Reduced from 80px */
}

.lamaran-header h2 {
  font-family: 'Marcellus SC', serif;
  font-size: 38px;
  color: var(--color-brown);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.lamaran-header p {
  font-family: 'Poppins', sans-serif;
  color: #777;
  font-size: 16px;
  font-style: italic;
}

.story-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  /* Reduced from 60px */
  margin-bottom: 50px;
  /* Reduced from 100px */
  /* Tightened separation */
}

.story-section.reverse {
  flex-direction: row-reverse;
}

.story-section img {
  width: 45%;
  border-radius: 8px;
  /* Clean rounded corners */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  /* Elegant deep shadow */
  transition: transform 0.4s ease;
}

.story-section img:hover {
  transform: scale(1.02);
}

.story-content {
  width: 48%;
  font-family: 'Poppins', sans-serif;
  color: #555;
  line-height: 1.9;
  font-size: 16px;
  text-align: justify;
}

.story-content p {
  margin-bottom: 20px;
}

/* RESPONSIVE LAMARAN */
@media (max-width: 768px) {
  .lamaran-header h2 {
    font-size: 30px;
  }

  .story-section,
  .story-section.reverse {
    flex-direction: column;
    /* Stack vertically on mobile */
    gap: 20px;
    /* Reduced from 30px */
    margin-bottom: 30px;
    /* Reduced from 60px */
  }

  .story-section img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
  }

  .story-content {
    width: 100%;
    text-align: center;
    /* Center text on mobile */
    padding: 0 10px;
  }
}


/* bagian poto di pallaing bawah di team/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: white;
    padding: 40px;
}

/* Judul */
.title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 60px;
  font-weight: 400;
  letter-spacing: 2px;
}

.title span {
  font-size: 32px;
  letter-spacing: 1px;
}

/* Container */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Bagian foto + teks */
.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  /* 🔥 jarak sudah didekatkan */
}

/* Teks */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 🔥 judul + teks rata kiri */
}

.text h3 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #5a2e00;
  font-weight: bold;
}

.text p {
  font-size: 17px;
  color: #5a2e00;
  line-height: 1.5;
  text-align: left;
  /* 🔥 teks sekarang rata kiri */
  margin-left: 0;
  /* pastikan tidak ada geser */
}

/* Scroll horizontal */
.scroll-box {
  width: 300px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.scroll-box img {
  width: 300px;
  border-radius: 8px;
}

/* Hilangkan scrollbar HP */
.scroll-box::-webkit-scrollbar {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    gap: 10px;
    /* di HP lebih dekat lagi */
    text-align: center;
    /* Center alignment looks better stack */
  }

  .section p {
    width: 100%;
    /* Force full width on mobile */
    text-align: center;
  }

  .scroll-box,
  .scroll-box img {
    width: 100%;
  }
}

/* Gaya Dasar Footer */
.main-footer {
  /* Properti yang sudah ada ... */
  background-color: #2c3e50;
  /* ... */

  /* Tambahkan margin-top di sini */
  margin-top: 80px;
  /* Anda bisa menyesuaikan angka (80px, 100px, dsb.) */
}

.main-footer {
  background-color: #ffffff;
  /* Warna latar belakang gelap */
  color: #000000;
  /* Warna teks terang */
  padding: 40px 20px 20px;
  /* Padding atas, samping, bawah */
  font-family: Arial, sans-serif;
}

/* Container untuk mengatur tata letak 3 kolom */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  /* Menggunakan Flexbox */
  justify-content: space-between;
  /* Memberi jarak antar kolom */
  flex-wrap: wrap;
  /* Agar kolom bisa turun ke bawah di layar kecil */
  gap: 30px;
  color: #000000;
  /* Warna tautan */
  text-decoration: none;
  /* Menghilangkan garis bawah */
  transition: color 0.3s;
}

/* Gaya untuk setiap bagian/kolom */
.footer-section {
  flex: 1;
  /* Memberikan ukuran yang sama */
  min-width: 250px;
  /* Lebar minimum agar tidak terlalu sempit */
}

.footer-section h3 {
  color: #3498db;
  /* Warna biru untuk judul */
  margin-bottom: 15px;
  font-size: 1.2em;
}

/* Gaya untuk list (WA, Instagram, Tautan) */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #000000;
  /* Warna tautan */
  text-decoration: none;
  /* Menghilangkan garis bawah */
  transition: color 0.3s;
}

/* Gaya Ikon (WA dan Instagram) */
.footer-section ul li a i {
  margin-right: 8px;
  font-size: 1.1em;
}

/* Media Query untuk layar kecil (mobile) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    /* Mengubah tata letak menjadi tumpukan vertikal */
    gap: 20px;
  }

  .footer-section {
    min-width: 100%;
    text-align: center;
  }

  .footer-section ul {
    text-align: center;
    /* Rata tengah list item */
  }
}

/* ================================================= */
/* HAMBURGER MENU STYLES                             */
/* ================================================= */

.hamburger {
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-brown);
  border-radius: 5px;
  transition: all 0.3s;
}

/* RESPONSIVE NAVBAR */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    /* Show on mobile */
    position: absolute;
    right: 25px;
    /* Aligned to right */
    top: 50%;
    transform: translateY(-50%);
  }

  .nav {
    position: relative;
    /* Ensure dropdown is positioned relative to header */
    padding: 15px 20px;
    /* Reduced vertical padding */
    justify-content: flex-start;
    /* Keep logo to left */
  }

  .nav-right {
    display: none;
    /* Hide links by default */
    position: fixed;
    /* Fixed to cover screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    background-color: rgba(255, 255, 255, 0.98);
    /* Slightly transparent white */
    flex-direction: column;
    justify-content: center;
    /* Center items vertically */
    align-items: center;
    z-index: 999;
    /* Below hamburger but above content */
    transition: opacity 0.4s ease;
  }

  .nav-right.active {
    display: flex;
    /* Show when toggled */
    animation: fadeIn 0.5s ease forwards;
  }

  .nav-right a {
    font-family: 'Marcellus SC', serif;
    /* Premium font */
    font-size: 24px;
    /* Larger text */
    color: var(--color-brown);
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    /* Animate items in */
    animation: slideUp 0.5s ease forwards;
  }

  /* Stagger animation for links */
  .nav-right a:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-right a:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-right a:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-right a:nth-child(4) {
    animation-delay: 0.4s;
  }

  /* Adjust Z-Index of hamburger to be ON TOP of the menu */
  .hamburger {
    z-index: 1001;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}