:root {
  --gold: #d4af37;
  --dark-gold: #b8860b;
  --light-gold: #f5d98f;
  --brown: #5c4033;
  --dark-brown: #3e2723;
}

/* Navbar Transparan */
.navbar {
  background-color: transparent !important;
  padding: 25px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand{
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand img {
  width: 70px;
  height: 70px;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand{
  color: #333333; /* Warna gelap */
    
}
.navbar.scrolled .navbar-brand img {
  filter: brightness(0) invert(0);
}

.navbar.scrolled .nav-link {
  color: var(--dark-brown) !important;
}

.navbar.scrolled .btn-outline-light {
  border-color: var(--dark-brown);
  color: var(--dark-brown) !important;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.5); /* Warna border */
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler:hover {
  border-color: rgba(0, 0, 0, 0.8);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .nav-link.active:after {
  width: 100%;
}

/* Buttons */
.btn-gold {
  background: linear-gradient(to right, var(--gold), var(--dark-gold));
  color: white;
  border: none;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-wa {
  background-color: #20ea09;
  color: #fff;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-wa:hover {
  background-color: #20ea09;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(to right, var(--dark-gold), var(--gold));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: white;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 700px;
  background: url("../img/background-new.jpeg") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  font-size: 1.25rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  position: relative;
}

.hero-scroll-indicator span:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: white;
  margin-left: -3px;
  border-radius: 50%;
  animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Tombol */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--dark-gold));
  color: white;
  border: none;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: white;
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */

/* Tablet Landscape dan kecil */
@media (max-width: 992px) {
  .hero-section {
    min-height: 600px;
  }

  .hero-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .navbar {
    padding: 15px 0;
  }

  .navbar-brand {
    width: 50px;
    height: 50px;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    text-align: center;
  }

  .hero-section .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-section p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    margin-top: 15px;
    border-radius: 8px;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: var(--dark-brown);
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  .navbar-brand{
    color: #333333; /* Warna gelap */
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2); 
  }
  .navbar-brand img {
    width: 50px;
    height: 50px;
  }

  .hero-section {
    min-height: 450px;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-section p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  /* Penyesuaian khusus tombol di mobile */
  .hero-buttons {
    width: 100%;
  }

  .hero-section .btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 0.85rem;
  }

  .hero-section .btn-gold {
    margin-bottom: 10px;
  }

  .hero-scroll-indicator {
    bottom: 20px;
  }

  .card-cta-btn {
    flex-direction: column; /* Susun vertikal di mobile */
    gap: 1rem !important; /* Jarak antara tombol */
    width: 100%; /* Lebar penuh */
    padding: 0 1rem; /* Padding samping */
  }

  .btn-gold,
  .btn-wa {
    width: 100%; /* Lebar penuh */
    text-align: center; /* Text rata tengah */
    padding: 0.75rem 0.5rem; /* Padding mobile */
    font-size: 0.9rem; /* Ukuran font mobile */
  }
}

/* Very Small Mobile */
@media (max-width: 400px) {
  .hero-section {
    min-height: 400px;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section .btn {
    padding: 10px;
    font-size: 0.8rem;
  }
}

/* Tombol khusus untuk mobile */
@media (max-width: 768px) {
  .btn-gold,
  .btn-outline-light {
    padding: 10px 20px !important;
    font-size: 14px !important;
    border-radius: 30px !important;
  }

  .btn-group-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .btn-group-mobile .btn {
    width: 100%;
  }
}

/* about */
/* Menu Header */
.menu-header,
.contact-header {
  background: linear-gradient(rgba(92, 64, 51, 0.7), rgba(92, 64, 51, 0.7)),
    url("../img/hero2.jpg");
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 100px;
  margin-top: -16px;
}

/* Menu Items */
.menu-item {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-item .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-item:hover .card-img-top {
  transform: scale(1.05);
}

.menu-item .price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 15px 0;
}

/* Package Cards */
.package-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.package-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.package-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.text-gold {
  color: var(--gold);
}

/* Contact Info */
.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--light-gold-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

/* Form */
.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 60vh;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption .btn {
    padding: 8px 20px;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 70px;
  }

  .carousel-item {
    height: 50vh;
  }

  .carousel-caption {
    bottom: 20%;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
}
