/* ============================================
   LIEFERANDO WPPIZZA — HOMEPAGE STYLES
   Web & IT Solution - s-singh.de
   ============================================ */

/* ── HERO ── */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a0a00;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 8, 0, 0.88) 0%,
    rgba(20, 8, 0, 0.60) 50%,
    rgba(255, 102, 0, 0.15) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,102,0,0.2);
  border: 1px solid rgba(255,102,0,0.4);
  color: #FFB380;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: fadeSlideUp 0.6s ease both;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.6s 0.1s ease both;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s 0.3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(255,102,0,0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,102,0,0.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  animation: fadeSlideUp 0.6s 0.4s ease both;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat .number {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
  margin: 4px 0;
}

/* Hero delivery card */
.hero-delivery-card {
  position: absolute;
  right: 60px;
  bottom: 60px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 20px 24px;
  color: #fff;
  animation: fadeSlideUp 0.6s 0.5s ease both;
  min-width: 220px;
}
.hero-delivery-card .dc-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.hero-delivery-card .dc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}
.hero-delivery-card .dc-row:last-child { margin-bottom: 0; }
.dc-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,102,0,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.dc-row .dc-val { font-weight: 700; }
.dc-row .dc-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 1px; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── STATUS BAR ── */
.status-bar {
  background: var(--dark);
  padding: 0;
}
.status-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.status-bar-inner::-webkit-scrollbar { display: none; }
.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.status-item:first-child { padding-left: 0; }
.status-item .si-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.status-item strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

/* ── SECTIONS SHARED ── */
.section {
  padding: 80px 20px;
}
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.1;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ── CATEGORY QUICK NAV ── */
.quick-cats {
  background: var(--white);
  padding: 40px 20px;
  border-bottom: 1px solid var(--border);
}
.quick-cats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.quick-cats-inner::-webkit-scrollbar { display: none; }
.qcat-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: var(--bg);
  border-radius: 16px;
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 110px;
}
.qcat-card:hover, .qcat-card.active {
  background: var(--primary-light);
  border-color: var(--primary);
}
.qcat-card .qcat-icon { font-size: 32px; line-height: 1; }
.qcat-card .qcat-name {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
}
.qcat-card:hover .qcat-name, .qcat-card.active .qcat-name { color: var(--primary); }

/* ── POPULAR DISHES ── */
.popular-section { background: var(--bg); }
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.popular-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  position: relative;
}
.popular-card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-4px);
}
.popular-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}
.popular-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.popular-card:hover .popular-card-img img { transform: scale(1.08); }
.popular-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.popular-card-body {
  padding: 18px;
}
.popular-card-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.popular-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popular-card-price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.popular-card-btn {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 300;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.popular-card:hover .popular-card-btn {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ── HOW IT WORKS ── */
.how-section { background: var(--white); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.how-number {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  letter-spacing: -2px;
}
.how-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.how-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}
.how-desc { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── OPENING HOURS ── */
.hours-section { background: var(--dark); color: #fff; }
.hours-section .section-title { color: #fff; }
.hours-section .section-sub { color: rgba(255,255,255,0.6); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hours-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}
.hours-row.today {
  background: rgba(255,102,0,0.15);
  border: 1px solid rgba(255,102,0,0.3);
  color: #fff;
}
.hours-row .day { font-weight: 600; }
.hours-row.today .day { color: var(--primary); }
.hours-row .time { font-variant-numeric: tabular-nums; }
.hours-row.closed .time { color: #EF4444; }
.hours-map {
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.5);
}
.hours-map iframe {
  width: 100%; height: 100%;
  border: none;
  border-radius: 20px;
}
.hours-contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hours-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  transition: color 0.2s;
}
.hours-contact a:hover { color: var(--primary); }
.hc-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* ── CTA BANNER ── */
.cta-section {
  background: var(--primary);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary);
  padding: 18px 40px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  transition: all 0.2s ease;
  position: relative; z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.btn-cta:hover { transform: scale(1.04); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

/* ── RESPONSIVE HOMEPAGE ── */
@media (max-width: 960px) {
  .hero-delivery-card { display: none; }
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .hours-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 0 20px; }
  .status-bar-inner { padding: 0 20px; }
  .hero-section { min-height: 80vh; }
}

@media (max-width: 600px) {
  .section { padding: 50px 16px; }
  .hero-stats { gap: 20px; }
  .hero-stat .number { font-size: 22px; }
  .hero-actions { gap: 10px; }
  .btn-primary, .btn-ghost { padding: 14px 22px; font-size: 15px; }
}
