/*
Theme Name: Wrapped & Loaded
Theme URI: https://wrappedandloaded.co.uk
Author: Wrapped & Loaded
Description: A custom delivery-only fast food WordPress theme for Wrapped & Loaded. Apps only, no checkout, no collection.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: wrapped-loaded
*/

:root {
  --wl-black: #070707;
  --wl-charcoal: #111111;
  --wl-card: #fff4dc;
  --wl-yellow: #f7b500;
  --wl-red: #e32720;
  --wl-white: #ffffff;
  --wl-muted: #d7d7d7;
  --wl-teal: #00b7ad;
  --wl-orange: #ff7a00;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', Arial, sans-serif;
  background: var(--wl-black);
  color: var(--wl-white);
}

p, li, a, button, input, textarea {
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }

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

.site-topbar {
  background: var(--wl-black);
  color: var(--wl-yellow);
  text-align: center;
  padding: 9px 18px;
  border-bottom: 2px solid var(--wl-yellow);
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.site-header {
  background: rgba(0,0,0,.95);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 2px solid var(--wl-yellow);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo img {
  max-height: 92px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  text-transform: uppercase;
  font-weight: 900;
}

.main-nav a {
  color: var(--wl-white);
  font-size: 15px;
  letter-spacing: .7px;
  padding: 10px 0;
}

.main-nav a:hover {
  color: var(--wl-yellow);
}

.order-pill {
  background: var(--wl-red);
  color: var(--wl-white) !important;
  padding: 12px 18px !important;
  border-radius: 999px;
  box-shadow: 0 5px 0 #850d0a;
}

.hero {
  min-height: 720px;
  background:
    radial-gradient(circle at 70% 40%, rgba(247,181,0,.16), transparent 32%),
    linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.78) 48%, rgba(0,0,0,.42) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 14px);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 20px 70px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
}

.hero-logo {
  max-width: 195px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(54px, 7vw, 104px);
  line-height: .88;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 .yellow { color: var(--wl-yellow); }
.hero h1 .red { color: var(--wl-red); }

.hero p {
  font-size: 22px;
  line-height: 1.25;
  max-width: 520px;
  color: var(--wl-white);
  margin: 0 0 24px;
  font-weight: 800;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  padding: 16px 24px;
  border-radius: 10px;
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.32);
}

.app-button.just-eat { background: var(--wl-orange); }
.app-button.deliveroo { background: var(--wl-teal); }
.app-button.uber { background: #1db954; }
.app-button.foodhub { background: #df1f2d; }

.hero-food {
  position: relative;
  min-height: 520px;
}

.float-food {
  position: absolute;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.65));
}

.float-wrap { width: 58%; left: 0; top: 30px; transform: rotate(-6deg); }
.float-burger { width: 45%; right: 0; top: 120px; }
.float-dog { width: 45%; left: 10%; bottom: 90px; transform: rotate(-8deg); }
.float-fries { width: 38%; right: 16%; bottom: 90px; }
.float-choco { width: 42%; right: -5%; bottom: 15px; transform: rotate(5deg); }

.section {
  padding: 72px 20px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 38px;
}

.section-title h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 1px;
}

.section-title h2 span {
  color: var(--wl-yellow);
}

.section-title p {
  font-size: 18px;
  color: var(--wl-muted);
  max-width: 720px;
  margin: 10px auto 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.menu-card {
  background: var(--wl-card);
  color: #111;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(247,181,0,.75);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
}

.menu-card-image {
  height: 180px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-card-image img {
  width: 115%;
  height: 115%;
  object-fit: contain;
}

.menu-card-content {
  padding: 18px 14px;
  text-align: center;
  flex: 1;
}

.menu-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.menu-card p {
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 15px;
  color: #222;
}

.price {
  color: var(--wl-red);
  font-size: 28px;
  font-weight: 900;
}

.order-steps {
  background: var(--wl-card);
  color: #111;
  padding: 50px 20px;
}

.order-steps .section-title h2 {
  color: #111;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.step-card {
  background: white;
  color: #111;
  padding: 22px;
  border-radius: 20px;
  border: 2px solid rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  text-align: center;
}

.step-card img {
  max-height: 170px;
  object-fit: contain;
}

.delivery-banner {
  background:
    radial-gradient(circle at 80% 50%, rgba(227,39,32,.25), transparent 20%),
    linear-gradient(90deg, #090909, #171717);
  border-top: 2px solid var(--wl-yellow);
  border-bottom: 2px solid var(--wl-yellow);
  padding: 55px 20px;
}

.delivery-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr .8fr;
  gap: 30px;
  align-items: center;
}

.delivery-inner h2 {
  font-size: clamp(35px, 5vw, 62px);
  line-height: .95;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.delivery-inner h2 span {
  color: var(--wl-yellow);
}

.neon-badge {
  max-width: 240px;
  justify-self: end;
}

.app-note {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding: 22px;
  border-radius: 18px;
  margin-top: 20px;
}

.app-note p {
  margin: 0;
  color: var(--wl-muted);
  line-height: 1.55;
}

.allergens {
  background: #0d0d0d;
}

.notice {
  background: rgba(227,39,32,.14);
  border: 2px solid var(--wl-red);
  padding: 24px;
  border-radius: 18px;
  color: white;
}

.notice p {
  margin: 0;
  line-height: 1.6;
  font-size: 17px;
}

.site-footer {
  background: #020202;
  color: white;
  border-top: 2px solid var(--wl-yellow);
  padding: 36px 20px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  max-width: 170px;
}

.footer-text {
  text-align: right;
}

.footer-text strong {
  color: var(--wl-yellow);
}

.page-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 70px 20px;
}

.page-content h1 {
  font-size: 54px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.page-content p {
  line-height: 1.65;
  color: var(--wl-muted);
}

@media (max-width: 980px) {
  .header-inner { flex-direction: column; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-food { min-height: 420px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .delivery-inner { grid-template-columns: 1fr; text-align: center; }
  .neon-badge { justify-self: center; }
  .footer-text { text-align: left; }
}

@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 50px; }
  .app-button { width: 100%; }
  .float-food { position: relative; width: 80% !important; inset: auto !important; transform: none !important; display: block; margin: 0 auto -25px; }
  .hero-food { min-height: auto; display: grid; gap: 5px; }
}
