/* ─── PAGE HERO ──────────────────────────────────────── */
.page-hero {
  padding-top: 72px;
  min-height: 26vh;
  background: var(--forest);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  padding-left: 7%;
  padding-right: 7%;
}

.page-hero__content {
  max-width: 700px;
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-top: 0.6rem;
}

.page-hero__title em {
  font-style: italic;
  color: var(--sage-light);
}

/* ─── EID / PROMO BANNER ─────────────────────────────── */
.product-banner {
  margin: 3rem 7% 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}

.product-banner__link {
  display: block;
  position: relative;
}

.product-banner__link img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.product-banner__link:hover img {
  transform: scale(1.02);
}

.product-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 34, 28, 0.55) 0%,
    transparent 60%
  );
  display: flex;
  align-items: center;
  padding-left: 5%;
  pointer-events: none;
}

.product-banner__overlay span {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ─── PRODUCT SECTION ────────────────────────────────── */
.product-section {
  background: var(--cream);
}

/* ─── CATEGORY GRID ──────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(40, 49, 40, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(40, 49, 40, 0.13);
}

.category-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.category-card:hover .category-card__img img {
  transform: scale(1.07);
}

.category-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
}

.category-card__label h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.3;
}

.category-card__arrow {
  font-size: 1rem;
  color: var(--sage);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.category-card:hover .category-card__arrow {
  transform: translateX(4px);
}

/* ─── SPOTLIGHT SECTION ──────────────────────────────── */
.spotlight-section {
  background: var(--warm);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--forest);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: 280px;
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(40, 49, 40, 0.2);
}

.spotlight-card__img {
  overflow: hidden;
}

.spotlight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.spotlight-card:hover .spotlight-card__img img {
  transform: scale(1.06);
}

.spotlight-card__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 2rem 1.8rem;
  gap: 0.5rem;
}

.spotlight-card__label h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
}

.spotlight-card__label p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.spotlight-card__label .link-arrow {
  margin-top: 0.5rem;
  font-size: 0.78rem;
}

/* Active nav link */
.nav__links a.active {
  color: #fff;
}
.nav__links a.active::after {
  width: 100%;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-banner {
    margin: 2rem 4% 0;
    border-radius: var(--r-lg);
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .spotlight-card__img {
    aspect-ratio: 16/7;
  }

  .spotlight-card__label {
    padding: 1.5rem;
  }
}

@media (max-width: 580px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .category-card__label h3 {
    font-size: 0.9rem;
  }
}
.floating-about {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4f6f52; /* bisa sesuaikan */
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
}

.floating-about:hover {
  background-color: #3b5440;
  transform: translateY(-3px);
}
/* =========================
   NAVBAR BASE
========================= */
.nav {
  position: fixed;
}

.nav__right {
  position: relative; /* penting buat anchor dropdown */
}
/* DESKTOP MENU */
.nav__links {
  display: flex;
  gap: 2.5rem;
}

/* HAMBURGER DEFAULT (HIDDEN DI DESKTOP) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* =========================
   MOBILE MENU (FLOATING)
========================= */
.mobile-menu {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 220px;

  background: #2f3e34;
  border-radius: 16px;
  padding: 1.5rem;

  display: flex;
  flex-direction: column;
  gap: 1.2rem;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: all 0.25s ease;

  z-index: 2000;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* =========================
   MENU LINKS
========================= */
.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  transition: 0.2s;
}

.mobile-menu a:hover {
  opacity: 0.6;
}

/* =========================
   CLOSE BUTTON
========================= */
.mobile-menu__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
