/* ============================================================
   A1 Pizza Pictou — rebuilt static site
   Palette + type match the original DNN "polo/a1pizza" skin:
   red #ca0027 / #d00000, yellow #fbbe36, dark #252525
   Barlow (headings), Permanent Marker (accents), Open Sans (body)
   ============================================================ */

:root {
  --red: #ca0027;
  --red-bright: #d00000;
  --red-dark: #8f001c;
  --yellow: #fbbe36;
  --yellow-dark: #e0a51d;
  --dark: #252525;
  --gray: #555;
  --light: #fff8f2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark);
  background: #fff;
}

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

.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 900px; }
.text-center { text-align: center; }

a { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 4px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--red); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--dark); padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--dark); padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.call-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--dark);
  font-weight: 700; font-size: 14px; text-decoration: none;
  padding: 6px 16px; border-radius: 20px;
  transition: background .15s ease;
}
.call-pill:hover { background: var(--yellow-dark); }
.top-bar-social { display: flex; gap: 14px; }
.top-bar-social a { color: #fff; opacity: .85; }
.top-bar-social a:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand-logo { height: 64px; width: auto; }

.site-nav .nav-list { list-style: none; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--dark); text-decoration: none;
  padding: 10px 14px; border-radius: 4px;
  transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: var(--red); }
.nav-order a { background: var(--red); color: #fff; }
.nav-order a:hover { background: var(--red-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--dark);
  margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: url('../images/bg-hero.jpg') center / cover no-repeat, var(--red-bright);
  padding: 70px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  align-items: center; gap: 40px;
}
.hero-kicker {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800; font-size: 24px; letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 18px;
}
.hero-heading {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 64px; line-height: 1.05;
  text-transform: uppercase; color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 3px 14px rgba(0,0,0,.25);
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img {
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.4));
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image img { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.section-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400; font-size: 42px; line-height: 1.2;
  margin-bottom: 26px;
}
.section-title-red {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600; font-size: 33px; color: var(--red);
  margin-bottom: 22px;
}
.intro p { margin-bottom: 18px; }

.marker-kicker {
  font-family: 'Permanent Marker', cursive;
  font-size: 25px; color: var(--red);
  margin-bottom: 4px;
}
.big-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 50px; text-transform: none;
  margin-bottom: 30px;
}

/* ---------- Best sellers ---------- */
.best-sellers { padding-top: 30px; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin-top: 20px;
}
.product-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
  padding-bottom: 22px;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.product-image { aspect-ratio: 340 / 277; overflow: hidden; margin-bottom: 16px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 800; font-size: 22px;
  margin-bottom: 6px;
}
.product-card p { font-size: 15px; font-weight: 300; color: var(--gray); padding: 0 18px; line-height: 1.5; }

/* ---------- Parallax bands ---------- */
.parallax-band {
  position: relative;
  background-size: cover; background-position: center;
  padding: 80px 0;
  color: #fff;
}
@media (min-width: 992px) {
  .parallax-band { background-attachment: fixed; }
}
.parallax-band::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
}
.parallax-band .container { position: relative; }

.band-pie { background-image: url('../images/bg-parallax-3.jpg'); }
.band-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 50px; color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.band-sub { font-size: 20px; margin-bottom: 28px; }

.band-reviews { background-image: url('../images/bg-parallax-6.jpg'); }
.band-reviews .band-title { margin-bottom: 30px; }

/* ---------- We make ---------- */
.we-make-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px; align-items: center;
}
.check-list { list-style: none; margin-bottom: 30px; }
.check-list li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
  font-size: 19px;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red);
  clip-path: none;
}
.check-list li::after {
  content: ''; position: absolute; left: 5px; top: 9px;
  width: 10px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
.we-make-image img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.we-make-features { display: flex; flex-direction: column; gap: 28px; }
.feature { display: flex; align-items: center; gap: 18px; }
.feature-icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--light); color: var(--red);
  border: 2px solid var(--red);
}
.feature h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600; font-size: 18px; line-height: 1.4;
}

/* ---------- Owners ---------- */
.owners { background: var(--light); }
.owners-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 50px; align-items: center;
}
.owners-image img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.owners-text p { margin-bottom: 16px; }

/* ---------- Hours ---------- */
.hours {
  background: var(--red-bright);
  color: #fff;
  padding: 80px 0;
}
.hours-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 600; font-size: 44px;
  margin-bottom: 40px;
}
.hours-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin-bottom: 50px;
}
.hours-block {
  background: rgba(0,0,0,.18);
  border-radius: 10px;
  padding: 28px 22px;
}
.hours-block h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 12px;
}
.hours-block h3 span { font-weight: 600; text-transform: none; letter-spacing: 0; }
.hours-block p { font-size: 16px; }
.hours-cta h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 900; font-size: 21px; letter-spacing: 1px;
  margin-bottom: 8px;
}
.hours-phone {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 52px;
  color: var(--yellow); text-decoration: none;
}
.hours-phone:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: #000; color: #bbb;
  padding: 30px 0;
  text-align: center;
  font-size: 13px; letter-spacing: 1px;
}
.site-footer a { color: #bbb; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

/* ---------- Legal pages ---------- */
.legal-heading {
  background: var(--red-bright);
  padding: 50px 0;
}
.legal-heading h1 {
  font-family: 'Barlow', sans-serif;
  font-weight: 900; font-size: 44px; color: #fff;
}
.legal-body p { margin-bottom: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
  .hero-heading { font-size: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .we-make-grid { grid-template-columns: 1fr 1fr; }
  .we-make-features { grid-column: 1 / -1; flex-direction: row; justify-content: space-around; flex-wrap: wrap; }
  .hours-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 3px solid var(--red);
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
  }
  .site-nav.open { display: block; }
  .site-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .site-nav a { padding: 12px 24px; }
  .nav-order { margin: 8px 20px; }
  .nav-order a { text-align: center; }

  .hero { padding: 50px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; }
  .hero-heading { font-size: 38px; }
  .hero-buttons { justify-content: center; }

  .section { padding: 55px 0; }
  .section-title { font-size: 30px; }
  .big-title { font-size: 36px; }
  .band-title { font-size: 34px; }

  .we-make-grid { grid-template-columns: 1fr; }
  .we-make-features { flex-direction: column; }
  .owners-grid { grid-template-columns: 1fr; gap: 30px; }
  .hours-phone { font-size: 38px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .top-bar-inner { justify-content: center; }
  .top-bar-social { display: none; }
}
