:root{
  --brown: #8B5E3C;
  --cream: #F8EDE3;
  --gold: #D4AF37;
  --green: #5B8A72;
  --muted: #6c757d;
  --card-shadow: 0 8px 30px rgba(11,20,12,0.06);
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: linear-gradient(180deg,#fff 0%, #fbfbf8 100%);
  color: #203226;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar {
  margin-bottom: 0 !important;
}

#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero {
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  background: 
    linear-gradient(180deg, rgba(11,20,12,0.35), rgba(11,20,12,0.15)),
    url('../img/hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  color: #fff;
  background-color: #2d2d2d;
}

body{
  margin:0;
  background: linear-gradient(180deg,#fff 0%, #fbfbf8 100%);
  color: #203226;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  scroll-behavior:smooth;
  padding-top:72px;
}

.brand-title{ 
  font-weight:700; 
  color:var(--brown); 
  letter-spacing:0.2px; 
}

.hero .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,20,12,0.28), rgba(11,20,12,0.18));
}
.hero-inner{ 
  position:relative; 
  z-index:2; 
  padding:48px 15px; 
}
.hero h1{ 
  color:#fff; 
  text-shadow:0 4px 20px rgba(0,0,0,0.25);
  animation: fadeInUp 1s ease forwards;
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section { padding:60px 0; }
.bg-soft { 
  background: var(--cream) url('../img/motif-bali.png') repeat;
  background-size: contain;
}

/* Cards & products */
.card-product { 
  border-radius:12px; 
  overflow:hidden; 
  box-shadow:var(--card-shadow); 
  transition: all 0.3s ease;
}
.card-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(139,94,60,0.15);
}
.card-product img{ 
  height:260px; 
  object-fit:cover; 
}

/* Buttons */
.btn-primary { 
  background: var(--brown); 
  border-color: var(--brown); 
  transition: all 0.3s ease;
}
.btn-primary:hover { 
  background: #7a5133; 
  border-color:#7a5133;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Small screens */
@media (max-width:768px){
  .card-product img{ height:180px; }
  .hero{ min-height:50vh; }
}

.navbar-nav .nav-link {
  color: #8B5E3C !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.navbar-nav .nav-link.active {
  color: var(--gold) !important;
}

.scroll-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}
.scroll-container::-webkit-scrollbar {
  height: 8px;
}
.scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(139, 94, 60, 0.3);
  border-radius: 4px;
}
.text-brown {
  color: var(--brown);
}

#testimoni .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#testimoni .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-link.active {
  font-weight: 600;
  color: #8B4513 !important; /* cokelat elegan */
}

.category-link:hover {
  color: #A0522D !important;
  text-decoration: underline;
}

.card-product img,
.product-item img {
  height: 230px;            
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
