/* ===== Kopify Coffee — storefront styles ===== */
:root {
  --black: #0b0a08;
  --black-soft: #161310;
  --black-card: #1d1a15;
  --gold: #e8b923;
  --gold-light: #f6d668;
  --gold-dark: #a5790f;
  --cream: #fdf6e3;
  --text-light: #f5efe0;
  --text-muted: #b8ae98;
  --green: #2fae4e;
  --red: #e05353;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--black);
  color: var(--text-light);
  overflow-x: hidden;
}

h1, h2, h3, .logo span {
  font-family: 'Marcellus', serif;
  font-weight: 400;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }

.section-title { font-size: 2.4rem; margin-bottom: 14px; }
.section-title.center { text-align: center; }
.section-sub { color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; }
.section-sub.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 10px 25px rgba(232, 185, 35, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 185, 35, 0.45); }
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-block { width: 100%; justify-content: center; margin-bottom: 12px; }

/* ===== Top bar ===== */
.topbar {
  background: var(--gold);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 600;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 8px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 185, 35, 0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.logo span { color: var(--text-light); }
.logo em { color: var(--gold); font-style: normal; }

.nav { display: flex; gap: 34px; }
.nav a { font-weight: 500; font-size: 0.95rem; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.admin-link {
  font-size: 1.05rem; color: var(--text-muted); opacity: 0.7;
  transition: var(--transition);
}
.admin-link:hover { color: var(--gold); opacity: 1; }
.cart-btn { position: relative; font-size: 1.3rem; color: var(--gold); }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--gold); color: var(--black);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; font-size: 1.4rem; color: var(--gold); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,8,0.55) 0%, rgba(11,10,8,0.85) 65%, var(--black) 100%),
              radial-gradient(circle at 30% 30%, rgba(232,185,35,0.15), transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 22px; }
.hero h1 span { color: var(--gold); }
.hero-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 34px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--gold); font-size: 1.3rem; z-index: 2;
  animation: bounce 1.8s infinite;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,10px);} }

/* ===== About ===== */
.about { padding: 110px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--gold); color: var(--black);
  padding: 16px 20px; border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; box-shadow: var(--shadow);
}
.about-badge i { font-size: 1.4rem; }
.about-copy p { color: var(--text-muted); margin-bottom: 26px; line-height: 1.7; }
.about-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Marcellus', serif; font-size: 2rem; color: var(--gold); }
.stat-num i { font-size: 1.1rem; margin-left: 4px; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Menu ===== */
.menu { padding: 110px 0; background: var(--black-soft); }
.menu-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 24px; border-radius: 50px; border: 1.5px solid rgba(232,185,35,0.3);
  color: var(--text-muted); font-weight: 600; transition: var(--transition);
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold); }
.tab-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}
.menu-card {
  background: var(--black-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(232,185,35,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.menu-card:hover { transform: translateY(-6px); border-color: rgba(232,185,35,0.4); box-shadow: var(--shadow); }
.menu-card-img { position: relative; height: 190px; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.08); }
.menu-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--black);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px; letter-spacing: 0.5px;
}
.menu-badge.sold-out { background: var(--red); color: #fff; }
.menu-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.menu-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.menu-card-top h3 { font-size: 1.1rem; }
.menu-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.menu-card-body p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; flex: 1; margin-bottom: 18px; }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty-control { display: flex; align-items: center; gap: 12px; background: var(--black-soft); border-radius: 50px; padding: 6px 14px; }
.qty-control button { color: var(--gold); font-size: 1rem; width: 20px; }
.qty-control span { min-width: 16px; text-align: center; font-weight: 600; }
.add-btn {
  background: var(--gold); color: var(--black); font-weight: 700;
  padding: 10px 18px; border-radius: 50px; font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.add-btn:hover { background: var(--gold-light); }
.add-btn:disabled { background: #4a4436; color: var(--text-muted); cursor: not-allowed; }

/* ===== Features ===== */
.features { padding: 90px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.feature { padding: 34px 20px; border-radius: var(--radius); background: var(--black-card); border: 1px solid rgba(232,185,35,0.08); transition: var(--transition); }
.feature:hover { border-color: rgba(232,185,35,0.4); transform: translateY(-4px); }
.feature i { font-size: 2rem; color: var(--gold); margin-bottom: 18px; }
.feature h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature p { color: var(--text-muted); font-size: 0.88rem; }

/* ===== Order/Delivery ===== */
.order { padding: 100px 0; background: var(--black-soft); }
.delivery-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 800px; margin: 0 auto; }
.delivery-card {
  padding: 40px; border-radius: var(--radius); text-align: center;
  border: 1.5px solid rgba(232,185,35,0.15); transition: var(--transition);
  background: var(--black-card);
}
.delivery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.delivery-card i { font-size: 2.6rem; margin-bottom: 16px; }
.delivery-card.fp i { color: #d70f64; }
.delivery-card.gf i { color: #00b14f; }
.delivery-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.delivery-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }
.delivery-cta { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--black-card); border-radius: var(--radius); padding: 30px; border: 1px solid rgba(232,185,35,0.08); }
.stars { color: var(--gold); margin-bottom: 16px; font-size: 0.9rem; }
.testi-card p { color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { font-weight: 600; color: var(--gold-light); }

/* ===== Contact ===== */
.contact { padding: 100px 0; background: var(--black-soft); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.contact-list { margin: 26px 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list i { color: var(--gold); font-size: 1.2rem; margin-top: 4px; }
.contact-list strong { display: block; margin-bottom: 3px; }
.contact-list span { color: var(--text-muted); font-size: 0.9rem; }
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-row a:hover { background: var(--gold); color: var(--black); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 360px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.1); }

/* ===== Footer ===== */
.footer { background: var(--black); padding: 70px 0 0; border-top: 1px solid rgba(232,185,35,0.1); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 14px; line-height: 1.6; }
.footer-col h4 { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(232,185,35,0.1); padding: 22px 0; text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* ===== Cart Drawer ===== */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100vh;
  background: var(--black-soft); z-index: 201; transition: right 0.35s ease;
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}
.cart-drawer.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid rgba(232,185,35,0.12); }
.cart-header h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.cart-header button { font-size: 1.2rem; color: var(--text-muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 18px; }
.cart-empty { color: var(--text-muted); text-align: center; margin-top: 60px; }
.cart-empty i { font-size: 2.4rem; color: var(--gold-dark); margin-bottom: 14px; display: block; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h5 { font-size: 0.92rem; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { color: var(--gold); font-size: 0.85rem; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; }
.cart-item-actions button { color: var(--text-muted); font-size: 0.9rem; width: 22px; }
.cart-item-actions button:hover { color: var(--gold); }
.cart-item-remove { color: var(--red) !important; margin-left: 6px; }
.cart-footer { padding: 22px 24px 26px; border-top: 1px solid rgba(232,185,35,0.12); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.cart-note { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 18px; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 20px);
  background: var(--gold); color: var(--black); font-weight: 600;
  padding: 14px 26px; border-radius: 50px; box-shadow: var(--shadow);
  z-index: 300; opacity: 0; visibility: hidden; transition: var(--transition);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; top: 73px; left: 0; right: 0; background: var(--black-soft);
    flex-direction: column; padding: 20px 24px; gap: 8px; border-bottom: 1px solid rgba(232,185,35,0.15);
    transform: translateY(-150%); transition: var(--transition); z-index: 99; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hamburger { display: block; }
  .hero h1 { font-size: 2.6rem; }
  .topbar-inner { gap: 16px; font-size: 0.72rem; }
  .delivery-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .features-grid, .footer-inner { grid-template-columns: 1fr; }
  .section-title { font-size: 1.9rem; }
  .cart-drawer { width: 100%; }
}
