/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  color: #55423d;
  background-color: #f5f4f1;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .section-title {
  font-family: 'Quicksand', sans-serif;
  color: #4b3b38;
  letter-spacing: .5px;
}

a, .btn, .nav-link, .card, img { transition: all .3s ease; }

/* NAVBAR */
.navbar {
  background-color: #55423d !important;
  padding: 12px 0;
}

.navbar-brand {
  color: #fff !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.nav-link {
  color: #efebe9 !important;
  font-weight: 500;
  padding: 8px 15px !important;
}

.nav-link:hover,
.nav-link.active {
  color: #e6e1db !important;
  font-weight: 600;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(62,39,35,.75), rgba(62, 39, 35, 0.534)), 
  url('../img/bg_hero.avif') center/cover no-repeat;
  min-height: 89vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}

/* HERO */
.hero .btn {
  background-color: #55423d !important;
  border: 2px solid #ded7d7 !important; 
  color: #fff !important; 
}

.hero .btn:hover {
  background-color: #8d6e63 !important;
  border-color: #3d2d2d !important; 
}

/* CARD */
.card {
  background: #e6e1db;
  border-radius: 12px;
  border: 1px solid #e6e1db;
  overflow: hidden;
}

.card img,
.card-img-top,
#products img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  display: block;
}

.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(62,39,35,.2);
}

/* BUTTON MENU */
.filter-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #55423d;
  background-color: transparent;
  color: #55423d;
  border-radius: 18px;
  padding: 4px 20px;
  margin: 0 5px;
  font-weight: 500;
}

.filter-btn:hover {
  background-color: #8d6e63;
}

.filter-btn.active {
  background-color: #55423d;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* PRODUK */
#products h6 {
  margin-top: 10px;
  color: #55423d;
  font-weight: 600;
}

.btn-success {
  transition: all 0.3s ease;
  border: 1px solid #55423d;
  background-color: #55423d;
  color: #fff;
  border-radius: 18px;
  padding: 4px 20px;
  margin: 0 5px;
  font-weight: 500;
}

.btn-success:hover {
  background-color: #8d6e63 !important;
  border-color: #8d6e63 !important;
}

/* BOOK */
.info-item {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  font-size: 1rem;
  margin-bottom: -15px;
}

.item2 {
  display: flex;
  margin: 10px 0;
  margin-left: 30px;
  font-size: 1rem;
  margin-bottom: -15px;
}

.info-item .icon {
  font-size: 1rem;
  min-width: 10px;
}

/* MAPS */
.map-container iframe {
  width: 85%;
  height: 300px;
  margin-left: 50px;
  border-radius: 10px;
  border: #55423d;
}

/* FOOTER */
footer {
  background-color: #55423d !important;
  color: #efebe9;
  padding: 20px 0;
  font-size: .9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: .95rem; }

  .navbar-brand { font-size: 1.25rem; }

  .navbar-collapse {
    background: #55423d;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    margin-top: 10px;
  }

  .card img,
  #products img {
    aspect-ratio: 16 / 11;
  }
}

/* HP kecil */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero { min-height: 92vh; }

  .section-title { font-size: 1.5rem; }

  .navbar-brand img { height: 38px; }
  .filter-btn { margin-top: 20px; }

  .map-container iframe {
    height: 300px;
    border-radius: 8px;
    display: block;
    margin-top: 2vh;
    margin-left: auto !important; 
    margin-right: auto !important;
  }
}
