/* ======================================== GLOBAL STYLES ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #e3eaef;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ======================================== NAVBAR ======================================== */
.navbar {
  background-color: #b0b5bb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 60px;
  position: relative;
  z-index: 100;
}

.logo img {
  height: 60px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  margin-left: 40px;
  font-weight: 500;
  font-size: 17px;
}

.nav-links a:hover,
.nav-links a.active {
  text-decoration: underline;
  color: #1e90ff;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ======================================== HOMEPAGE ======================================== */
body.home .hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  gap: 40px;
}

body.home .hero-text {
  max-width: 550px;
}

body.home .hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 20px;
}

body.home .hero-text p {
  margin-top: 15px;
  text-align: justify;
}

body.home .hero-image img {
  border-radius: 10px;
  width: 420px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Promo Section */
body.home .promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  flex-wrap: wrap;
  gap: 40px;
}

body.home .promo img {
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.home .promo-text {
  max-width: 600px;
}

body.home .promo-text h2 {
  font-size: 42px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

body.home .promo-text p {
  text-align: justify;
}

/* ======================================== ABOUT PAGE ======================================== */
body.about .about-section {
  padding: 60px 80px;
}

body.about .about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

body.about .about-image img {
  width: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.about .about-text {
  max-width: 600px;
}

body.about .about-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 20px;
}

body.about .about-text p {
  margin-bottom: 16px;
  text-align: justify;
}

/* ======================================== FOOTER ======================================== */
.footer {
  background-color: #b0b5bb;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 0; /* default 0 */
  color: #111;
}

/* ======================================== ANIMATIONS ======================================== */
.fade-in,
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible,
.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.slide-left {
  transform: translateX(-40px);
}

.slide-right {
  transform: translateX(40px);
}

.fade-in {
  transform: translateY(30px);
}

/* ======================================== GALERI PAGE ======================================== */
body.galeri .galeri-section {
  padding: 60px 80px;
  text-align: center;
}

body.galeri .galeri-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 10px;
}

body.galeri .galeri-header p {
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
}

body.galeri .galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-items: center;
}

body.galeri .galeri-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.galeri .galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

body.galeri .galeri-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

body.galeri .galeri-item:hover img {
  transform: scale(1.1);
}

/* ======================================== ARTIKEL PAGE ======================================== */
.artikel-section {
  padding: 60px 8%;
  background-color: #eef2f5;
  min-height: 100vh;
}

.artikel-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
  border-bottom: 2px solid #333;
  display: inline-block;
  padding-bottom: 6px;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background-color: #f8f6f4;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Active navbar link */
.nav-links .active {
  font-weight: 700;
  border-bottom: 2px solid #000;
  padding-bottom: 4px;
}

/* ======================================== CONTACT PAGE ======================================== */
body.contact .contact-section {
  padding: 60px 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
}

.contact-info {
  max-width: 450px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 16px;
}

.contact-info .social-media a {
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-info .social-media a:hover img {
  transform: scale(1.2);
}

.contact-info .map iframe {
  width: 100%;
  height: 250px;
  border-radius: 12px;
}

.contact-form {
  max-width: 500px;
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form .form-intro {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 8px rgba(30,144,255,0.3);
  outline: none;
}

.contact-form button {
  background: linear-gradient(135deg, #f7c59f, #f1a56b);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.map-section {
  margin-top: 50px;
  width: 100%;
  height: 450px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======================================== WHATSAPP RESERVATION ======================================== */
.wa-section {
  text-align: center;
  margin: 40px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.wa-section .wa-text {
  font-size: 18px;
  font-weight: 500;
  color: #111;
}

.wa-section .wa-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.wa-section .wa-icon:hover {
  transform: scale(1.2);
}

/* ======================================== RESPONSIVE ======================================== */
@media (max-width: 900px) {

  /* Navbar responsive */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #b0b5bb;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 10px 0;
  }

  /* Homepage & About responsive */
  body.home .hero,
  body.home .promo,
  body.about .about-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  body.home .hero-image img,
  body.home .promo img,
  body.about .about-image img {
    width: 90%;
  }

  body.home .hero-text,
  body.home .promo-text,
  body.about .about-text {
    max-width: 100%;
  }

  body.home .hero-text h1,
  body.home .promo-text h2,
  body.about .about-text h1 {
    font-size: 36px;
  }

  /* Galeri responsive */
  body.galeri .galeri-section {
    padding: 40px 20px;
  }

  body.galeri .galeri-header h1 {
    font-size: 36px;
  }

  /* Contact responsive */
  body.contact .contact-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .contact-info,
  .contact-form {
    max-width: 100%;
  }

  .contact-info h1 {
    font-size: 36px;
  }
}

/* ========================================
   MENU PAGE (UPDATED)
======================================== */
body.menu .menu-section {
  padding: 60px 80px;
  text-align: center;
}

.menu-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 10px;
}

.menu-header p {
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
}

/* Filter Buttons */
.menu-filter {
  margin-bottom: 30px;
}

.filter-btn {
  background-color: #f8f6f4;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: #eae0d5;
  border-color: #b0b5bb;
}

/* Grid */
.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* agar item center saat filter */
  gap: 25px;
}

.menu-item {
  flex: 0 1 calc(33.333% - 20px); /* 3 item per baris */
  background-color: #f8f6f4;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  max-width: 400px; /* batas maksimal agar foto tidak terlalu lebar */
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.menu-item img {
  width: 400px;          /* lebar tetap 400px di desktop */
  height: 300px;         /* tinggi tetap 300px di desktop */
  object-fit: cover;     /* menjaga proporsi gambar */
  border-bottom: 1px solid #ddd;
  display: block;
  margin: 0 auto;
}

.menu-item h3 {
  margin: 15px 0 8px 0;
  font-size: 20px;
}

.menu-item p {
  font-size: 14px;
  color: #555;
  padding: 0 15px 10px 15px;
  text-align: center;
}

.menu-item .price {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e90ff;
}

/* Responsive */
@media (max-width: 900px) {
  body.menu .menu-section {
    padding: 40px 20px;
  }

  .menu-header h1 {
    font-size: 36px;
  }

  .menu-item {
    flex: 0 1 calc(50% - 15px); /* jadi 2 kolom di tablet */
  }

  .menu-item img {
    width: 100%;
    height: auto;
    max-height: 250px; /* jaga tinggi agar proporsional */
  }
}

@media (max-width: 600px) {
  .menu-item {
    flex: 0 1 100%; /* jadi 1 kolom di mobile */
  }

  .menu-item img {
    width: 100%;
    height: auto;
    max-height: 220px;
  }
}


/* ========================================
   MENU SELENGKAPNYA BUTTON
======================================== */
.menu-more {
  margin-top: 40px;
  text-align: center;
}

.more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #4a90e2, #4a90e2);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ======================================== CONTACT PAGE ======================================== */
body.contact {
  background: #eef2f5;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.contact-section {
  padding: 60px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}

.contact-info {
  max-width: 450px;
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 16px;
}

.contact-info .social-media a {
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-info .social-media a:hover img {
  transform: scale(1.2);
  filter: brightness(1.3);
}

/* Form */
.contact-form {
  max-width: 500px;
  width: 100%;
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 8px rgba(30,144,255,0.3);
  outline: none;
}

.contact-form button {
  background: linear-gradient(135deg, #4a90e2, #4a90e2);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.form-message {
  margin-top: 10px;
  font-weight: 500;
}

/* WhatsApp fixed button */
.wa-fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 999;
  transition: transform 0.3s ease;
}

.wa-fixed-btn:hover {
  transform: scale(1.2);
}

/* Google Maps */
.map-section {
  margin-top: 50px;
  width: 100%;
  height: 450px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  
  .contact-info, .contact-form {
    max-width: 100%;
  }

  .contact-info h1 {
    font-size: 36px;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
#scrollTopBtn:hover {
  transform: scale(1.2);
  background-color: #0f6ecb;
}

/* Form hover animation */
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #1e90ff;
  box-shadow: 0 0 10px rgba(30,144,255,0.2);
}

/* ========================================
   GALERI PAGE FIXED SIZE (1:1 RATIO)
   (Versi 200x200 px)
======================================== */
body.galeri .galeri-item {
  width: 200px;          /* lebar tetap 200px */
  height: 200px;         /* tinggi tetap 200px */
  aspect-ratio: 1 / 1;   /* jaga rasio 1:1 */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.galeri .galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* isi penuh tanpa distorsi */
  display: block;
  transition: transform 0.5s ease;
}

/* Hover effect */
body.galeri .galeri-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

body.galeri .galeri-item:hover img {
  transform: scale(1.05);
}

/* Responsive */

@media (max-width: 600px) {
  body.galeri .galeri-item {
    width: 100%;
    max-width: 160px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ========================================
   ARTIKEL PAGE FIXED CARD & IMAGE STYLE
======================================== */
body.artikel .artikel-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;    /* biar di tengah */
  gap: 25px;                  /* jarak antar card */
  padding: 30px 0;
}

body.artikel .card {
  width: 400px;               /* sama dengan lebar gambar */
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.artikel .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.artikel .card img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  display: block;
}

body.artikel .card-content {
  padding: 15px 18px;
}

body.artikel .card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

body.artikel .card-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Tombol atau link di bawah artikel */
body.artikel .card-content a {
  display: inline-block;
  margin-top: 12px;
  color: #b76e79;
  text-decoration: none;
  font-weight: 600;
}

body.artikel .card-content a:hover {
  text-decoration: underline;
}

/* =============================
   RESPONSIVE SETTINGS
============================= */

/* Tablet */
@media (max-width: 900px) {
  body.artikel .card {
    width: 320px;
  }

  body.artikel .card img {
    width: 320px;
    height: 200px;
  }
}

/* HP */
@media (max-width: 600px) {
  body.artikel .artikel-container {
    flex-direction: column;
    align-items: center;
  }

  body.artikel .card {
    width: 90%;
    max-width: 300px;
  }

  body.artikel .card img {
    width: 100%;
    height: auto;
    max-height: 180px;
  }
}

/* Membuat card lebih rapi dengan layout kolom */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Biar paragraf + tanggal tetap di atas tombol */
.card p {
  margin-bottom: 10px;
}

/* Bungkus tombol Read More biar selalu di bawah */
.card .readmore-wrapper {
  margin-top: auto; /* trik magic nya ada di sini */
  padding: 0 2px 2px;
}

/* ========================================
   ABOUT US PAGE RESPONSIVE FIX
======================================== */
body.about .about-section {
  padding: 60px 80px;
}

body.about .about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* Gambar About Us */
body.about .about-image img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Text About Us */
body.about .about-text {
  max-width: 600px;
}

body.about .about-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 20px;
}

body.about .about-text p {
  margin-bottom: 16px;
  text-align: justify;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  body.about .about-section {
    padding: 40px 20px;
  }

  body.about .about-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  body.about .about-image img {
    width: 90%; /* gambar mengecil sesuai layar */
    height: auto;
  }

  body.about .about-text {
    max-width: 100%;
  }

  body.about .about-text h1 {
    font-size: 36px;
  }

  body.about .about-text p {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  body.about .about-text h1 {
    font-size: 28px;
  }

  body.about .about-text p {
    font-size: 14px;
  }
}

/* ========================= HOMEPAGE - IMPROVED ========================= */
body.home .hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  gap: 40px;
  background: linear-gradient(to right, #f7f7f7, #e3eaef);
}

body.home .hero-text {
  max-width: 600px;
}

body.home .hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #333;
}

body.home .hero-text p {
  margin-top: 20px;
  text-align: justify;
  font-size: 16px;
  color: #555;
}

body.home .hero-image img {
  border-radius: 15px;
  width: 500px;  /* ukuran desktop */
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

body.home .hero-image img:hover {
  transform: scale(1.02);
}

/* Promo Section */
body.home .promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10%;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #fff;
  border-top: 1px solid #ddd;
}

body.home .promo img {
  width: 450px;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

body.home .promo img:hover {
  transform: scale(1.02);
}

body.home .promo-text {
  max-width: 600px;
}

body.home .promo-text h2 {
  font-size: 40px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  color: #333;
}

body.home .promo-text p {
  font-size: 16px;
  color: #555;
  text-align: justify;
}

/* ========================= HOMEPAGE RESPONSIVE ========================= */
@media (max-width: 900px) {
  body.home .hero,
  body.home .promo {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
    gap: 30px;
  }

  body.home .hero-text h1 {
    font-size: 36px;
  }

  body.home .promo-text h2 {
    font-size: 32px;
  }

  body.home .hero-image img,
  body.home .promo img {
    width: 90%;
    height: auto;
  }
}

@media (max-width: 600px) {
  body.home .hero-text h1 {
    font-size: 28px;
  }

  body.home .hero-text p,
  body.home .promo-text p {
    font-size: 14px;
  }

  body.home .promo-text h2 {
    font-size: 26px;
  }
}

/* ============================================
   FIX ICON SOSIAL MEDIA — 100% SAMA UKURAN
============================================ */

.social-media {
  display: flex;
  gap: 15px; /* jarak antar icon */
}

.social-media a {
  width: 50px;      
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 12px;
}

.social-media img {
  width: 100%;          /* isi penuh kotak */
  height: 100%;         /* isi penuh kotak */
  object-fit: contain;  /* jaga proporsi */
  padding: 8px;         /* biar tidak terlalu mepet */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover */
.social-media a:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.social-media {
  display: flex;
  justify-content: center;  /* icon rata tengah */
  align-items: center;
  gap: 20px;                 /* jarak antar icon */
}

/* ========================================
   FIX FOOTER ABOUT US — SAMA SEPERTI HOMEPAGE
======================================== */
body.about .footer {
  margin-top: 0;
}

body.home .promo {
  padding: 80px 10%;
}

body.about .about-section {
  margin-bottom: 60px;
}

/* ========================================
   FIX FOOTER MENU — SAMA SEPERTI HOMEPAGE
======================================== */
body.menu .footer {
  margin-top: 0;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
  margin-top: auto;
}

/* ===== FIX FOOTER GLOBAL ===== */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.footer {
  margin-top: auto;
}

/* =====================================================
   FINAL MOBILE OVERRIDE — JANGAN DIHAPUS
   (Fix artikel, footer, layout mobile)
===================================================== */

/* ===== TABLET & HP ===== */
@media (max-width: 900px) {

  /* ARTIKEL LIST & DETAIL */
  body.artikel .artikel-section {
    padding: 30px 15px !important;
    min-height: auto !important;
  }

  body.artikel .artikel-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  body.artikel .card {
    width: 90% !important;
    max-width: 360px !important;
  }

  body.artikel .card img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
  }

  /* DETAIL ARTIKEL IMAGE */
  body.artikel img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* GALERI KOSONG */
  body.galeri .no-data {
    min-height: 40vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* FOOTER GLOBAL */
  body {
    min-height: 100vh !important;
  }

  .footer {
    margin-top: auto !important;
  }
}

/* ===== HP KECIL ===== */
@media (max-width: 600px) {

  body.artikel .card {
    width: 95% !important;
    max-width: 320px !important;
  }

  body.artikel .artikel-title {
    font-size: 22px !important;
  }

  body.artikel p {
    font-size: 14px !important;
  }
}

/* =====================================================
   FIX TOTAL: ANIMASI TIDAK SEMBUNYIKAN KONTEN DI MOBILE
===================================================== */

@media (max-width: 900px) {

  /* MATIKAN SEMBUNYI ANIMASI DI MOBILE */
  .fade-in,
  .slide-left,
  .slide-right {
    opacity: 1 !important;
    transform: none !important;
  }

}

/* =====================================================
   FORCE FIX LOGO NAVBAR MOBILE — FINAL
===================================================== */

@media (max-width: 900px) {

  body .navbar .logo img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
  }

  body .navbar {
    padding: 8px 16px !important;
    min-height: 60px;
  }

  body .menu-toggle {
    font-size: 26px;
  }
}

/* HP KECIL */
@media (max-width: 600px) {

  body .navbar .logo img {
    height: 34px !important;
    max-height: 34px !important;
  }
}

/* ========================================
   ABOUT US IMAGE HOVER EFFECT
======================================== */
body.about .about-image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* animasi smooth */
}

body.about .about-image img:hover {
  transform: scale(1.02); /* efek pop */
  box-shadow: 0 12px 25px rgba(0,0,0,0.2); /* shadow lebih menonjol saat hover */
}

@media (max-width: 900px) {
  .fade-in {
    opacity: 0; /* masih bisa fade in */
    transform: none; /* tidak geser kiri/kanan */
  }
  .fade-in.visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s ease;
  }
}

/* ========================================
   FIX CONTACT US MOBILE (FINAL - REAL FIX)
======================================== */
@media (max-width: 600px) {

  /* Matikan efek slide-left di HP */
  .contact-info.slide-left {
    position: static !important;
    transform: none !important;
    overflow: visible !important;
  }

  /* Paksa box mengikuti konten */
  .contact-info {
    height: auto !important;
    padding-bottom: 70px !important;
  }

  /* Jarak icon ke konten */
  .contact-info .social-media {
    margin-top: 35px !important;
  }

  /* Ukuran icon lebih proporsional */
  .contact-info .social-media img {
    width: 60px !important;
    height: 60px !important;
  }

}

@media (max-width: 600px) {
  .contact-info .social-media {
    justify-content: center;
  }
}

/* =====================================================
   FINAL CONTACT US MOBILE — FIX TOTAL (OVERRIDE TERAKHIR)
===================================================== */
@media (max-width: 600px) {

  /* Pastikan box menghitung semua isi */
  .contact-info {
    height: auto !important;
    padding-bottom: 90px !important;
  }

  /* Social media benar-benar masuk flow */
  .contact-info .social-media {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 40px !important;
    position: relative !important;
  }

  /* KUNCI ukuran icon */
  .contact-info .social-media a {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
  }

  .contact-info .social-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }
}

/* ========================================
   CONTACT INFO — DISAMAKAN DENGAN CONTACT FORM
======================================== */

/* DESKTOP & MOBILE */
.contact-info {
  width: 100%;
  max-width: 500px;          /* SAMA DENGAN contact-form */
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Judul */
.contact-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
}

/* Text */
.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Social Media */
.contact-info .social-media {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Icon */
.contact-info .social-media img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.contact-info .social-media img:hover {
  transform: scale(1.15);
}

@media (max-width: 600px) {

  .contact-info {
    max-width: 100%;
    padding: 25px;
  }

  .contact-info h1 {
    font-size: 28px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .contact-info .social-media {
    margin-top: 35px;
  }

  .contact-info .social-media img {
    width: 55px;
    height: 55px;
  }

}

/* =========================================
   ABOUT SECTION — FORCE FIX (NO BODY CLASS)
========================================= */
@media (max-width: 768px) {

  .about-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .about-image {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .about-image img {
    width: 90% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .about-text {
    width: 100% !important;
    padding: 0 15px !important;
    text-align: center !important;
  }

  /* MATIKAN ANIMASI YANG NARIK POSISI */
  .slide-left,
  .slide-right,
  .fade-in {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===============================
   FIX CONTACT INFO - MOBILE
================================ */
@media (max-width: 768px) {

  body .contact-info {
    height: auto !important;
    min-height: auto !important;
    padding: 25px 20px 60px !important;
    margin-bottom: 40px !important;
  }

  body .contact-info h1 {
    margin-bottom: 15px;
  }

  body .contact-info p {
    line-height: 1.6;
    margin-bottom: 10px;
  }

  body .contact-info .social-media {
    margin-top: 35px !important;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  body .contact-info .social-media img {
    width: 55px !important;
    height: 55px !important;
  }

}

/* ========================================
   FIX FINAL SOSIAL MEDIA CENTER
======================================== */

/* Wrapper */
.contact-info .social-media {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 35px !important;
  width: 100%;
}

/* Link icon */
.contact-info .social-media a {
  margin: 0 !important;      /* HAPUS offset */
  padding: 0 !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gambar icon */
.contact-info .social-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 600px) {
  .contact-info .social-media {
    justify-content: center !important;
  }
}

/* ========================================
   FIX HOMEPAGE IMAGE CENTER (MOBILE)
======================================== */
@media (max-width: 900px) {

  body.home .hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body.home .hero-image img {
    margin: 0 auto;
    display: block;
  }

}

/* =========================
   GALERI - MOBILE FIX
========================= */
@media (max-width: 768px) {
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr); /* HP: 2 foto per baris */
    gap: 14px;
  }

  .galeri-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
  }

  .galeri-caption {
    display: none; /* opsional: sembunyikan teks biar clean */
  }
}

/* =========================
   GALERI FINAL RESPONSIVE
========================= */

/* Desktop */
body.galeri .galeri-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Tablet */
@media (max-width: 900px) {
  body.galeri .galeri-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  body.galeri .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Item */
body.galeri .galeri-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
}

/* Image */
body.galeri .galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption disembunyikan di HP */
@media (max-width: 600px) {
  .galeri-caption {
    display: none;
  }
}

/* =========================================
   ARTIKEL HEADER SPACING
========================================= */
.artikel-header {
  margin-bottom: 40px; /* jarak header ke grid artikel */
}

.artikel-header h1.artikel-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px; /* jarak judul ke paragraf */
}

.artikel-header p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0; /* tidak perlu margin bawah karena header sudah punya margin-bottom */
}

/* =========================================
   RESPONSIVE ARTIKEL HEADER
========================================= */
@media (max-width: 900px) {
  .artikel-header {
    margin-bottom: 35px; /* jarak sedikit lebih kecil di tablet */
  }

  .artikel-header h1.artikel-title {
    font-size: 1.8rem;
  }

  .artikel-header p {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .artikel-header {
    margin-bottom: 30px; /* jarak lebih kecil di HP */
  }

  .artikel-header h1.artikel-title {
    font-size: 1.6rem;
  }

  .artikel-header p {
    font-size: 0.9rem;
  }
}

.artikel-subtitle {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .artikel-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .artikel-subtitle {
    font-size: 0.9rem;
  }
}

/* ARTIKEL HEADER RESPONSIVE */
@media (max-width: 900px) {
  .artikel-header .artikel-title {
    font-size: 1.5rem;
  }
  .artikel-header .artikel-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .artikel-header .artikel-title {
    font-size: 1.3rem;
  }
  .artikel-header .artikel-subtitle {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* GRID ARTIKEL RESPONSIVE */
@media (max-width: 900px) {
  .blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .blog-container .card {
    width: 320px;
  }

  .blog-container .card img {
    width: 320px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .blog-container {
    flex-direction: column;
    align-items: center;
  }

  .blog-container .card {
    width: 90%;
    max-width: 300px;
  }

  .blog-container .card img {
    width: 100%;
    height: auto;
    max-height: 180px;
  }
}

/* ===============================
   PREVIOUS - NEXT BUTTON FIX
=============================== */

.prev-next-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

/* Tombol dasar */
.prev-next-container .nav-btn {
  padding: 12px 30px;
  background: #4a90e2;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.prev-next-container .nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* KUNCI POSISI */
.prev-btn {
  margin-right: auto;
}

.next-btn {
  margin-left: auto;
}

@media (max-width: 600px) {
  .prev-next-container {
    flex-direction: row;
  }

  .prev-next-container .nav-btn {
    width: auto;
  }
}

/* ===============================
   PREV - NEXT FINAL FIX
=============================== */

.prev-next-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

/* Wrapper */
.nav-wrapper {
  max-width: 45%;
}

/* KUNCI POSISI */
.prev-wrapper {
  margin-right: auto;
  text-align: left;
}

.next-wrapper {
  margin-left: auto;
  text-align: right;
}

/* Judul kecil */
.nav-title {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
  background: #f6f6f6;
  padding: 8px 10px;
  border-radius: 8px;
}

/* MOBILE */
@media (max-width: 600px) {
  .prev-next-container {
    flex-direction: column;
  }

  .nav-wrapper {
    max-width: 100%;
    text-align: center;
  }
}

.prev-next-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.prev-next-wrapper > div:first-child {
  margin-right: auto;
}

.prev-next-wrapper > div:last-child {
  margin-left: auto;
}

/* MOBILE */
@media (max-width: 600px) {
  .prev-next-wrapper {
    flex-direction: column;
  }

  .prev-next-wrapper > div {
    width: 100% !important;
    text-align: center;
  }
}

/* WRAPPER PREV NEXT */
.prev-next-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* MOBILE TETAP AMAN */
@media (max-width: 600px) {
  .prev-next-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .prev-next-wrapper a {
    width: 100%;
    text-align: center;
  }
}

/* ===============================
   PREV - NEXT DESKTOP FIX
=============================== */

.prev-next-wrapper {
  display: flex;
  width: 100%;
}

/* DEFAULT: dua tombol */
.prev-next-wrapper .prev {
  margin-right: auto;
}

.prev-next-wrapper .next {
  margin-left: auto;
}

/* ===== JIKA HANYA NEXT ===== */
.prev-next-wrapper .next:only-child {
  margin-left: auto;
}

/* ===== JIKA HANYA PREVIOUS ===== */
.prev-next-wrapper .prev:only-child {
  margin-right: auto;
}

/* MOBILE TETAP TENGAH */
@media (max-width: 600px) {
  .prev-next-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .prev-next-wrapper .prev,
  .prev-next-wrapper .next {
    margin: 0;
    width: 100%;
  }
}

/* ===============================
   FIX PREV NEXT DESKTOP ONLY
=============================== */
@media (min-width: 601px) {

  .prev-next-wrapper {
    display: flex;
    width: 100%;
  }

  /* dua tombol */
  .prev-next-wrapper .prev {
    margin-right: auto;
  }

  .prev-next-wrapper .next {
    margin-left: auto;
  }

  /* HANYA PREVIOUS */
  .prev-next-wrapper .prev:only-child {
    margin-left: 0;
    margin-right: auto;
  }

  /* HANYA NEXT */
  .prev-next-wrapper .next:only-child {
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 600px) {

  .prev-next-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
  }

  .prev-next-wrapper .nav-item {
    width: 48%;
    display: flex;
    flex-direction: column;
  }

  /* tombol */
  .prev-next-wrapper .more-btn {
    width: 100%;
  }

  /* JIKA CUMA 1 TOMBOL */
  .prev-next-wrapper .nav-item:only-child {
    width: 100% !important;
    margin: 0 auto;
  }

}

@media (max-width: 600px) {

  .prev-next-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .prev-next-wrapper .nav-item {
    width: 48% !important;
    min-width: unset !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .prev-next-wrapper .more-btn {
    width: 100% !important;
  }

  /* JIKA HANYA 1 TOMBOL */
  .prev-next-wrapper .nav-item:only-child {
    width: 100% !important;
    margin: 0 auto !important;
  }

}

/* ===============================
   MOBILE ONLY (HP SAJA)
================================ */
@media (max-width: 600px) {

  .wa-section {
    padding: 0 16px;
  }

  .wa-text {
    font-size: 15px !important;  /* override inline */
    line-height: 1.5;
    text-align: center;
  }

  .reservasi-btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 0;
  }

}

.logo a img {
  transition: all 0.3s ease;
}

/* Efek saat hover */
.logo a:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.footer-link {
  color: inherit;          /* ikuti warna footer */
  text-decoration: none;   /* hilangkan garis bawah */
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;            /* efek hover halus */
}
