/* ═══════════════════════════════════════════════════
   Daniele's Pizza – assets/css/style.css
   Paleta: #0a0904 · #fe0000 · #ff8202 · #ffc100 · #feead
   ═══════════════════════════════════════════════════ */

:root {
  --bg:       rgb(10, 9, 4);
  --red:      rgb(254, 0, 0);
  --orange:   rgb(255, 130, 2);
  --gold:     rgb(255, 193, 0);
  --cream:    rgb(254, 234, 173);
  --bg2:      #14110a;
  --bg3:      #1c1710;
  --line:     rgba(255,193,0,.15);
  --shadow:   0 20px 60px rgba(0,0,0,.5);
  --glow:     0 0 30px rgba(254,0,0,.3);
  --radius:   18px;
}

*  { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 99px; }

/* ════════════════ NAVBAR ════════════════ */
#mainNav {
  background: rgba(10,9,4,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 1050;
}
.brand-logo {
  width: 52px; height: 52px; border-radius: 14px;
  object-fit: cover; border: 1px solid rgba(255,193,0,.25);
}
.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 900; color: var(--gold);
  line-height: 1;
}
.brand-subtitle { font-size: .72rem; color: var(--orange); font-weight: 700; }

.nav-link {
  font-weight: 700; font-size: .88rem; color: var(--cream) !important;
  letter-spacing: .04em; padding: .5rem .85rem !important;
  transition: color .2s;
}
.nav-link:hover { color: var(--gold) !important; }

.btn-login {
  background: transparent; border: 1px solid var(--line);
  color: var(--cream); border-radius: 99px;
  padding: .45rem 1rem; font-weight: 700; font-size: .85rem;
  transition: all .2s;
}
.btn-login:hover {
  background: var(--gold); color: var(--bg);
  border-color: var(--gold);
}

.btn-cart {
  background: var(--red); color: #fff; border: none;
  border-radius: 99px; padding: .45rem .9rem; font-size: 1.1rem;
  box-shadow: var(--glow); transition: all .2s;
}
.btn-cart:hover { background: var(--orange); transform: scale(1.08); }

.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: var(--bg);
  font-size: .68rem; font-weight: 900;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ════════════════ HERO ════════════════ */
.hero-section {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse at top right, rgba(254,0,0,.12), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(255,193,0,.08), transparent 40%),
    var(--bg);
}

.eyebrow-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(254,0,0,.12); border: 1px solid rgba(254,0,0,.3);
  color: var(--orange); font-weight: 800; font-size: .8rem;
  padding: .4rem .9rem; border-radius: 99px; letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900; line-height: 1.05;
  color: #fff;
}
.hero-heading em {
  font-style: italic; color: var(--gold);
  -webkit-text-stroke: 1px var(--gold);
}

.hero-sub {
  color: rgba(254,234,173,.7); font-size: 1.05rem; line-height: 1.8; max-width: 48ch;
}

/* Buttons */
.btn-fire {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff; border: none; border-radius: 99px;
  padding: .75rem 1.6rem; font-weight: 800; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(254,0,0,.4); transition: all .25s;
}
.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(254,0,0,.55);
  color: #fff;
}
.btn-wa {
  background: #25D366; color: #fff; border: none; border-radius: 99px;
  padding: .75rem 1.6rem; font-weight: 800; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(37,211,102,.35); transition: all .25s;
  display: flex; align-items: center; gap: .4rem;
}
.btn-wa:hover { background: #1fb658; transform: translateY(-2px); color: #fff; }

/* Hero facts */
.hero-facts {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.hero-fact {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(254,234,173,.7);
}
.hero-fact i { color: var(--gold); font-size: 1.2rem; }
.hero-fact strong { display: block; color: var(--cream); font-weight: 700; font-size: .9rem; }
.hero-fact small { font-size: .78rem; }

/* Carousel */
.hero-carousel-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--glow);
}
.carousel-img {
  height: 480px; width: 100%; object-fit: cover;
  border-radius: 24px;
}
.carousel-caption-custom {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,9,4,.9));
  padding: 2.5rem 1.5rem 1.2rem;
  text-align: left;
}
.carousel-caption-custom h5 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  color: var(--gold); margin-bottom: .3rem;
}
.carousel-caption-custom p { color: rgba(254,234,173,.8); margin: 0; font-size: .9rem; }

.carousel-indicators [data-bs-target] {
  background: var(--gold); opacity: .5; width: 8px; height: 8px; border-radius: 50%;
}
.carousel-indicators .active { opacity: 1; }

.float-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: .78rem;
  padding: .4rem .8rem; border-radius: 99px;
  box-shadow: var(--glow); z-index: 5;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ════════════════ SECTION COMMON ════════════════ */
.section-kicker {
  display: inline-block; color: var(--orange); font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
  margin-bottom: .6rem;
}
.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem); color: #fff;
}
.section-heading p { color: rgba(254,234,173,.65); font-size: 1rem; line-height: 1.8; }

/* ════════════════ MENU SECTION ════════════════ */
.menu-section {
  background:
    radial-gradient(ellipse at center, rgba(255,130,2,.05), transparent 60%),
    var(--bg2);
}

/* Filter pills */
.filter-pill {
  background: rgba(255,255,255,.05); color: var(--cream);
  border: 1px solid var(--line); border-radius: 99px;
  padding: .45rem 1.1rem; font-weight: 700; font-size: .82rem;
  cursor: pointer; transition: all .2s;
}
.filter-pill:hover { border-color: var(--orange); color: var(--orange); }
.filter-pill.active {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 20px rgba(254,0,0,.35);
}

/* Pizza card */
.pizza-card {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
  height: 100%;
}
.pizza-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(254,0,0,.2);
  border-color: rgba(255,193,0,.3);
}
.pizza-card__img-wrap { position: relative; overflow: hidden; }
.pizza-card__img {
  height: 220px; width: 100%; object-fit: cover;
  transition: transform .5s;
}
.pizza-card:hover .pizza-card__img { transform: scale(1.08); }

.pizza-card__tag {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--red); color: #fff;
  font-size: .68rem; font-weight: 900; letter-spacing: .06em;
  text-transform: uppercase; padding: .28rem .65rem; border-radius: 99px;
}
.pizza-card__tag.veg   { background: #2d9a4e; }
.pizza-card__tag.hot   { background: var(--orange); }
.pizza-card__tag.esp   { background: var(--gold); color: var(--bg); }

.pizza-card__price {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(10,9,4,.85); backdrop-filter: blur(8px);
  color: var(--gold); font-weight: 900; font-size: 1rem;
  padding: .3rem .75rem; border-radius: 99px; border: 1px solid rgba(255,193,0,.3);
}

.pizza-card__body { padding: 1.1rem; }
.pizza-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .35rem;
}
.pizza-card__desc {
  font-size: .85rem; color: rgba(254,234,173,.55); line-height: 1.6;
  margin-bottom: 1rem;
}
.btn-add {
  width: 100%; background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff; border: none; border-radius: 12px;
  padding: .6rem; font-weight: 800; font-size: .88rem;
  transition: all .2s;
}
.btn-add:hover {
  box-shadow: 0 8px 24px rgba(254,0,0,.4);
  transform: translateY(-1px);
  color: #fff;
}

/* ════════════════ ABOUT ════════════════ */
.about-section { background: var(--bg); }

.about-img-wrap {
  position: relative; display: inline-block; width: 100%;
}
.about-img {
  border-radius: 28px; width: 100%;
  object-fit: cover; height: 460px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-badge {
  position: absolute; bottom: 1.5rem; right: -1.5rem;
  background: var(--gold); color: var(--bg);
  border-radius: 20px; padding: .9rem 1.2rem;
  text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.about-badge span { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; display: block; line-height: 1; }
.about-badge small { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.about-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); color: #fff;
}
.about-section h2 em { font-style: italic; color: var(--gold); }
.about-text { color: rgba(254,234,173,.7); line-height: 1.8; margin-bottom: .8rem; }

.about-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900; color: var(--gold); display: block;
}
.about-stats small {
  font-size: .78rem; color: rgba(254,234,173,.55);
  text-transform: uppercase; letter-spacing: .05em;
}

/* ════════════════ CONTACT ════════════════ */
.contact-section {
  background: var(--bg2);
  border-top: 1px solid var(--line);
}
.contact-card {
  background: var(--bg3); border: 1px solid var(--line);
  border-radius: 24px; padding: 2rem;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover { border-color: rgba(255,193,0,.3); transform: translateY(-4px); }
.contact-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: rgba(254,0,0,.1); border: 1px solid rgba(254,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--red); margin: 0 auto 1rem;
}
.contact-card h5 { color: var(--gold); font-weight: 800; margin-bottom: .5rem; }
.contact-card p { color: rgba(254,234,173,.65); font-size: .92rem; }

/* ════════════════ FOOTER ════════════════ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: rgba(254,234,173,.45);
  font-size: .82rem;
}
.site-footer strong { color: var(--cream); }
.footer-links { display: flex; gap: 1.2rem; justify-content: flex-end; flex-wrap: wrap; }
.footer-links a { color: rgba(254,234,173,.45); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

/* ════════════════ CART OFFCANVAS ════════════════ */
.cart-canvas {
  background: var(--bg2) !important;
  border-left: 1px solid var(--line) !important;
  color: var(--cream);
  width: 400px !important;
}
.offcanvas-header {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
}
.offcanvas-title { color: #fff; font-weight: 800; }
.btn-close-custom {
  background: none; border: none; color: var(--cream);
  font-size: 1.1rem; cursor: pointer; opacity: .6; transition: opacity .2s;
}
.btn-close-custom:hover { opacity: 1; }
.text-accent { color: var(--orange); }

/* Cart item */
.cart-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
}
.cart-item__img {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 700; font-size: .92rem; color: #fff; }
.cart-item__price { color: var(--gold); font-weight: 800; font-size: .88rem; }
.cart-item__controls { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; transition: all .2s;
}
.qty-btn:hover { background: var(--red); border-color: var(--red); }
.qty-num { font-weight: 800; min-width: 22px; text-align: center; font-size: .9rem; }
.btn-del {
  background: none; border: none; color: rgba(254,234,173,.4);
  cursor: pointer; font-size: 1rem; padding: 0 .2rem;
  margin-left: auto; transition: color .2s;
}
.btn-del:hover { color: var(--red); }

.cart-empty {
  text-align: center; padding: 3rem 1rem;
  color: rgba(254,234,173,.4);
}
.cart-empty i { font-size: 3rem; color: var(--line); display: block; margin-bottom: 1rem; }

/* Payment block */
.payment-block { padding: 1rem; background: rgba(255,255,255,.04); border-radius: 16px; border: 1px solid var(--line); }
.pay-option { cursor: pointer; flex: 1; }
.pay-option input { display: none; }
.pay-option span {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem; border-radius: 12px; border: 1px solid var(--line);
  font-weight: 700; font-size: .82rem; color: rgba(254,234,173,.7);
  transition: all .2s; background: rgba(255,255,255,.03);
}
.pay-option input:checked + span {
  background: rgba(254,0,0,.15); border-color: var(--red);
  color: var(--cream);
}

/* Totals */
.cart-totals { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; }
.totals-row { display: flex; justify-content: space-between; font-size: .88rem; padding: .3rem 0; color: rgba(254,234,173,.7); }
.totals-row.total { font-size: 1.05rem; font-weight: 900; color: var(--gold); border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .6rem; }

.btn-checkout { font-weight: 800 !important; font-size: .92rem; }

/* ════════════════ CHATBOT FAB ════════════════ */
.chatbot-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); z-index: 9999;
  transition: transform .2s, box-shadow .2s;
}
.chatbot-fab:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,.6); }
.chatbot-fab img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chatbot-fab i { color: #fff; font-size: 1.6rem; }

/* ════════════════ UTILITIES ════════════════ */
.text-gold { color: var(--gold) !important; }

/* ════════════════ AOS ANIMATIONS ════════════════ */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 991.98px) {
  .about-badge { right: 0; }
  .cart-canvas { width: 100vw !important; }
}
@media (max-width: 767.98px) {
  .hero-section { padding: 2.5rem 0 2rem; }
  .carousel-img { height: 300px; }
  .about-img { height: 300px; }
  .footer-links { justify-content: center; }
}
