/* =========================
   ROOT
========================= */

:root {
  --primary: #d4a373;
  --bg-dark: #18120f;
  --bg-card: #2a1f18;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --gold: #ffd166;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */

body {
  font-family: Arial, sans-serif;

  background: linear-gradient(to bottom, #18120f, #1d1612, #241b16, #2a1f18);

  color: white;

  padding-top: 80px;
}

/* =========================
   PRODUK
========================= */

.produk-section {
  width: 90%;
  max-width: 1300px;

  margin: auto;

  padding-top: 50px;
  padding-bottom: 80px;
}

.produk-section h1 {
  text-align: center;

  font-size: 3rem;

  color: var(--primary);

  margin-bottom: 15px;
}

.produk-section > p {
  text-align: center;

  color: var(--text-gray);

  margin-bottom: 50px;

  font-size: 1.05rem;
}

.produk-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.produk-card {
  background: var(--bg-card);

  padding: 25px;

  border-radius: 20px;

  transition: 0.3s;

  border: 1px solid rgba(212, 163, 115, 0.15);

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.produk-img {
  width: 100%;
  height: 300px;
  object-fit: cover;

  border-radius: 15px;

  margin-bottom: 15px;

  transition: 0.3s;
}

.produk-card:hover .produk-img {
  transform: scale(1.05);
}

.produk-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.produk-card h2 {
  color: var(--primary);

  margin-bottom: 15px;

  font-size: 1.4rem;
}

.produk-card p {
  color: #dddddd;

  line-height: 1.7;

  margin-bottom: 20px;

  min-height: 90px;
}

.produk-card span {
  display: block;

  font-size: 1.3rem;

  font-weight: bold;

  color: var(--gold);
}

.btn-beli {
  display: block;
  width: 100%;
  text-align: center;

  margin-top: 15px;
  padding: 12px;

  background: var(--primary);
  color: white;

  border-radius: 8px;
  font-weight: bold;

  transition: 0.3s;
}

.btn-beli:hover {
  background: #b88655;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 99999;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1rem 7%;

  background: rgba(15, 15, 15, 0.9);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(212, 163, 115, 0.15);

  transition: all 0.3s ease;
}

.navbar-logo {
  text-decoration: none;

  color: white;

  font-size: 1.5rem;

  font-weight: 700;

  font-style: italic;
}

.navbar-logo span {
  color: var(--primary);
}

.navbar-nav {
  display: flex;

  align-items: center;
}

.navbar-nav a {
  color: white;

  text-decoration: none;

  margin: 0 1rem;

  transition: 0.3s;
}

.navbar-nav a:hover {
  color: var(--primary);
}

.navbar-nav a::after {
  content: "";

  display: block;

  border-bottom: 2px solid var(--primary);

  transform: scaleX(0);

  transition: 0.3s;
}

.navbar-nav a:hover::after {
  transform: scaleX(1);
}

.navbar-extra {
  display: flex;

  align-items: center;
}

.navbar-extra a {
  color: white;

  text-decoration: none;

  margin-left: 1rem;

  font-size: 1.3rem;

  transition: 0.3s;
}

.navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 1024px) {
  .produk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #hamburger-menu {
    display: block;
  }

  .navbar-nav {
    position: absolute;

    top: 100%;

    right: -100%;

    width: 260px;

    height: 100vh;

    background: #241b16;

    flex-direction: column;

    align-items: flex-start;

    padding-top: 1rem;

    transition: 0.4s;
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-nav a {
    display: block;

    margin: 1.5rem;
  }

  .produk-grid {
    grid-template-columns: 1fr;
  }

  .produk-section {
    padding-top: 40px;
  }

  .produk-section h1 {
    font-size: 2rem;
  }
}

.footer {
  background: #2b1007;
  color: white;
  padding: 40px 0 0 0;
  margin-top: 50px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
}

.footer-brand h2 {
  color: #d9a066;
  margin-bottom: 15px;
}

.footer-brand p {
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-social {
  min-width: 220px;
}

.footer-social h3,
.footer-location h3 {
  color: #d9a066;
  margin-bottom: 15px;
}

.footer-social a,
.footer-location a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  margin-bottom: 12px;
  transition: 0.3s;
}

.footer-social a:hover,
.footer-location a:hover {
  color: #d9a066;
  transform: translateX(5px);
}

.footer-social img,
.footer-location img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 15px;
  color: #ccc;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-brand,
  .footer-social {
    width: 100%;
  }
}
