*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #f5ede0;
  --cream-light: #fdf7f0;
  --warm-beige: #e8d5bc;
  --brown-light: #c4956a;
  --brown: #8b5e3c;
  --brown-dark: #5c3d1e;
  --espresso: #2c1810;
  --mocha: #3d2314;
  --gold: #c9933a;
  --text: #3a2518;
  --text-soft: #6b4c35;
  --text-muted: #9a7560;
  --white: #fefcf8;
  --shadow: rgba(44, 24, 16, 0.15);
  --glow: rgba(201, 147, 58, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--cream-light);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--brown);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    background 0.2s ease;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--brown-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s ease,
    height 0.3s ease,
    opacity 0.3s ease;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--brown-light);
  border-radius: 10px;
}

/* ── Noise Texture ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.4;
}

/* ── NAV — Floating style ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Floating pill navbar on scroll */
nav.scrolled {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1160px;
  padding: 12px 28px;
  background: rgba(253, 247, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid rgba(196, 149, 106, 0.25);
  box-shadow:
    0 8px 40px rgba(44, 24, 16, 0.18),
    0 2px 8px rgba(44, 24, 16, 0.08);
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--espresso);
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo .logo-name-senja {
  color: var(--gold);
}
.logo-icon-wrap {
  width: 32px;
  height: 32px;
  background: var(--espresso);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--brown);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--espresso) !important;
  color: var(--cream) !important;
  padding: 9px 22px;
  border-radius: 50px;
  transition: all 0.3s ease !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--brown-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}
.nav-cta::after {
  display: none !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream-light);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--espresso);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--gold);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--cream-light) 0%,
    var(--cream) 60%,
    #edd9be 100%
  );
}
#hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 65%;
  height: 140%;
  background: radial-gradient(ellipse at center, #dfc09a 0%, transparent 70%);
  opacity: 0.45;
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 147, 58, 0.12);
  border: 1px solid rgba(201, 147, 58, 0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--espresso);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--brown);
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--espresso);
  color: var(--cream);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.25);
}
.btn-primary:hover {
  background: var(--brown-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 24, 16, 0.35);
}
.btn-primary svg {
  transition: transform 0.3s ease;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  color: var(--espresso);
  gap: 12px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(139, 94, 60, 0.15);
  animation: fadeInUp 0.6s 0.4s ease both;
}
.stat-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--espresso);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 0.8s 0.2s ease both;
  /* Give room for float cards */
  padding: 20px 60px 20px 20px;
}
.coffee-bowl-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coffee-bowl {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 35% 35%, #8b5e3c, #3d2314 60%, #1a0e08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 30px 80px rgba(44, 24, 16, 0.4),
    inset 0 -10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 18px rgba(196, 149, 106, 0.08),
    0 0 0 36px rgba(196, 149, 106, 0.04);
  flex-shrink: 0;
}
.coffee-bowl::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 15%;
  width: 40%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12), transparent);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.coffee-cup-svg {
  width: 120px;
  height: 120px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

/* Steam — positioned just above the cup icon, not floating separately */
.steam-container {
  position: absolute;
  /* Center horizontally above the cup icon */
  bottom: calc(50% + 44px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
}
.steam {
  width: 4px;
  border-radius: 50px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
  animation: steamRise 2.4s ease-in-out infinite;
}
.steam:nth-child(1) {
  height: 32px;
  animation-delay: 0s;
}
.steam:nth-child(2) {
  height: 44px;
  animation-delay: 0.35s;
}
.steam:nth-child(3) {
  height: 28px;
  animation-delay: 0.7s;
}

/* Floating info cards — clipped within hero-visual so they don't overflow */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  border: 1px solid rgba(196, 149, 106, 0.15);
}
/* Position relative to coffee-bowl-wrap, keep inside hero-visual padding */
.float-1 {
  top: 2%;
  right: 0;
  animation: floatCard 3s ease-in-out infinite;
}
.float-2 {
  bottom: 12%;
  left: 0;
  animation: floatCard 3.5s 0.5s ease-in-out infinite;
}
.float-3 {
  top: 40%;
  right: 0;
  animation: floatCard 4s 1s ease-in-out infinite;
  max-width: 2000px; /* prevent overflow on smaller screens */
}
.float-dot {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-dot.green {
  background: #d1f5e0;
}
.float-dot.amber {
  background: #fdebd0;
}
.float-dot.red {
  background: #fde0e0;
}
.float-dot svg {
  width: 16px;
  height: 16px;
}

/* ── MARQUEE ── */
.marquee-section {
  background: var(--espresso);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(245, 237, 224, 0.65);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.marquee-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.marquee-sep {
  color: var(--gold);
  font-size: 0.65rem;
}

/* ── ABOUT ── */
#about {
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-visual {
  position: relative;
}
.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 460px;
}
.about-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}
.about-card:hover {
  transform: scale(1.03);
}
.about-card:first-child {
  grid-row: 1 / 3;
}
.about-card .bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-card .bg svg {
  width: 64px;
  height: 64px;
  opacity: 0.7;
}
.card-bg-1 {
  background: linear-gradient(135deg, #6b3a1f, #3d2314);
  color: var(--cream);
}
.card-bg-2 {
  background: linear-gradient(135deg, #c4956a, #8b5e3c);
  color: var(--white);
}
.card-bg-3 {
  background: linear-gradient(135deg, #e8d5bc, #c4956a);
  color: var(--brown-dark);
}
.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--espresso);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 8px 30px rgba(201, 147, 58, 0.4);
  animation: spin-slow 12s linear infinite;
}
.about-badge-float svg {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 900;
  color: var(--espresso);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-body {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.feat-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(196, 149, 106, 0.15);
  transition: all 0.3s ease;
}
.feat-row:hover {
  border-color: var(--brown-light);
  transform: translateX(6px);
  box-shadow: 0 4px 20px var(--shadow);
}
.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown);
}
.feat-icon svg {
  width: 20px;
  height: 20px;
}
.feat-title {
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 3px;
  font-size: 0.93rem;
}
.feat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── MENU ── */
#menu {
  padding: 110px 48px;
  background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
  position: relative;
}
#menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 80% 50%,
    rgba(196, 149, 106, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.menu-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(139, 94, 60, 0.2);
  background: transparent;
  color: var(--text-soft);
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.menu-tab.active,
.menu-tab:hover {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.menu-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(196, 149, 106, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
}
.menu-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px var(--shadow);
}

/* Placeholder image area */
.menu-card-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.menu-card:hover .menu-card-img img {
  transform: scale(1.06);
}
/* Placeholder when no real image */
.menu-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.4s ease;
}
.menu-card:hover .img-placeholder {
  transform: scale(1.04);
}
.img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.45;
}
.img-placeholder span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.5;
  text-transform: uppercase;
}
.menu-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    circle at center,
    rgba(201, 147, 58, 0.12),
    transparent
  );
}
.menu-card:hover .menu-card-img::after {
  opacity: 1;
}
.menu-card-body {
  padding: 18px 20px 20px;
}
.menu-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 7px;
}
.menu-card-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--espresso);
  margin-bottom: 7px;
}
.menu-card-desc {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brown);
}
.add-btn {
  width: 36px;
  height: 36px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: "Nunito", sans-serif;
}
.add-btn svg {
  width: 16px;
  height: 16px;
}
.add-btn:hover {
  background: var(--brown-dark);
  transform: scale(1.15) rotate(90deg);
}
.add-btn.added {
  background: var(--gold);
  transform: scale(1.1);
}
.menu-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 0.63rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 16, 0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 50px var(--shadow);
}
.cart-sidebar.open {
  transform: translateX(0);
}
.cart-head {
  padding: 24px;
  border-bottom: 1px solid rgba(196, 149, 106, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-title svg {
  width: 20px;
  height: 20px;
  color: var(--brown);
}
.cart-close {
  background: var(--cream);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s ease;
}
.cart-close svg {
  width: 16px;
  height: 16px;
}
.cart-close:hover {
  background: var(--brown-light);
  color: var(--white);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 22px;
}
.cart-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-muted);
}
.cart-empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.35;
  margin-bottom: 14px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(196, 149, 106, 0.1);
  align-items: center;
  animation: fadeInUp 0.3s ease;
}
.cart-item-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown);
}
.cart-item-icon svg {
  width: 22px;
  height: 22px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 700;
  color: var(--espresso);
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.cart-item-price {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 94, 60, 0.25);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s;
}
.qty-btn svg {
  width: 12px;
  height: 12px;
}
.qty-btn:hover {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
.qty-num {
  font-weight: 800;
  color: var(--espresso);
  min-width: 18px;
  text-align: center;
  font-size: 0.93rem;
}
.cart-foot {
  padding: 18px 22px;
  border-top: 1px solid rgba(196, 149, 106, 0.15);
  background: var(--cream-light);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total-label {
  font-size: 0.95rem;
  color: var(--text-soft);
}
.cart-total-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--espresso);
}
.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.checkout-btn svg {
  width: 16px;
  height: 16px;
}
.checkout-btn:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

/* Cart Float Button */
.cart-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--espresso);
  color: var(--cream);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  border: none;
  box-shadow: 0 8px 30px var(--shadow);
  transition: all 0.3s ease;
}
.cart-float svg {
  width: 22px;
  height: 22px;
}
.cart-float:hover {
  transform: scale(1.1);
  background: var(--brown-dark);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gold);
  color: var(--espresso);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-count.show {
  transform: scale(1);
}

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 110px 48px;
  background: var(--espresso);
  position: relative;
  overflow: hidden;
}
#testimonials::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 30px;
  font-size: 18rem;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}
.testi-header {
  text-align: center;
  margin-bottom: 56px;
}
.testi-header .section-label {
  justify-content: center;
}
.testi-header .section-label::before {
  display: none;
}
.testi-header .section-label::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.testi-header .section-title {
  color: var(--cream);
}

/* Testimonial slider */
.testi-slider-wrap {
  position: relative;
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-card {
  /* Fixed width = (container - gaps) / visible cards */
  /* Show 1 card at a time on medium, 1.1 peek */
  flex: 0 0 calc(100% - 0px);
  max-width: 520px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 32px;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}
.testi-card:hover {
  border-color: rgba(201, 147, 58, 0.35);
}
.testi-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testi-text {
  color: rgba(245, 237, 224, 0.82);
  line-height: 1.8;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 24px;
  /* Prevent super-long lines */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-avatar svg {
  width: 22px;
  height: 22px;
}
.av-1 {
  background: linear-gradient(135deg, #c4956a, #8b5e3c);
  color: var(--white);
}
.av-2 {
  background: linear-gradient(135deg, #8b5e3c, #5c3d1e);
  color: var(--cream);
}
.av-3 {
  background: linear-gradient(135deg, #c9933a, #8b5e3c);
  color: var(--white);
}
.av-4 {
  background: linear-gradient(135deg, #5c3d1e, #3d2314);
  color: var(--cream);
}
.av-5 {
  background: linear-gradient(135deg, #dbc9a8, #c4956a);
  color: var(--espresso);
}
.testi-name {
  font-weight: 800;
  color: var(--cream);
  font-size: 0.92rem;
}
.testi-role {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Slider controls */
.testi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 237, 224, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.testi-arrow:hover {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}
.testi-arrow svg {
  width: 18px;
  height: 18px;
}
.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  padding: 0;
}
.testi-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ── GALLERY ── */
#gallery {
  padding: 110px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-header {
  text-align: center;
  margin-bottom: 46px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 210px);
  gap: 14px;
}
.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:first-child {
  grid-row: 1 / 3;
  grid-column: 1;
}
.gallery-item:nth-child(4) {
  grid-column: 2 / 4;
}
.gallery-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.gallery-bg svg {
  width: 64px;
  height: 64px;
  opacity: 0.55;
}
.gallery-item:hover .gallery-bg {
  transform: scale(1.05);
}
.gb-1 {
  background: linear-gradient(135deg, #4a2510, #2c1810);
  color: var(--cream);
}
.gb-2 {
  background: linear-gradient(135deg, #8b5e3c, #5c3d1e);
  color: var(--cream);
}
.gb-3 {
  background: linear-gradient(135deg, #c4956a, #8b5e3c);
  color: var(--white);
}
.gb-4 {
  background: linear-gradient(135deg, #3d2314, #1a0e08);
  color: var(--cream);
}
.gb-5 {
  background: linear-gradient(135deg, #d4a96a, #c9933a);
  color: var(--espresso);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-overlay-text {
  color: var(--cream);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  padding: 16px;
}
.gallery-overlay-text small {
  font-weight: 500;
  opacity: 0.75;
}

/* ── RESERVATION ── */
#reservation {
  padding: 110px 48px;
  background: linear-gradient(135deg, #1a0e08, #2c1810 40%, #3d2314 100%);
  position: relative;
  overflow: hidden;
}
#reservation::before {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 147, 58, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.res-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.res-text .section-title {
  color: var(--cream);
}
.res-text .section-body {
  color: rgba(245, 237, 224, 0.6);
}
.res-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}
.res-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(245, 237, 224, 0.72);
  font-size: 0.88rem;
}
.res-info-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.res-info-icon svg {
  width: 18px;
  height: 18px;
}
.form-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 32px;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(245, 237, 224, 0.68);
  margin-bottom: 7px;
  letter-spacing: 0.5px;
}
.form-input,
.form-select {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--cream);
  font-family: "Nunito", sans-serif;
  font-size: 0.91rem;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}
.form-input:focus,
.form-select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(201, 147, 58, 0.15);
}
.form-input::placeholder {
  color: rgba(245, 237, 224, 0.28);
}
.form-select option {
  background: var(--espresso);
  color: var(--cream);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--espresso);
  border: none;
  border-radius: 13px;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit svg {
  width: 16px;
  height: 16px;
}
.form-submit:hover {
  background: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 147, 58, 0.4);
}
.form-success {
  text-align: center;
  padding: 40px 16px;
  display: none;
}
.form-success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 14px;
  animation: bounceIn 0.5s ease;
}
.form-success h3 {
  color: var(--cream);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-success p {
  color: rgba(245, 237, 224, 0.62);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  background: var(--mocha);
  padding: 76px 48px 36px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 54px;
  max-width: 1200px;
  margin: 0 auto 56px;
}
.footer-brand .nav-logo {
  color: var(--cream);
  margin-bottom: 14px;
  display: inline-flex;
}
.footer-brand .nav-logo .logo-name-senja {
  color: var(--gold);
}
.footer-brand p {
  color: rgba(245, 237, 224, 0.48);
  font-size: 0.86rem;
  line-height: 1.7;
  max-width: 250px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 237, 224, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.social-btn svg {
  width: 16px;
  height: 16px;
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
  transform: translateY(-3px);
}
.footer-col h4 {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(245, 237, 224, 0.48);
  font-size: 0.86rem;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}
.footer-newsletter p {
  color: rgba(245, 237, 224, 0.48);
  font-size: 0.83rem;
  margin-bottom: 12px;
  line-height: 1.55;
}
.newsletter-form {
  display: flex;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter-input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--cream);
  font-family: "Nunito", sans-serif;
  font-size: 0.83rem;
  outline: none;
}
.newsletter-input::placeholder {
  color: rgba(245, 237, 224, 0.28);
}
.newsletter-btn {
  padding: 12px 16px;
  background: var(--gold);
  color: var(--espresso);
  border: none;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.83rem;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.newsletter-btn svg {
  width: 14px;
  height: 14px;
}
.newsletter-btn:hover {
  background: var(--brown-light);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(245, 237, 224, 0.28);
  font-size: 0.8rem;
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--espresso);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 13px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px var(--shadow);
  animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  border: 1px solid rgba(201, 147, 58, 0.3);
}
.toast svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.toast.out {
  animation: toastOut 0.3s ease forwards;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes steamRise {
  0% {
    opacity: 0;
    transform: scaleX(1) translateY(0);
  }
  30% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.4;
    transform: scaleX(1.4) translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: scaleX(0.8) translateY(-36px);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes bounceIn {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(18px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav.scrolled {
    width: calc(100% - 48px);
  }
}
@media (max-width: 900px) {
  nav {
    padding: 18px 24px;
  }
  nav.scrolled {
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    padding: 10px 20px;
    border-radius: 50px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  #hero {
    grid-template-columns: 1fr;
    padding: 110px 24px 56px;
    text-align: center;
  }
  .hero-sub {
    margin: 0 auto 36px;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }
  .hero-visual {
    margin-top: 40px;
    padding: 20px 40px;
  }
  .coffee-bowl {
    width: 280px;
    height: 280px;
  }
  .float-1 {
    display: none;
  }
  .float-3 {
    right: -8px;
  }
  #about {
    grid-template-columns: 1fr;
    padding: 76px 24px;
    gap: 40px;
  }
  .about-img-grid {
    height: 300px;
  }
  .about-badge-float {
    width: 90px;
    height: 90px;
    font-size: 0.7rem;
    bottom: -14px;
    right: -14px;
  }
  #menu {
    padding: 76px 24px;
  }
  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
  #testimonials {
    padding: 76px 24px;
  }
  .testi-card {
    flex-basis: calc(100vw - 96px);
    max-width: none;
  }
  #gallery {
    padding: 76px 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child {
    grid-row: auto;
    grid-column: auto;
  }
  .gallery-item:nth-child(4) {
    grid-column: auto;
  }
  .res-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #reservation {
    padding: 76px 24px;
  }
  footer {
    padding: 56px 24px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .cart-sidebar {
    width: 100%;
    max-width: 420px;
  }
}
@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item {
    height: 180px;
  }
  .testi-card {
    flex-basis: calc(100vw - 60px);
    padding: 24px;
  }
  .hero-visual {
    padding: 20px 20px;
  }
  .float-2 {
    display: none;
  }
}
