/* NAVBAR */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo img {
  height: 80px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.btn-nav {
  background: #8b1a1a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

/* BUTTON */
.btn-book {
  background: #8b1a1a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10000;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #111;
  transition: 0.3s;
}

/* MENU DESKTOP */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.nav-link {
  text-decoration: none;
  color: #080808;
  font-size: 14px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #8b1a1a;
  transition: 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* MOBILE RESPONSIVE*/
@media (max-width: 768px) {
  .nav-flex > nav {
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #f5f3f34b;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    padding: 25px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.active {
    display: flex;
  }
}

/* ANIMATION */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SCROLL SMOOTH*/

html {
  scroll-behavior: smooth;
}

/* Supaya scroll tidak ketutup navbar */
section {
  scroll-margin-top: 90px; /* sesuaikan tinggi navbar */
}

.btn-nav {
  background: #8b1a1a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
}

/* ----- HERO SECTION -----*/
.hero {
  height: 100vh;
  background: url("../images/hero1.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.767);
}

.hero-content {
  position: absolute;
  color: #fff;
  max-width: 700px;
  margin-left: 15%;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  color: #ddd;
}

.hero-buttons {
  margin: 25px 0;
  display: flex;
  gap: 15px;
}

.hero-buttons .btn-outline {
  border: 2px solid #fff;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.hero-buttons .btn-red {
  background: #8b1a1a;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.hero-info {
  margin-top: 15px;
  font-size: 14px;
  color: #eee;
}

.hero-info span {
  margin-left: 15px;
}

/* WAVE BOTTOM */
.wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  border-top-left-radius: 100% 40px;
  border-top-right-radius: 100% 40px;
}

/* OUR PACKAGES*/

.packages {
  padding: 50px 20px;
  background: #f9fafb;
  text-align: center;
  justify-content: center;
}

.packages h2 {
  text-align: center;
  font-size: 36px;
  color: #1f2937;
  margin-bottom: 10px;
}

.packages-desc {
  max-width: 760px;
  margin: 0 auto 50px;
  font-size: 15px;
  text-align: center;
  color: #6b7280;
}

/* GRID */
.packages-grid {
  max-width: 1200px; /* pas 3 card */
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 20px;
  justify-content: center;
}

/* CARD */
.package-card {
  width: 500px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  margin-left: 10px;
  margin-right: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.package-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* BADGE */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.red {
  background: #fde2e2;
  color: #b91c1c;
}
.blue {
  background: #e0e7ff;
  color: #1d4ed8;
}
.yellow {
  background: #fef3c7;
  color: #92400e;
}
.green {
  background: #dcfce7;
  color: #166534;
}

/* BODY */
.card-body {
  padding: 22px;
  text-align: left;
}

.card-body h3 {
  font-size: 20px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  margin-bottom: 8px;
  text-align: center;
}

.card-body p {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  line-height: 1.6;
  min-height: 70px;
}

/* PRICE */
.price {
  margin: 15px 0 20px;
  font-size: 14px;
}

.price .old {
  text-decoration: line-through;
  color: #9ca3af;
  margin-right: 6px;
}

.price .new {
  color: #991b1b;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}

/* BUTTON */
button {
  border: 2px solid #000000;
  padding: 12px 20px;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
}

.actions {
  justify-content: center;
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 18px;
  justify-content: center;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}
.book {
  background: #8b1a1a;
  text-align: center;
  color: #fff;
  justify-content: center;
}

.btn .outline {
  justify-content: center;
  border: 1px solid #d1d5db;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}

/* MODAL POP-UP */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 20px; /* penting */
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 95%;
  max-width: 1100px; /* ubah di sini */
  max-height: 85vh;
  border-radius: 15px;
  line-height: 1.6;
  overflow-y: auto;
}
.modal-content .btn-outline {
  padding: 50px;
}
.modal-content img {
  width: 90%;
  height: 400px;
}

#modalDesc{
  text-align: justify;
  line-height: 1.7;
}

#modalDesc ul{
  margin:10px 0;
  padding-left:20px;
}

#modalDesc li{
  margin-bottom:2px;
  line-height:1.6;
}

/* hilangkan margin paragraf di dalam list */
#modalDesc li p{
  margin:0;
}

#modalDesc h2,
#modalDesc h3 {
  margin-top: 15px;
  margin-bottom: 8px;
}

.modal-content h3 {
  text-align: center;
  color: #8b1a1a;
  margin-top: 10px;
  margin-bottom: 10px;
}

.modal-content h2 {
  font-size: 25px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* ACTIONS */
.modal-actions {
  margin-top: 25px;
  display: flex;
  gap: 10px;
}

/* ANIMATION */
@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* -----GALLERY------ */

.gallery {
  padding: 90px 20px;
  background: #fff;
  text-align: center;
  justify-content: center;
}

.gallery h2 {
  font-size: 34px;
  color: #1f2937;
  margin-bottom: 30px;
}

.gallery-wrapper {
  max-width: 1100px;
  margin: auto;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* THUMBNAILS */
.gallery-thumbs {
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.gallery-thumbs img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.gallery-thumbs img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gallery-main img {
    height: 260px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-thumbs {
    grid-template-columns: 1fr;
  }
}

/*-----------MODAL GALERRY-----------*/

.modal-gallery {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-gallery img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* MODAL BACKGROUND */
.modal-gallery {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* IMAGE */
.modal-gallery img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 14px;
  animation: zoomIn 0.3s ease;
}

/* CLOSE */
.modal-close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

/* ANIMATION */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* NAV BUTTON GALLERY */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.nav.prev {
  left: 30px;
}

.nav.next {
  right: 30px;
}

.nav:hover {
  color: #ddd;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    font-size: 32px;
  }
}

/*----ABOUT-----*/

.about {
  width: 100%;
  background: #ffffff;
  color: #070707;
  padding: 70px 20px 20px;
}

.about-grid {
  max-width: 1000px;
  margin: auto;
  display: flex;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.about-grid img {
  height: 500px;
  width: auto;
  margin-right: auto;
}

.about-grid p {
  text-align: justify;
  line-height: 1.6;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  margin-bottom: 8px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: justify;
    justify-content: center;
    display: grid;
  }
  .about-grid img {
    margin: auto;
    height: 500px;
  }
}

/* -----CONTACT----- */
.contact-section {
  padding: 50px 20px;
  background: #f9fafb;
  text-align: center;
}

.contact-section h2 {
  font-size: 34px;
  margin-bottom: 50px;
  color: #1f2937;
}

.contact-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-card .icon {
  font-size: 34px;
  color: #8b1a1a;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.contact-card img {
  height: 50px;
  margin: auto;
}

//* SOSIAL MEDIA FOOTER *//
.icon {
  margin: auto;
  justify-content: right;
}
.social-icons {
  position: absolute;
  display: flex;
  gap: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  justify-content: center;
  font-size: 14px;
  position: relative;
}

.social-link .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f2937;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: 0.3s;
  text-decoration: none;
  position: relative;
}

.social-link .icon:hover {
  background: #8b1a1a;
  transform: translateY(-3px);
}

.btn-red {
  display: inline-block;
  background: #8b1a1a;
  color: #fff;
  padding: 10px 22px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #d1d5db;
  padding: 10px 22px;
  border-radius: 20px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
}

/* -----FOOTER----- */
.footer {
  width: 100%;
  background: #1f2428;
  color: #e5e7eb;
  padding: 70px 20px 20px;
}

.footer-grid {
  margin: auto;
  display: grid;
  margin: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
}

.footer-grid img {
  height: 80px;
  width: auto;
  margin-left: 40%;
  margin-right: auto;
}

.footer p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: center;
}

.footer h4 {
  margin-bottom: 0px;
  font-size: 16px;
  text-align: center;
}

.note {
  font-size: 12px;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }
  .footer-grid img {
    margin-left: 30px;
  }
}

/*------------PROMO POPUP------------- */
.promo-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.promo-content {
  position: relative;
  animation: zoomIn 0.5s ease;
}

.promo-poster {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

.promo-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #fff;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  font-size: 22px;
}

@media (max-width: 480px) {
  .promo-content {
    max-width: 95vh;
  }

  .promo-poster {
    max-height: 75vh;
  }
}

/* ANIMATION */
@keyframes promoZoom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*------------COSE PROMO POPUP------------- */
