/* ============================================================
   HAP PIZZA — Complete Stylesheet
   Premium local pizza brand · Bold · Warm · Appetizing
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --orange: #E8651A;
  --orange-hover: #D45A15;
  --orange-light: #F4974D;
  --maroon: #6B1D1D;
  --maroon-dark: #4A1313;
  --green: #2D5A27;
  --green-light: #3D7A35;
  --cream: #F5E6C8;
  --cream-light: #FAF3E6;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-100: #F7F7F7;
  --gray-200: #E5E5E5;
  --gray-300: #CCCCCC;
  --gray-600: #666666;
  --gray-800: #333333;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --shadow-card: 0 4px 16px rgba(107,29,29,.10);

  /* Typography */
  --font-display: 'Lilita One', 'Impact', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: 80px;
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --speed: .3s;

  /* Navbar */
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--cream-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--speed) var(--ease);
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
  transition: all var(--speed) var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: .5px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Utility / Animation Classes ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: var(--maroon);
  box-shadow: 0 2px 20px rgba(107,29,29,.35);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--speed) var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Cart button in nav */
.nav-cart-btn {
  position: relative;
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cart-btn:hover {
  background: var(--orange-hover);
  transform: scale(1.05);
}

.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--green);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  transition: transform var(--speed) var(--ease);
}

.nav-cart-badge.bump {
  animation: cartBump .4s var(--ease);
}

@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--speed) var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--maroon);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(107,29,29,.92) 0%,
    rgba(107,29,29,.7) 40%,
    rgba(232,101,26,.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 100px 20px 60px;
  max-width: 800px;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 24px;
  animation: floatIn .8s var(--ease) both;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(-30px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 2px 4px 12px rgba(0,0,0,.35);
  animation: floatIn .8s var(--ease) .2s both;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,.9);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.6;
  animation: floatIn .8s var(--ease) .35s both;
}

.hero-br {
  display: block;
}

.hero-price-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  padding: 8px 28px;
  border-radius: 50px;
  margin-bottom: 32px;
  animation: floatIn .8s var(--ease) .45s both;
  box-shadow: 0 4px 20px rgba(232,101,26,.4);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: floatIn .8s var(--ease) .55s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all var(--speed) var(--ease);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,101,26,.35);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232,101,26,.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  text-align: center;
  animation: bounceDown 2s infinite;
}

.hero-scroll i {
  display: block;
  font-size: 1.2rem;
  margin-top: 4px;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* ---------- Promo Banner ---------- */
.promo-banner {
  background: var(--orange);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.promo-marquee {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.promo-marquee span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.promo-marquee span i {
  color: var(--cream);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--maroon);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ---------- Menu Section ---------- */
.menu-section {
  background: var(--cream-light);
}

.menu-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.menu-cat-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  background: var(--white);
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
}

.menu-cat-btn.active,
.menu-cat-btn:hover {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* Menu Card */
.menu-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card-image {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.06);
}

.menu-card-image .pizza-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,.7);
}

.pizza-placeholder.style-1 {
  background: linear-gradient(135deg, #E8651A 0%, #C44E12 50%, #6B1D1D 100%);
}
.pizza-placeholder.style-2 {
  background: linear-gradient(135deg, #F4974D 0%, #E8651A 50%, #D45A15 100%);
}
.pizza-placeholder.style-3 {
  background: linear-gradient(135deg, #F5E6C8 0%, #E8651A 40%, #6B1D1D 100%);
}
.pizza-placeholder.style-4 {
  background: linear-gradient(135deg, #2D5A27 0%, #3D7A35 50%, #E8651A 100%);
}
.pizza-placeholder.style-5 {
  background: linear-gradient(135deg, #6B1D1D 0%, #E8651A 50%, #F4974D 100%);
}

.menu-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.menu-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-card-category {
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.menu-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.menu-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--orange);
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
}

.qty-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 1rem;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.qty-value {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--gray-800);
}

.add-cart-btn {
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.add-cart-btn:hover {
  background: var(--orange-hover);
  transform: scale(1.05);
}

.add-cart-btn.added {
  background: var(--green);
}

/* ---------- How To Order ---------- */
.how-to-order {
  background: var(--maroon);
  position: relative;
  overflow: hidden;
}

.how-to-order::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(232,101,26,.15);
  border-radius: 50%;
}

.how-to-order::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: rgba(232,101,26,.1);
  border-radius: 50%;
}

.how-to-order .section-header h2 {
  color: var(--white);
}

.how-to-order .section-header p {
  color: rgba(255,255,255,.7);
}

.how-to-order .section-divider {
  background: var(--orange);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.step-card {
  text-align: center;
  padding: 36px 22px 28px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.35s var(--ease), 
              background 0.35s var(--ease), 
              border-color 0.35s var(--ease);
  cursor: default;
}

.step-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 101, 26, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(232, 101, 26, 0.2);
}

.step-number {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff7e33 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(232,101,26,.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover .step-number {
  transform: scale(1.12) rotate(6deg);
}

.step-icon {
  font-size: 2.2rem;
  color: var(--orange-light);
  margin-bottom: 14px;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.step-card:hover .step-icon {
  transform: translateY(-4px) scale(1.08);
  color: #ffa559;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.step-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

/* Step connector arrow */
.step-card:not(:last-child)::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-light);
  font-size: 1.1rem;
  opacity: 0.7;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 3;
}

.step-card:hover:not(:last-child)::after {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--maroon);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.about-feature i {
  color: var(--orange);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.about-feature span {
  font-weight: 600;
  font-size: .9rem;
  color: var(--maroon);
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.about-gallery .gallery-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  cursor: pointer;
}

.about-gallery .gallery-img:first-child {
  grid-row: 1 / 3;
}

.about-gallery .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107, 29, 29, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.gallery-btn {
  background: var(--orange);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(8px);
  transition: transform 0.3s var(--ease);
}

.about-gallery .gallery-img:hover img {
  transform: scale(1.06);
}

.about-gallery .gallery-img:hover .gallery-overlay {
  opacity: 1;
}

.about-gallery .gallery-img:hover .gallery-btn {
  transform: translateY(0);
}

/* ---------- Lightbox Modal ---------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #1e1313;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-container {
  transform: scale(1);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #2b1818;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
}

.lightbox-caption {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lightbox-tool-btn {
  background: var(--orange);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
}

.lightbox-tool-btn:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.lightbox-tool-btn.close-btn {
  background: rgba(255, 255, 255, 0.12);
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.95rem;
}

.lightbox-tool-btn.close-btn:hover {
  background: #e53e3e;
}

.lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: auto;
  max-height: calc(92vh - 60px);
  background: #0f0a0a;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: calc(88vh - 70px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ---------- Testimonials ---------- */
.testimonial-section {
  background: var(--cream-light);
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform .5s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-inner {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
}

.testimonial-inner::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 24px;
  font-size: 5rem;
  color: var(--orange);
  opacity: .15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: #FFB800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-inner p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.testimonial-info h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--maroon);
}

.testimonial-info span {
  font-size: .8rem;
  color: var(--gray-600);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.testimonial-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--maroon);
  color: var(--white);
}

.contact-section .section-header h2 {
  color: var(--white);
}

.contact-section .section-header p {
  color: rgba(255,255,255,.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(232,101,26,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}

.contact-wa-btn:hover {
  background: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 300px;
  background: var(--maroon-dark);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--maroon-dark);
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  transition: all var(--speed) var(--ease);
}

.footer-social-icons a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .82rem;
}

/* ---------- Cart Drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed) var(--ease);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid var(--gray-100);
}

.cart-header h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-header h3 i {
  color: var(--orange);
}

.cart-close {
  width: 38px;
  height: 38px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-600);
}

.cart-close:hover {
  background: var(--maroon);
  color: var(--white);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
}

.cart-empty i {
  font-size: 3rem;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.cart-empty p {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.cart-empty span {
  font-size: .88rem;
  color: var(--gray-600);
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-image .pizza-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: rgba(255,255,255,.7);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  color: var(--maroon);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: .85rem;
  color: var(--orange);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
}

.cart-item-qty button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: .9rem;
  font-weight: 700;
}

.cart-item-qty button:hover {
  background: var(--orange);
  color: var(--white);
}

.cart-item-qty span {
  width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: .85rem;
}

.cart-item-remove {
  width: 30px;
  height: 30px;
  background: none;
  color: var(--gray-300);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: #E53E3E;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 2px solid var(--gray-100);
  background: var(--gray-100);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: .95rem;
}

.cart-subtotal span:first-child {
  color: var(--gray-600);
}

.cart-subtotal span:last-child {
  font-weight: 700;
  color: var(--gray-800);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-300);
}

.cart-total span:first-child {
  font-weight: 700;
  font-size: 1rem;
  color: var(--maroon);
}

.cart-total span:last-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange);
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}

.cart-checkout-btn:hover {
  background: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
}

.cart-checkout-btn:disabled {
  background: var(--gray-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- Floating WhatsApp Button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

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

.wa-float:hover {
  animation: none;
  transform: scale(1.1);
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 3000;
  background: var(--maroon);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform .4s var(--ease);
}

.toast.show {
  transform: translateX(0);
}

.toast i {
  color: var(--green-light);
  font-size: 1.1rem;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Mobile: up to 480px */
@media (max-width: 480px) {
  :root {
    --section-pad: 48px;
    --nav-height: 64px;
  }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--maroon);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }

  .nav-links.open {
    max-height: 400px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
  }

  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
  }

  .nav-links a::after { display: none; }

  .nav-cart-btn {
    margin: 16px 24px;
    justify-content: center;
  }

  .hero-logo { width: 130px; }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-card:not(:last-child)::after { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Tablet: 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --section-pad: 56px;
  }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--maroon);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }

  .nav-links.open {
    max-height: 400px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
  }

  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
  }

  .nav-links a::after { display: none; }

  .nav-cart-btn {
    margin: 16px 24px;
    justify-content: center;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .step-card:not(:last-child)::after { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Small desktop: 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .step-card:not(:last-child)::after {
    font-size: 1rem;
    right: -10px;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}
