/* ============================================================
   Pizza Delivery Experience Planner - Main Stylesheet
   Colors: Soft Orange (#F97316), Cream (#FFF8F0), Dark Gray (#2D2D2D)
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #FFF8F0;
  color: #2D2D2D;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: #F97316; text-decoration: none; transition: color .25s; }
a:hover { color: #c75d0c; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.25;
  color: #2D2D2D;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.1rem; color: #444; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; color: #444; }
li { margin-bottom: .45rem; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 92%;
  max-width: 1160px;
  margin: 0 auto;
}

.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }

.section--cream { background: #FFF8F0; }
.section--white { background: #ffffff; }
.section--orange-light { background: #FFF0E0; }
.section--dark { background: #2D2D2D; color: #FFF8F0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #FFF8F0; }
.section--dark p, .section--dark li { color: #d4cfc9; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-orange { color: #F97316; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Buttons / CTAs ---------- */
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all .25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: #F97316;
  color: #fff;
  border-color: #F97316;
}
.btn-primary:hover {
  background: #c75d0c;
  border-color: #c75d0c;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #F97316;
  border-color: #F97316;
}
.btn-outline:hover {
  background: #F97316;
  color: #fff;
}
.btn-white {
  background: #fff;
  color: #F97316;
  border-color: #fff;
}
.btn-white:hover {
  background: #FFF0E0;
  color: #c75d0c;
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D2D2D;
}
.navbar__logo span { color: #F97316; }
.navbar__logo-icon { font-size: 1.6rem; }

.navbar__menu {
  display: flex;
  list-style: none;
  gap: .25rem;
  padding: 0;
  margin: 0;
}
.navbar__menu a {
  display: block;
  padding: .5rem .85rem;
  color: #2D2D2D;
  font-weight: 500;
  font-size: .9rem;
  border-radius: 6px;
  transition: all .2s;
}
.navbar__menu a:hover,
.navbar__menu a.active { background: #FFF0E0; color: #F97316; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle::after { content: " ▾"; font-size: .75rem; }
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 220px;
  padding: .5rem;
  list-style: none;
  z-index: 999;
}
.nav-dropdown__menu li a {
  padding: .6rem 1rem;
  border-radius: 6px;
  font-size: .88rem;
  color: #2D2D2D;
  display: block;
}
.nav-dropdown__menu li a:hover { background: #FFF0E0; color: #F97316; }
.nav-dropdown:hover .nav-dropdown__menu { display: block; }

.navbar__cta { margin-left: .5rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #2D2D2D; border-radius: 2px; transition: all .3s; }

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #2D2D2D 0%, #4a3728 60%, #6b3a1f 100%);
  color: #fff;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F97316' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content { position: relative; max-width: 700px; }
.hero__label {
  display: inline-block;
  background: rgba(249,115,22,.15);
  color: #F97316;
  border: 1px solid rgba(249,115,22,.3);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__graphic {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  opacity: .07;
  pointer-events: none;
  line-height: 1;
}

/* Page Hero (smaller) */
.page-hero {
  background: linear-gradient(135deg, #2D2D2D 0%, #4a3728 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: attr(data-emoji);
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: .1;
}
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero__sub { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #F97316; }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249,115,22,.12);
}
.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card__img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #FFF0E0, #ffe0c0);
}
.card__body { padding: 1.5rem; }
.card__tag {
  display: inline-block;
  background: #FFF0E0;
  color: #F97316;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.card__title { font-size: 1.15rem; margin-bottom: .6rem; }
.card__text { font-size: .9rem; color: #666; margin-bottom: 1rem; }
.card__link { font-size: .9rem; font-weight: 600; color: #F97316; }
.card__link:hover { color: #c75d0c; }

/* Scenario Cards */
.scenario-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-left: 4px solid #F97316;
  transition: transform .25s, box-shadow .25s;
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(249,115,22,.12);
}
.scenario-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.scenario-card__title { margin-bottom: .6rem; }
.scenario-card__desc { font-size: .92rem; color: #666; margin-bottom: 1.2rem; }

/* Tip Cards */
.tip-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  border-top: 3px solid #F97316;
}
.tip-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: #F97316;
  opacity: .3;
  line-height: 1;
  margin-bottom: .4rem;
  font-family: 'Georgia', serif;
}
.tip-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.tip-card__text { font-size: .88rem; color: #666; }

/* Feature Block */
.feature-block {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.feature-block__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #FFF0E0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-block__title { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.feature-block__text { font-size: .9rem; color: #666; margin: 0; }

/* Step Process */
.step-list { counter-reset: steps; }
.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step-item__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #F97316;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: 'Georgia', serif;
}
.step-item__body { flex: 1; }
.step-item__title { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.step-item__text { font-size: .92rem; color: #666; margin: 0; }

/* ---------- Pizza Type Showcase ---------- */
.pizza-type {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  transition: transform .25s;
}
.pizza-type:hover { transform: translateY(-4px); }
.pizza-type__emoji { font-size: 3.5rem; margin-bottom: .8rem; }
.pizza-type__name { font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.pizza-type__desc { font-size: .82rem; color: #777; }

/* ---------- Info Banner ---------- */
.info-banner {
  background: linear-gradient(135deg, #F97316, #fb923c);
  color: #fff;
  border-radius: 20px;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.info-banner h2, .info-banner h3 { color: #fff; }
.info-banner p { color: rgba(255,255,255,.88); margin: .6rem 0 0; }

/* ---------- Stat Strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e8e0d8;
  border-radius: 16px;
  overflow: hidden;
}
.stat-item {
  background: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.stat-item__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #F97316;
  font-family: 'Georgia', serif;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-item__label { font-size: .82rem; color: #888; font-weight: 500; }

/* ---------- Accordion / FAQ ---------- */
.accordion { border-radius: 12px; overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,.06); }
.accordion__item { background: #fff; border-bottom: 1px solid #f0ebe4; }
.accordion__item:last-child { border-bottom: none; }
.accordion__header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2D2D2D;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.accordion__header:hover { background: #FFF8F0; }
.accordion__header::after { content: '＋'; color: #F97316; font-size: 1.2rem; }
.accordion__header.open::after { content: '－'; }
.accordion__body { display: none; padding: 0 1.5rem 1.2rem; }
.accordion__body p { font-size: .92rem; color: #666; margin: 0; }
.accordion__item.open .accordion__body { display: block; }

/* ---------- Quote / Highlight Box ---------- */
.highlight-box {
  background: #FFF0E0;
  border-left: 4px solid #F97316;
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.8rem;
  margin: 1.5rem 0;
}
.highlight-box p { color: #5a3d1e; font-style: italic; margin: 0; }

/* ---------- Tag List ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.tag {
  background: #FFF0E0;
  color: #F97316;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---------- Sidebar Layout ---------- */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
}
.sidebar-widget__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid #F97316;
  color: #2D2D2D;
}
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li { margin-bottom: .6rem; }
.sidebar-widget ul li a { font-size: .9rem; color: #555; font-weight: 500; }
.sidebar-widget ul li a:hover { color: #F97316; }

/* ---------- Blog ---------- */
.blog-meta {
  display: flex;
  gap: 1.2rem;
  font-size: .82rem;
  color: #999;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.blog-meta span { display: flex; align-items: center; gap: .3rem; }
.blog-content h2 { margin: 2rem 0 .8rem; }
.blog-content h3 { margin: 1.5rem 0 .6rem; }
.blog-content p { margin-bottom: 1.1rem; }

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item__icon {
  width: 46px;
  height: 46px;
  background: #FFF0E0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item__label { font-size: .78rem; color: #999; font-weight: 600; text-transform: uppercase; margin-bottom: .2rem; }
.contact-item__value { font-size: .95rem; font-weight: 600; color: #2D2D2D; }

/* ---------- Footer ---------- */
.footer {
  background: #1e1e1e;
  color: #ccc;
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand { }
.footer__logo {
  font-family: 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .6rem;
}
.footer__logo span { color: #F97316; }
.footer__tagline { font-size: .88rem; color: #999; margin-bottom: 1.2rem; }
.footer__contact-line { font-size: .82rem; color: #888; margin-bottom: .4rem; }
.footer__contact-line a { color: #bbb; }
.footer__contact-line a:hover { color: #F97316; }

.footer__col-title { font-size: .85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .6rem; }
.footer__links a { font-size: .88rem; color: #999; transition: color .2s; }
.footer__links a:hover { color: #F97316; }

.footer__bottom {
  border-top: 1px solid #333;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copyright { font-size: .8rem; color: #666; }
.footer__legal { display: flex; gap: 1.2rem; }
.footer__legal a { font-size: .8rem; color: #666; }
.footer__legal a:hover { color: #F97316; }
.footer__disclaimer {
  background: #161616;
  padding: 1rem 0;
  font-size: .78rem;
  color: #555;
  text-align: center;
}

/* ---------- Disclaimer Banner ---------- */
.disclaimer-banner {
  background: #FFF0E0;
  border: 1px solid rgba(249,115,22,.25);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  font-size: .82rem;
  color: #8a5628;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.disclaimer-banner::before { content: 'ℹ️'; flex-shrink: 0; }

/* ---------- Table of Contents ---------- */
.toc {
  background: #FFF8F0;
  border: 1px solid #f0ebe4;
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
}
.toc__title { font-size: .9rem; font-weight: 700; color: #2D2D2D; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.toc__list { list-style: none; padding: 0; margin: 0; }
.toc__list li { margin-bottom: .4rem; }
.toc__list a { font-size: .88rem; color: #666; }
.toc__list a:hover { color: #F97316; }

/* ---------- Image Placeholder Backgrounds ---------- */
.img-hero-lunch { background: linear-gradient(135deg, #fed7aa, #fb923c); }
.img-hero-dinner { background: linear-gradient(135deg, #4a3728, #6b3a1f); }
.img-hero-late { background: linear-gradient(135deg, #1e1e1e, #2D2D2D); }

/* ---------- Section Divider ---------- */
.divider { border: none; border-top: 1px solid #ede8e0; margin: 3rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .navbar__menu, .navbar__cta { display: none; }
  .hamburger { display: flex; }
  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 1rem;
    gap: .25rem;
    z-index: 999;
  }
  .navbar__inner { position: relative; flex-wrap: wrap; }
  .nav-dropdown__menu { position: static; box-shadow: none; background: #FFF8F0; }
  .info-banner { padding: 2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .hero__graphic { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .btn { padding: .7rem 1.5rem; }
  h1 { font-size: 1.9rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease both; }
.fade-delay-1 { animation-delay: .1s; }
.fade-delay-2 { animation-delay: .2s; }
.fade-delay-3 { animation-delay: .3s; }

/* ---------- Print ---------- */
@media print {
  .navbar, .footer, .btn { display: none; }
  body { font-size: 12pt; }
}