/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1c1917;
    background: linear-gradient(to bottom, #ecfdf5, #f7f4f1, #ecfdf5);
    min-height: 100vh;
}

.top-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 1rem;
}

/* Top Bar */
.top-bar {
  background: #00674F;
  color: white;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 1rem;  /* ⬅️ sebelumnya 6px, sekarang 10px */
  line-height: 1.4;   /* biar teks nggak terlalu rapat */
}

.top-bar-content {
  display: flex;
  justify-content: center; /* ⬅️ ini yang bikin tengah */
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem; /* jarak antar elemen */
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.contact-info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.promo-text {
  font-size: 13px;
  white-space: nowrap;
}

.top-bar  .hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


.headerculinary {
  text-align: center;
  margin-bottom: 3rem;
  color: black;
}

.headerculinary h1 {
  font-size: 1.875rem;
    font-weight: 700;
    color: black;
  margin-bottom: 0.5rem;
}

.headerculinary p {
  color: black;
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Header Styles */
.header {
  position: fixed;
  top: 40px; /* di bawah top bar */
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Navbar awal transparan */
.header {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Saat discroll, jadi putih */
.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Supaya teks menu tetap kelihatan saat putih */
.header.scrolled .nav-links a {
  color: #004C3F; /* sesuaikan warna teks */
}

.header.scrolled .nav-links a:hover {
  color: #007a5e; /* warna hover */
}

/* Tombol reservasi juga disesuaikan */
.header.scrolled .nav-actions .btn {
  background-color: #00674F;
  color: white;
  border: 1px solid #00674F;
}

.header.scrolled .nav-actions .btn:hover {
  background-color: #004C3F;
}

.header.scrolled .nav-link {
  color: #44403c;
}

.header.scrolled .nav-link:hover {
  color: #00674F;
  background: #ecfdf5;
}

.book-btn,
.book-btn:link,
.book-btn:visited,
.book-btn:hover,
.book-btn:active,
.book-btn:focus {
  text-decoration: none !important;
  color: #ffffff !important;        /* teks putih paksa */
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Hilangkan pseudo-element (::after / ::before) yang mungkin menambahkan garis */
.book-btn::after,
.book-btn::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Pastikan container tombol sejajar vertikal dan teks benar-benar center */
.nav-actions,
.nav-actions > a.book-btn,
.nav-actions > .book-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Tampilan tombol yang konsisten */
.book-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1.25rem !important;
  height: 40px !important;        /* tinggi konsisten */
  line-height: 1 !important;
  margin: 0 !important;           /* hilangkan margin-top yg bikin turun */
  border-radius: 9999px !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  background: rgba(255,255,255,0.18) !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Hover: tetap tanpa underline, hanya change bg */
.book-btn:hover {
  background: rgba(255,255,255,0.32) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Versi ketika header berubah (scrolled) — dua nama class dipakai supaya aman */
.header.scrolled .book-btn,
.navbar.scrolled .book-btn {
  background: #00674F !important;
  border-color: #00674F !important;
  color: #ffffff !important;
}

/* Pastikan pseudo-element underline dari nav-links tidak mempengaruhi .book-btn
   (untuk safety, sembunyikan juga ::after pada .book-btn jika ada aturan global) */
.nav-links a.book-btn::after,
.nav-links .book-btn::after {
  display: none !important;
  content: none !important;
}

/* Warna hover saat discroll */
.header.scrolled .book-btn:hover {
  background: #004C3F;      /* sedikit lebih gelap saat hover */
  color: #fff;
}

/* ======== NAV MENU JARAK RAPI ======== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo + menu */
.navbar .logo {
  margin-right: 30px; /* kasih jarak antara logo dan menu */
}

/* Menu utama */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px; /* jarak antar menu — ubah jadi 20-25px biar gak terlalu renggang */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hilangkan underline hover dari Reservasi */
.book-btn:hover {
  text-decoration: none !important;
}

/* Posisikan tombol reservasi tetap di kanan */
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.logo-container {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header.scrolled .nav-brand {
  color: #1c1917;
}

.logo-container i {
    font-size: 1.75rem;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .logo-container i {
    color: #00674F;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

.header.scrolled .brand-text {
    color: #1c1917;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  display: inline-block; /* biar ukuran pas sama teks */
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 4px; /* jarak garis */
  transition: color 0.3s ease;
}

/* garis bawah */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* biar center pas di bawah teks */
  height: 2px;
  width: 0;
  background-color: white;
  transition: width 0.3s ease;
}

/* muncul hanya di hover */
.nav-links a:hover::after {
  width: 60%; /* panjang garis = 60% dari teks */
}

/* link aktif juga punya underline */
.nav-links a.active::after {
  width: 60%;
}

/* efek warna pas hover */
.nav-links a:hover {
  color: #dcdcdc;
}


.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link {
    color: #44403c;
}

.header.scrolled .nav-link:hover {
    color: #00674F;
    background: #ecfdf5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #00674F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 75%;
}

.nav-actions {
    display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
  color: #1c1917;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-book-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #00674F;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Navbar awal transparan */
.header {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Saat discroll, jadi putih */
.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Supaya teks menu tetap kelihatan saat putih */
.header.scrolled .nav-links a {
  color: #004C3F; /* sesuaikan warna teks */
}

.header.scrolled .nav-links a:hover {
  color: #007a5e; /* warna hover */
}

/* Tombol reservasi juga disesuaikan */
.header.scrolled .nav-actions .btn {
  background-color: #00674F;
  color: white;
  border: 1px solid #00674F;
}

.header.scrolled .nav-actions .btn:hover {
  background-color: #004C3F;
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 80px; /* Add space for wave */
    margin-top: 20px;
}

.hero-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

.hero-fallback-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00674F 0%, #059669 50%, #10b981 100%);
    z-index: 0;
    display: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 64rem;
    
}

.hero-content h1{
    font-size: 30px !important;
    margin-bottom: 10px !important;
}
.hero-content p{
    font-size: 15px !important;
}

/* For mobile (default) */

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e7e5e4;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #00674F;
    color: white;
}

.btn-primary:hover {
    background: #00674F;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #064e3b;
}

.scroll-indicator {
    position: absolute;
    bottom: 6rem; /* Increased from 2rem to stay above wave */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

.hero-wave path {
    fill: #ecfdf5;
    /* Removed animation to make it static */
}

/* Section Styles */
.section-header {
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem;
    color: #57534e;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ecfdf5, #f5f5f4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #dcfce7;
    color: #00674F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #00674F;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #57534e;
}

.mission-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

/* animasi masuk teks */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 1.5rem;
}

.mission-text {
    color: #44403c;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mission-image img {
    width: 100%;
    height: 22rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mission-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Activities Section */

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolom sejajar */
    gap: 2rem; /* Jarak antar card */
    align-items: stretch; /* Semua card sama tinggi */
}

.activity-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.activity-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.activity-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 78, 59, 0.2);
    transition: background 0.3s ease;
}

.activity-card:hover .activity-image::after {
    background: rgba(6, 78, 59, 0.1);
}

.activity-content {
    padding: 1.5rem;
}

.activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.activity-icon {
    width: 3rem;
    height: 3rem;
    background: #dcfce7;
    color: #00674F;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 2rem;
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1917;
}

.activity-description {
    color: #57534e;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f5f5f4, #ecfdf5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 300px;
}

.gallery-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-cta {
    text-align: center;
}

.culinary{
    margin-top: 80px;
}

 /* Grid Container */
    .culinary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* jarak antar card */
    max-width: 1200px; /* atur sesuai selera misalnya 1100px/1000px */
    margin: 0 auto;   /* biar center */
    padding: 0 10px;  /* biar ada napas kiri kanan */
    }

    /* Card Style */
    .culinarycard {
      position: relative;
      width: 100%;
      height: 16.5em;
      box-shadow: 0px 1px 13px rgba(0,0,0,0.1);
      cursor: pointer;
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .culinary-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      transition: opacity 0.3s;
    }

    .culinary-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .culinary-desc {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      padding: 15px;
      font-size: 0.9em;
      display: none;
    }

    .culinary-title {
      position: absolute;
      left: 0.625em;
      bottom: 1.875em;
      font-weight: 600;
      color: #000;
    }

    .culinary-price {
      position: absolute;
      left: 0.625em;
      bottom: 0.625em;
      color: #000;
      font-weight: bold;
    }

    /* Tombol overlay */
    .culinary-btn {
      position: absolute;
      left: 0;
      bottom: -60px;
      background: #00AC7C;
      color: #fff;
      height: 2.5em;
      width: 100%;
      transition: all 0.3s;
      font-weight: 600;
      text-transform: uppercase;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      cursor: pointer;
    }

    .culinarycard:hover .culinary-btn {
      bottom: 0;
      opacity: 1;
    }
/* Tambahkan overlay gelap agar teks terlihat */
.culinarycard::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* bagian bawah aja biar gambar masih kelihatan */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

/* Pastikan teks di atas overlay */
.culinary-title,
.culinary-price {
  position: absolute;
  z-index: 2;
  color: #fff; /* putih biar kontras */
  text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* biar makin kebaca */
}

/* Hover effect: flip ke belakang (munculin deskripsi) */
.culinarycard {
  perspective: 1000px;
}

.culinarycard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.culinarycard:hover .culinarycard-inner {
  transform: rotateY(180deg);
}

.culinary-image,
.culinary-desc {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.culinary-desc {
  background: white;
  padding: 20px;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1em;
  color: #333;
}

/* Footer */
footer.footer {
  position: relative;
  z-index: 1; /* jangan terlalu tinggi */
}

select, option {
  position: relative;
  z-index: 10; /* biar muncul di atas footer */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 24rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: #10b981;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
}

.footer-description {
    color: #78716c;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #d1d5db; /* garis halus di atas */
  border-bottom: 1px solid #44403c; /* garis di bawah (sebelum copyright) */
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  color: #78716c;
}

.social-item i {
  font-size: 1.25rem;
  color: #10b981;
}

.social-item a {
  color: #78716c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-item a:hover {
  color: #10b981;
}

.social-link {
    color: #78716c;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #10b981;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: black;
    margin-bottom: 1rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: #78716c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #10b981;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #78716c;
}

.footer-bottom {
    border-top: 1px solid #44403c;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #78716c;
    font-size: 0.875rem;
    margin-bottom: 30px;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #78716c;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #10b981;
}

/* Admin Button */
.admin-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.admin-btn i {
    font-size: 1rem;
}
.news{
    display: flex;
    flex-direction: column;
}
/* News Section Styling */
.News {
    max-width: 1300px;
    margin: 4rem auto 4rem auto;
    padding: 2rem;
    background: linear-gradient(
      rgba(0, 0, 0, 0.6),   /* atas lebih gelap */
      rgba(0, 0, 0, 0.6)    /* bawah lebih gelap */
    ),
    url("../Assets/Images/bacakan.JPG") center/cover no-repeat;
     background-size: cover;
  background-repeat: no-repeat;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.News h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.News > div {
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.News h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.News h2 a {
    color: #00674F;
    text-decoration: none;
    transition: color 0.2s;
}

.News h2 a:hover {
    color: #014233;
    text-decoration: underline;
}

.News img {
    width: 100%;
    max-width: 350px;
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(16,185,129,0.08);
    align-self: center;
}

.News p {
    color: #44403c;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.News a {
    color: #014233;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.News a:hover {
    color: #00674F;
    text-decoration: underline;
}

/* Detail News Styling */
.detail-news {
    display: block !important;
    max-width: 1200px;
    margin: 4rem auto 4rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.detail-news h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #00674F;
    margin-bottom: 1rem;
}

.detail-news img {
    width: 100%;
    max-width: 500px;
    height: 260px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(16,185,129,0.10);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.detail-news .meta {
    color: #78716c;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-align: right;
}

.detail-news .content {
    color: #44403c;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.detail-news a.back-link {
    color: #00674F;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    margin-top: 1.5rem;
}

.detail-news a.back-link:hover {
    color: #059669;
    text-decoration: underline;
}

/* News Grid - Clean and Simple */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    align-items: start;
    grid-auto-flow: row;
    grid-template-rows: none;
}

/* Ensure cards don't stack vertically */
.news-grid .news-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 100%;
    float: none !important;
    clear: none !important;
}

/* Hide news cards with news-hidden class - must override display flex */
.news-grid .news-card.news-hidden {
    display: none !important;
}

.news-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.4);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1917;
    margin: 0;
    line-height: 1.4;
}

.news-title a {
    color: #1c1917;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #00674F;
}

.news-excerpt {
    color: #57534e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.news-date {
    color: #78716c;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i {
    color: #00674F;
}

.read-more {
    color: #00674F;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #059669;
    transform: translateX(2px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(2px);
}

.news-actions {
    text-align: center;
    margin-top: 2rem;
}

.news-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.news-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* Force grid layout */
#newsGrid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 2rem;
    width: 100%;
    align-items: start;
    grid-auto-flow: row !important;
    grid-template-rows: none !important;
}

#newsGrid .news-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

/* Hide news cards with news-hidden class - must override all display rules */
#newsGrid .news-card.news-hidden {
    display: none !important;
}

/* Ensure all text elements are visible */
#newsGrid .news-content {
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
    flex: 1 !important;
    gap: 1rem !important;
}

#newsGrid .news-title {
    display: block !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1c1917 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

#newsGrid .news-excerpt {
    display: block !important;
    color: #57534e !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    flex: 1 !important;
}

#newsGrid .news-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(16, 185, 129, 0.1) !important;
}

/* Responsive Grid */
@media (max-width: 900px) {
    #newsGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    #newsGrid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-image {
        height: 180px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }

    .top-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .mission-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header {
    top: auto;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .admin-btn {
        align-self: center;
        margin-top: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .News, .detail-news {
        padding: 1rem;
        margin: 2rem 0;
    }
    .News img, .detail-news img {
        height: 120px;
        max-width: 100%;
    }
}
@media (min-width: 1024px) {
  #mobileMenu {
    display: none !important;
  }
  .mobile-menu-btn {
    display: none !important;
  }
    .nav-links {
        display: flex !important;
    }
    
    .nav-actions {
        display: block !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .activities-grid {
        grid-template-columns: repeat(4, 1fr); /* <-- ini yang diubah */
    }
    
    .accommodations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* News Grid & Card Fix */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #f7f4f1;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(16,185,129,0.07);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    overflow: hidden;
    height: 100%;
}

.news-image img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem;
    display: block;
}

.news-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.news-title, .news-excerpt, .news-meta {
    min-width: 0;
}

.news-title a {
    color: #00674F;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
}

.news-excerpt {
    color: #44403c;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-line;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #78716c;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.read-more {
    color: #10b981;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.read-more:hover {
    color: #00674F;
    text-decoration: underline;
}

/* Paksa sembunyikan news-card yang diberi display:none dari inline style */
.news-card[style*="display:none"] {
    display: none !important;
}

/* Hide news cards with news-hidden class - general rule */
.news-card.news-hidden {
    display: none !important;
}

/* CRITICAL: Override all display rules for hidden news cards */
.news-grid .news-card.news-hidden,
#newsGrid .news-card.news-hidden,
.news-card.news-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* CRITICAL: Override for visible news cards (when not hidden) */
.news-grid .news-card:not(.news-hidden),
#newsGrid .news-card:not(.news-hidden) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 1.5rem !important;
}

/* ULTRA CRITICAL: Force show news cards with inline style */
.news-card[style*="display: flex"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}