/*
Theme Name: Black Coffee Drive
Theme URI: https://blackcoffeedrive.md
Description: Tema custom Black Coffee Drive
Version: 1.0
Author: Black Coffee Drive
*/

:root {
  --bg: #0c0e10;
  --card: #15181d;
  --accent: #4cffba;
  --accent-2: #17a38d;
  --text: #f5f8fb;
  --muted: #a7b4c6;
  --pill: #0f1c2a;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(76,255,186,0.08), transparent 32%),
              radial-gradient(circle at 80% 0%, rgba(23,163,141,0.12), transparent 30%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
header {
  position: static;
  backdrop-filter: blur(8px);
  background: rgba(12,14,16,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 90px; width: auto; object-fit: contain; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #58f0c7); color: #051312; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.16); box-shadow: none; }
.btn:hover { transform: translateY(-2px) scale(1.01); }

.hero {
  max-width: 1180px;
  margin: 32px auto 10px;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--pill);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
h1 { margin: 12px 0 8px; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; }
p.lead { margin: 0 0 18px; color: var(--muted); max-width: 560px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.hero-card img { width: 100%; border-radius: 16px; object-fit: cover; }
.glow { position: absolute; inset: 10% auto auto 55%; width: 180px; height: 180px; background: radial-gradient(circle, rgba(76,255,186,0.28), transparent 55%); filter: blur(50px); pointer-events: none; }

.menu-section { max-width: 1180px; margin: 10px auto 40px; padding: 0 20px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 12px; }
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: 0.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card.no-image { gap: 8px; padding: 12px 14px; }
.card-desc { color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 4 / 3; background: #0d0f12; }
.card-title { font-weight: 700; font-size: 16px; letter-spacing: 0.2px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { background: rgba(76,255,186,0.12); color: var(--accent); padding: 6px 10px; border-radius: 10px; font-weight: 700; }
footer { margin-top: auto; padding: 26px 20px 40px; background: #090b0d; color: var(--muted); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.pill-title { font-weight: 700; letter-spacing: 0.4px; display: inline-flex; align-items: center; gap: 8px; font-size: clamp(18px, 2.8vw, 24px); }
.social-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social-links a { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); align-items: center; justify-content: center; transition: transform 160ms ease, border-color 160ms ease; }
.social-links a:hover { transform: translateY(-1px); border-color: var(--accent); }
.quick-nav { position: sticky; top: 0; z-index: 12; background: rgba(12,14,16,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.quick-nav-inner { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.quick-nav a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; background: transparent; color: #f5f8fb; font-weight: 700; letter-spacing: 0.3px; border: 1.5px solid var(--accent); white-space: nowrap; transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
.quick-nav a.active { background: linear-gradient(135deg, var(--accent), #58f0c7); color: #051312; border-color: transparent; }

/* Cart styles (meniu page) */
.card-desc { color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.menu-section .card .btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.cart-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 14px 18px; background: linear-gradient(135deg, var(--accent), #58f0c7); color: #051312; font-weight: 800; cursor: pointer; box-shadow: 0 18px 38px rgba(76,255,186,0.18); }
.badge { min-width: 24px; height: 24px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 8px; background: rgba(5,19,18,0.96); color: var(--accent); font-size: 12px; font-weight: 900; }
.fly-token { position: fixed; z-index: 70; pointer-events: none; border-radius: 999px; padding: 10px 14px; background: linear-gradient(135deg, var(--accent), #58f0c7); color: #051312; font-weight: 800; box-shadow: 0 16px 30px rgba(76,255,186,0.25); transform: translate3d(0,0,0) scale(1); opacity: 1; transition: transform 560ms cubic-bezier(.2,.8,.2,1), opacity 560ms ease; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.48); opacity: 0; pointer-events: none; transition: opacity 180ms ease; z-index: 55; }
.cart { position: fixed; right: 18px; top: 92px; bottom: 18px; width: min(420px, calc(100vw - 36px)); transform: translateX(calc(100% + 24px)); transition: transform 200ms ease; z-index: 58; background: rgba(17,24,30,0.96); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 30px 70px rgba(0,0,0,0.35); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; backdrop-filter: blur(18px); }
.cart.open { transform: translateX(0); }
.cart-header, .cart-footer { padding: 18px; background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.08); }
.cart-header { border-bottom: 1px solid rgba(255,255,255,0.08); }
.cart-footer { border-top: 1px solid rgba(255,255,255,0.08); }
.cart-header h3, .cart-header p, .cart-footer p { margin: 0; }
.cart-header p, .cart-note, .cart-empty, .cart-item small, .results-info { color: var(--muted); }
.cart-header p { margin-top: 6px; font-size: 13px; line-height: 1.5; }
.cart-body { padding: 14px 18px; overflow: auto; flex: 1; }
.cart-empty { border: 1px dashed rgba(255,255,255,0.15); border-radius: 16px; padding: 16px; line-height: 1.55; background: rgba(255,255,255,0.02); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cart-item:last-child { border-bottom: none; }
.cart-item strong { display: block; font-size: 14px; }
.cart-item small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; }
.qty { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.qty .btn { padding: 8px 10px; border-radius: 12px; box-shadow: none; }
.qty-value { min-width: 18px; text-align: center; font-weight: 800; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.totals { display: flex; justify-content: space-between; gap: 14px; align-items: flex-end; }
.totals .big { font-size: 24px; font-weight: 900; }
.mini-note { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }

@media (max-width: 980px) {
  .cart { top: auto; left: 18px; right: 18px; bottom: 18px; width: auto; height: min(72vh, 680px); }
}
@media (max-width: 640px) {
  .quick-nav-inner { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 10px 16px; }
  .quick-nav a { flex: 0 0 auto; }
  .quick-nav-inner::-webkit-scrollbar { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { min-height: 0; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 16px; }
  .brand img { height: 60px; }
  .card { padding: 12px; }
  .hero { padding: 0 16px 16px; }
  .cta-row { flex-wrap: nowrap; overflow-x: auto; }
  .cta-row a { flex: 1 0 auto; white-space: nowrap; padding: 9px 14px; font-size: 14px; }
  .cta-row::-webkit-scrollbar { display: none; }
  .footer-inner .actions { display: none; }
  .cart-toggle { right: 14px; bottom: 14px; }
  .cart-actions { grid-template-columns: 1fr; }
}
