* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #d4a373;
  --bg: #18120f;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom, #18120f, #1d1612, #241b16, #2a1f18);
  color: white;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HERO */

.hero {
  padding-top: 80px;

  min-height: 85vh;

  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
    url("../img/conroh dapur kopi.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  color: #d4a373;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
}

/* CERITA */

.about-story {
  padding: 120px 20px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 25px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 3rem;
  color: #d4a373;
  margin-bottom: 25px;
}

.about-text p {
  color: #ddd;
  margin-bottom: 20px;
}

/* STATS */

.stats {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-bottom: 120px;
}

.stat-box {
  background: #2a1f18;
  padding: 35px;
  text-align: center;
  border-radius: 20px;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box h3 {
  font-size: 2.5rem;
  color: #ffd166;
}

/* VISI MISI */

.vision-mission {
  padding: 100px 20px;
}

.vision-mission .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.box {
  background: #2a1f18;
  padding: 40px;
  border-radius: 20px;
}

.box h2 {
  color: #d4a373;
  margin-bottom: 20px;
}

/* KEUNGGULAN */

.advantages {
  padding: 100px 20px;
}

.advantages h2 {
  text-align: center;
  color: #d4a373;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.cards {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: #2a1f18;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  color: #d4a373;
  margin-bottom: 15px;
}

/* TEAM */

.team {
  padding: 120px 20px;
}

.team h2 {
  text-align: center;
  color: #d4a373;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.team-member {
  max-width: 1100px;
  margin: auto;

  background: #2a1f18;

  display: flex;
  align-items: center;
  gap: 50px;

  padding: 40px;
  border-radius: 25px;
}

.team-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.team-info h3 {
  color: #d4a373;
  font-size: 2rem;
}

.position {
  display: block;
  color: #ffd166;
  margin: 15px 0;
}

/* CTA */

.cta {
  text-align: center;
  padding: 150px 20px;

  background: linear-gradient(to bottom, #18120f, #241a16, #32241d, #3d2c23);
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
}

.btn {
  display: inline-block;

  padding: 15px 35px;

  background: #d4a373;
  color: #18120f;

  text-decoration: none;
  font-weight: bold;

  border-radius: 50px;
}

.btn:hover {
  background: #ffd166;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .about-content,
  .team-member {
    flex-direction: column;
  }

  .cards,
  .stats {
    grid-template-columns: 1fr;
  }

  .vision-mission .container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* =========================
   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(0, 0, 0, 0.9);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(212, 163, 115, 0.2);

  transition: top 0.3s ease;
}

.navbar.scrolled {
  padding: 0.8rem 7%;

  background: rgba(0, 0, 0, 0.95);

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.navbar-logo {
  color: white;

  text-decoration: none;

  font-size: 1.5rem;

  font-weight: 700;

  font-style: italic;
}

.navbar-logo span {
  color: var(--primary);
}

.navbar-nav a {
  color: white;

  text-decoration: none;

  margin: 0 1rem;

  font-size: 1rem;

  display: inline-block;

  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 .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* =========================
   MOBILE NAVBAR
========================= */

@media (max-width: 768px) {
  #hamburger-menu {
    display: block;
  }

  .navbar-nav {
    position: absolute;

    top: 100%;

    right: -100%;

    width: 260px;

    height: 100vh;

    background: #241b16;

    transition: 0.4s;

    padding-top: 1rem;
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-nav a {
    display: block;

    margin: 1.5rem;

    font-size: 1.1rem;
  }
}

.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%;
  }
}
