/* ============================================================
   Amazza Coffee — style.css
   Tema: modern simple, cerah, eye-catching
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Warna */
  --cream: #fff8f0;
  --cream-deep: #ffefd9;
  --amber: #ff8a3d;
  --amber-deep: #f57a2a;
  --espresso: #3e2723;
  --espresso-soft: #6b4a3e;
  --white: #ffffff;

  --shopee: #ee4d2d;
  --shopee-deep: #d73211;
  --gofood: #00aa13;
  --gofood-deep: #008f10;
  --wa: #25d366;
  --wa-deep: #1da851;
  --ig1: #f58529;
  --ig2: #dd2a7b;
  --ig3: #8134af;

  /* Tipografi */
  --font-head: "Sora", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Bentuk */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(62, 39, 35, 0.07);
  --shadow-md: 0 10px 30px rgba(62, 39, 35, 0.12);
  --shadow-lg: 0 20px 50px rgba(62, 39, 35, 0.16);

  /* Transisi */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.25s var(--ease);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.text-accent { color: var(--amber); }

.text-gradient {
  background: linear-gradient(90deg, var(--amber) 0%, #e8590c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--white);
}

.btn--shopee { background: var(--shopee); color: var(--white); }
.btn--shopee:hover { background: var(--shopee-deep); }

.btn--gofood { background: var(--gofood); color: var(--white); }
.btn--gofood:hover { background: var(--gofood-deep); }

.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-deep); }

.btn--ig {
  background: linear-gradient(45deg, var(--ig1), var(--ig2), var(--ig3));
  color: var(--white);
}

/* ---------- Tag ---------- */
.tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--white);
  border: 1.5px solid var(--cream-deep);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--espresso-soft);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--fast), box-shadow var(--fast), padding var(--fast);
}

.navbar.is-scrolled {
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.navbar__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.navbar__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--espresso-soft);
  position: relative;
  transition: color var(--fast);
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast);
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--espresso);
}

.navbar__link.is-active::after,
.navbar__link:hover::after {
  transform: scaleX(1);
}

.navbar__cta { padding: 0.6rem 1.3rem; font-size: 0.9rem; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar__toggle span {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--espresso);
  transition: transform var(--fast), opacity var(--fast);
}

.navbar__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 9.5rem 0 5.5rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

.hero__blob--1 {
  width: 480px;
  height: 480px;
  background: #ffce8f;
  top: -140px;
  right: -120px;
}

.hero__blob--2 {
  width: 380px;
  height: 380px;
  background: #ffd9a0;
  bottom: -160px;
  left: -120px;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--espresso-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.hero__subtitle {
  font-size: 1.08rem;
  color: var(--espresso-soft);
  max-width: 33rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero__media {
  position: relative;
}

.hero__photo-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform 0.4s var(--ease);
}

.hero__photo-card:hover { transform: rotate(0deg) scale(1.02); }

.hero__photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  padding: 0.8rem 1.1rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  animation: floaty 4s ease-in-out infinite;
}

.hero__float-card--1 { top: 24px; left: -28px; }
.hero__float-card--2 { bottom: 36px; right: -18px; animation-delay: 2s; }

.hero__float-emoji { font-size: 1.6rem; }

.hero__float-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
}

.hero__float-card small {
  color: var(--espresso-soft);
  font-size: 0.75rem;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ============================================================
   SECTION UMUM
   ============================================================ */
.section { padding: 5.5rem 0; }

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.2rem;
}

.section__eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.7rem;
}

.section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.section__subtitle {
  color: var(--espresso-soft);
  font-size: 1.02rem;
}

/* ============================================================
   PRODUK
   ============================================================ */
.produk__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.produk__card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast), box-shadow var(--fast);
  display: flex;
  flex-direction: column;
}

.produk__card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.produk__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.produk__img-wrap--a { background: #ffe3c7; }
.produk__img-wrap--b { background: #ffd9b8; }
.produk__img-wrap--c { background: #e8cdaf; }
.produk__img-wrap--d { background: #d7b899; }

.produk__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.produk__card:hover .produk__img-wrap img { transform: scale(1.06); }

.produk__size {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.85rem;
  background: var(--espresso);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.produk__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.produk__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
}

.produk__desc {
  font-size: 0.9rem;
  color: var(--espresso-soft);
  flex: 1;
}

.produk__link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--amber-deep);
  transition: gap var(--fast);
}

.produk__link:hover { text-decoration: underline; }

/* ============================================================
   PESAN ONLINE
   ============================================================ */
.pesan {
  background: linear-gradient(160deg, #fff2df 0%, #ffe6c7 100%);
}

.pesan__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 820px;
  margin-inline: auto;
}

.pesan__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast), box-shadow var(--fast);
  position: relative;
  overflow: hidden;
}

.pesan__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
}

.pesan__card--shopee::before { background: var(--shopee); }
.pesan__card--gofood::before { background: var(--gofood); }

.pesan__card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.pesan__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
}

.pesan__card--shopee .pesan__icon { background: var(--shopee); }
.pesan__card--gofood .pesan__icon { background: var(--gofood); }

.pesan__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}

.pesan__desc { color: var(--espresso-soft); font-size: 0.95rem; }

.pesan__cta {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--espresso);
  margin-top: 0.4rem;
}

.pesan__card--shopee:hover .pesan__cta { color: var(--shopee-deep); }
.pesan__card--gofood:hover .pesan__cta { color: var(--gofood-deep); }

.pesan__note {
  text-align: center;
  margin-top: 2rem;
  color: var(--espresso-soft);
  font-size: 0.9rem;
}

/* ============================================================
   LAYANAN EVENT (dark section)
   ============================================================ */
.event {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255, 138, 61, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(255, 138, 61, 0.12) 0%, transparent 50%),
    var(--espresso);
  color: #f3e5d8;
}

.section__eyebrow--light { color: #ffb27a; }

.section__subtitle--light { color: #d7bfa8; }

.event__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 920px;
  margin-inline: auto;
}

.event__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 178, 122, 0.18);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform var(--fast), background var(--fast), box-shadow var(--fast);
}

.event__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.event__emoji { font-size: 2.4rem; display: block; margin-bottom: 0.9rem; }

.event__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.event__desc {
  font-size: 0.9rem;
  color: #d7bfa8;
}

.event__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 3rem;
}

.event__min-order {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 138, 61, 0.12);
  border: 1px dashed rgba(255, 178, 122, 0.45);
  border-radius: 16px;
  padding: 0.9rem 1.6rem;
}

.event__min-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
  color: #ffb27a;
  line-height: 1.1;
}

.event__min-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d7bfa8;
}

/* ============================================================
   LOKASI
   ============================================================ */
.lokasi__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.lokasi__info { display: flex; flex-direction: column; gap: 1.6rem; }

.lokasi__item {
  display: flex;
  gap: 1rem;
  background: var(--white);
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.lokasi__icon { font-size: 1.6rem; line-height: 1; }

.lokasi__item h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lokasi__item p { color: var(--espresso-soft); font-size: 0.92rem; }

.lokasi__maps-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--amber-deep);
}

.lokasi__maps-link:hover { text-decoration: underline; }

.lokasi__jam {
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--espresso-soft);
}

.lokasi__jam td { padding: 0.15rem 1.2rem 0.15rem 0; }

.lokasi__jam td:last-child { font-weight: 700; color: var(--espresso); }

.lokasi__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.lokasi__actions .btn { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.lokasi__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 380px;
}

.lokasi__map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--espresso);
  color: #f3e5d8;
  padding: 3.2rem 0 2rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer__logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    background: white;
}

.footer__tag { color: #d7bfa8; margin-bottom: 1.4rem; }

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 1.4rem;
}

.footer__nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: #d7bfa8;
  transition: color var(--fast);
}

.footer__nav a:hover { color: var(--white); }

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}

.footer__social a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #d7bfa8;
  transition: color var(--fast);
}

.footer__social a:hover { color: var(--amber); }

.footer__copy { font-size: 0.85rem; color: #a98a72; }

.footer__powered {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #a98a72;
}

.footer__powered a {
  font-weight: 700;
  color: var(--amber);
  transition: color var(--fast);
}

.footer__powered a:hover { color: var(--white); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal--right { transform: translateX(40px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger untuk kartu produk */
.produk__card.reveal:nth-child(2) { transition-delay: 0.08s; }
.produk__card.reveal:nth-child(3) { transition-delay: 0.16s; }
.produk__card.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero { padding-top: 8rem; }
  .produk__grid { grid-template-columns: repeat(2, 1fr); }
  .lokasi__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .navbar__toggle { display: flex; }

  .navbar__nav {
    position: fixed;
    top: 64px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.2rem;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity var(--fast), transform var(--fast);
  }

  .navbar__nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .navbar__link { padding: 0.55rem 0.8rem; border-radius: 10px; }
  .navbar__link:hover { background: var(--cream); }
  .navbar__link::after { display: none; }
  .navbar__cta { justify-content: center; margin-top: 0.5rem; }

  .section { padding: 4rem 0; }
  .hero { padding: 7.5rem 0 4rem; }
  .hero__photo { min-height: 320px; }
  .hero__float-card--1 { left: 8px; }
  .hero__float-card--2 { right: 8px; }

  .produk__grid { grid-template-columns: 1fr; }
  .pesan__grid { grid-template-columns: 1fr; }
  .event__grid { grid-template-columns: 1fr; }
  .event__cta { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__title { font-size: 2.1rem; }
}
