/* ===========================================================
   Papa Murphy's Vernon — Landing Page Styles
   ===========================================================
   Brand Colors:
     --red: #D01C2A      --red-dark: #A3121E
     --yellow: #FFD600   --dark: #1A0A00
     --cream: #FFF8EE    --white: #FFFFFF
   =========================================================== */

:root {
  --red: #D01C2A;
  --red-dark: #A3121E;
  --red-hover: #ba1824;
  --yellow: #FFD600;
  --yellow-muted: #F5CA00;
  --dark: #1A0A00;
  --dark-warm: #231008;
  --cream: #FFF8EE;
  --cream-mid: #F7F0E4;
  --cream-dark: #EDE5D7;
  --white: #FFFFFF;
  --body-text: #3D2E1F;
  --body-muted: #7A6B5A;
  --border-light: rgba(61,46,31,0.08);

  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-xs: 0 1px 2px rgba(26,10,0,0.06);
  --shadow-sm: 0 2px 6px rgba(26,10,0,0.07);
  --shadow-md: 0 4px 16px rgba(26,10,0,0.09);
}


/* ===========================================================
   RESET
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }


/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }

.btn--yellow { background: var(--yellow); color: var(--dark); }
.btn--yellow:hover { background: var(--yellow-muted); }

.btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn--sm { font-size: 0.82rem; padding: 9px 20px; }
.btn--arrow::after { content: '\2192'; margin-left: 4px; }


/* ===========================================================
   1. TOP PROMO STRIP
   =========================================================== */
.promo-bar {
  background: var(--red);
  overflow: hidden;
  height: 38px;
  position: relative;
}
.promo-bar__track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker 45s linear infinite;
}
.promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.promo-bar__item span { color: var(--yellow); font-weight: 700; }
.promo-bar__dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===========================================================
   2. HEADER
   =========================================================== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo img {
  height: 132px;
  width: auto;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 3. Krispy Cravings button */
.krispy-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, border-color 0.2s;
}
.krispy-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}
.krispy-link img { height: 20px; width: auto; }
.krispy-link span {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header__cta { font-size: 0.85rem; padding: 9px 22px; }


/* ===========================================================
   4. HERO SECTION
   Cream background, split layout — text left, pizza right
   =========================================================== */
.hero {
  background: var(--cream);
  padding: 48px 0 0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero__content { padding-bottom: 48px; }

.hero__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.hero__headline {
  font-size: 2.9rem;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.06;
}
.hero__headline em {
  color: var(--red);
  font-style: normal;
}
.hero__subline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--body-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* New Location callout */
.hero__newloc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 16px;
  padding: 6px 14px;
  background: rgba(208,28,42,0.08);
  border: 1px solid rgba(208,28,42,0.15);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__newloc svg {
  width: 14px; height: 14px;
  fill: var(--red);
  flex-shrink: 0;
}

.hero__sub {
  font-size: 1.02rem;
  color: var(--body-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 440px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.hero__phone svg {
  width: 18px; height: 18px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 2;
}

.hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--body-muted);
}

.hero__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  filter: drop-shadow(0 20px 24px rgba(0,0,0,0.32));
}


/* ===========================================================
   AVAILABILITY STRIP
   =========================================================== */
.avail-strip {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}
.avail-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body-muted);
}
.avail-strip__label { font-weight: 400; }
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.8rem;
  border: 2px solid var(--red);
  color: var(--red-dark);
  background: rgba(208,28,42,0.04);
}
.avail-pill svg {
  width: 14px; height: 14px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
}
.avail-divider {
  font-weight: 400;
  color: var(--body-muted);
  font-size: 0.85rem;
}


/* ===========================================================
   7. INFO STRIP
   =========================================================== */
.info-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 3px solid var(--red);
}
.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--cream);
}
.info-card__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
}
.info-card__icon svg {
  width: 18px; height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--red);
  margin-bottom: 2px;
}
.info-card__value {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.45;
}
.info-card__value a {
  color: var(--dark);
  font-weight: 600;
}
.info-card__value a:hover { color: var(--red); }


/* ===========================================================
   8. TRUST BAR
   =========================================================== */
.trust-bar {
  background: var(--dark);
  padding: 18px 0;
  overflow: hidden;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.trust-bar__item svg {
  width: 14px; height: 14px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.trust-bar__sep {
  color: rgba(255,255,255,0.15);
  font-size: 0.6rem;
}


/* ===========================================================
   PARALLAX SECTION (fixed background)
   =========================================================== */
.parallax-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.parallax-section__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Clip trick: the fixed bg only shows through its parent */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,10,0,0.72);
  z-index: 1;
}
.parallax-section .container {
  position: relative;
  z-index: 2;
}
.parallax-section h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.parallax-section h2 em {
  color: var(--yellow);
  font-style: normal;
}
.parallax-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 10px;
}


/* ===========================================================
   PRODUCT GALLERY
   =========================================================== */
.gallery {
  padding: 52px 0;
  background: var(--cream-mid);
}
.gallery__heading {
  text-align: center;
  margin-bottom: 35px;
}
.gallery__heading h2 {
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.gallery__heading p {
  font-size: 0.92rem;
  color: var(--body-muted);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__cell {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery__cell img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__cell:hover img {
  transform: scale(1.04);
}


/* ===========================================================
   9. MONTHLY OFFERS
   =========================================================== */
.offers {
  padding: 56px 0 60px;
  background: var(--white);
}

/* shared section heading */
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: 2rem;
  color: var(--dark);
}
.section-head__line {
  display: block;
  width: 48px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 10px auto 0;
}
.section-head p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--body-muted);
}

.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.2s;
}
.offer-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.offer-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
}
.offer-card > .offer-card__img,
.offer-card__media > .offer-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
}
.offer-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.offer-card__tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.offer-card__title {
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 4px;
  min-height: 1.7em;
}
.offer-card__desc {
  font-size: 0.85rem;
  color: var(--body-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 4.5em;
}
.offer-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--red);
  margin-top: auto;
  min-height: 1.8em;
}
.offer-card__price small {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--body-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.offer-card__cta {
  width: auto;
  margin-top: 16px;
  align-self: flex-start;
  justify-content: center;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 0.74rem;
}


/* ===========================================================
   10. BOTTOM CTA (with fixed background)
   =========================================================== */
.bottom-cta {
  position: relative;
  padding: 64px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: url('img/bg-store.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,10,0,0.75);
}
.bottom-cta .container {
  position: relative;
  z-index: 2;
}
.bottom-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.bottom-cta h2 em {
  color: var(--yellow);
  font-style: normal;
}
.bottom-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.bottom-cta__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ===========================================================
   11. FOOTER
   =========================================================== */
.site-footer {
  background: var(--dark-warm);
  color: rgba(255,255,255,0.5);
  padding: 40px 0 24px;
  font-size: 0.85rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer__brand img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 3px;
}
.footer__brand p { line-height: 1.55; max-width: 300px; }
.footer__col h4 {
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer__col p { line-height: 1.6; }
.footer__col a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}


/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .hero__headline { font-size: 2.4rem; }
  .offers__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .promo-bar { height: 34px; }
  .promo-bar__item { font-size: 0.72rem; padding: 0 24px; }

  .header__inner { height: 54px; }
  .header__logo img { height: 36px; }
  .krispy-link span { display: none; }
  .krispy-link img { height: 18px; }
  .header__cta { font-size: 0.78rem; padding: 7px 16px; }

  .hero { padding: 32px 0 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__content { padding-bottom: 28px; }
  .hero__headline { font-size: 2rem; }
  .hero__subline { font-size: 1rem; }
  .hero__sub { max-width: 100%; }
  .hero__image { justify-content: center; }
  .hero__image img { max-width: 300px; border-radius: var(--radius-lg); }

  .avail-strip__inner { font-size: 0.72rem; gap: 10px; }
  .avail-pill { padding: 5px 12px; font-size: 0.7rem; }

  .info-bar__grid { grid-template-columns: 1fr; gap: 10px; }

  .trust-bar__inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 12px;
    -webkit-overflow-scrolling: touch;
  }
  .trust-bar__item { font-size: 0.65rem; }

  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery__cell img { height: 170px; }

  .offers__grid { grid-template-columns: 1fr; }
  .offer-card__img { height: auto; }

  .parallax-section,
  .bottom-cta {
    background-attachment: scroll; /* iOS fix */
  }
  .parallax-section { padding: 56px 0; }
  .parallax-section h2 { font-size: 1.6rem; }
  .bottom-cta h2 { font-size: 1.7rem; }

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