@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lucida+Handwriting');
@import url('https://fonts.googleapis.com/css?family=Sofia');

/* Reset ringkas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  color: #222;
  line-height: 1.6;
  padding: 0;
}


/* Header */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0; /* buang padding kiri kanan */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;           /* full lebar */
  max-width: 1200px;     /* optional: kasi center */
  margin: 0 auto;        /* center content */
  padding: 0 30px;       /* kalau nak ada ruang sikit */
}

/* Logo */
.navbar-brand img {
  max-height: 90px;
}

/* Nav Menu */
.nav-center {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu li a {
  text-decoration: none;
  color: #222;
  font-family: 'Sofia';
  font-size: 1.15rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #db939e;
}

/* Container dropdown */
 /* Apply kat dua-dua sekali */
.package-dropdown,
.category-dropdown {
  position: relative;
}

/* Dropdown menu */
.package-dropdown .dropdown-menu,
.category-dropdown .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%; 
  left: 0;
  background: #fffdf9;
  border: 1px solid #d1bfa9;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 220px;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.35s ease;
}

/* Link dalam dropdown */
.package-dropdown .dropdown-menu a,
.category-dropdown .dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: #3a2b20;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect */
.package-dropdown .dropdown-menu a:hover,
.category-dropdown .dropdown-menu a:hover {
  background: linear-gradient(to right, #f5e8d7, #fdfaf6);
  color: #8b5e3c;
  padding-left: 26px;
}

/* Show dropdown dengan smooth */
.package-dropdown:hover .dropdown-menu,
.category-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Style untuk link utama */
.package-dropdown > a,
.category-dropdown > a {
  color: #3e2f23;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  transition: color 0.3s ease;
}

.package-dropdown:hover > a,
.category-dropdown:hover > a {
  color: #8f5e37;
}

/* Book button */
.btn_book {
  background-color: #ae8b68;
  color: #fff;
  padding: 8px 18px;
  text-decoration: none;
  font-family: 'Cormorant';
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn_book:hover {
  background-color: #baa58e;
  transform: scale(1.05);
}

/* RIGHT: Icons */
.nav-icons {
  display: flex;
  gap: 18px;
  align-items: flex-start; /* penting supaya dropdown stay */
}

/* Icon styling */
.nav-icons a {
  font-size: 22px;
  color: #222;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
}


.nav-icons a:hover {
  color: #af597e;
}

/* Container untuk user icon */
.user-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;        /* mula-mula sembunyi */
  position: absolute;
  top: 100%;            /* tepat bawah icon */
  right: 0;
  background-color: #fff;
  min-width: 150px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

/* Link dalam dropdown */
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.8rem;   /* saiz tulisan kecil */
  color: #000000;
  text-decoration: none;
}

.dropdown-menu a:hover {
  color: #b43f7f;
}

/* Tunjuk dropdown bila hover */
.user-dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-center {
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .btn_book {
    width: 100%;
    text-align: center;
  }
}


/*====================================================*/


/* ================= FOOTER ================= */
.site-footer {
  background-color: #b4a785;
  color: #fff;
  text-align: center;
}

/* Footer utama */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;          /* guna 100% width */
  max-width: none;      /* buang limit */
  margin: 0;         
  padding: 40px 30px;   /* adjust kiri kanan ikut suka */
}

/* Info & social */
.footer-info h3 {
  font-family:Cambria;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-info p {
  font-family:Verdana;
  font-size: 1rem;
  margin: 5px 0;
}

.footer-social {
  text-align: left;
  display: flex;
  flex-direction: column;   /* Follow Us atas, icons bawah */
  align-items:center;    /* align ke kanan */
}

.footer-social p {
  margin-bottom: 10px;

}

.footer-icons {
  display: flex;            /* icons jadi sebaris */
  gap: 20px;                /* jarak antara icon */
}

.footer-icons a {
  font-size: 24px;
  color: #fff; /* asal putih */
  margin: 0 10px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-icons a:hover {
  transform: scale(1.2); /* bagi besar sikit bila hover */
}

/* Facebook */
.footer-icons a:hover .fa-facebook-f {
  color: #1877F2;
}

/* Instagram */
.footer-icons a:hover .fa-instagram {
  color: #E4405F;
}

/* TikTok */
.footer-icons a:hover .fa-tiktok {
  color: #000; /* warna utama hitam */
  text-shadow: 
    -2px 0px 0px #25F4EE, /* cyan kiri */
     2px 0px 0px #fe2c55; /* merah kanan */
}

/* WhatsApp */
.footer-icons a:hover .fa-whatsapp {
  color: #25D366;
}



/* COPYRIGHT SEPARATE */
.footer-copy {
  font-size: 1rem;
  background-color: #d6d1c2;
  color: #121212;
  padding: 15px 20px;
  margin-top: 20px; /* ruang antara container & copyright */
}

/* Responsive */
@media (max-width: 768px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}
