/* ============================================
   Pizza Harbour — Brand Stylesheet
   Colors: #ce2b37 (red), #009246 (green)
   Neutrals: #f2f0e6, #e4d9c4, #f8f4ec
   Fonts: Cinzel (display), Merriweather (body), Italianno (accent)
   ============================================ */

/* --- CSS Variables --- */
:root {
  --red: #ce2b37;
  --red-dark: #a82230;
  --green: #009246;
  --green-dark: #007538;
  --cream: #f2f0e6;
  --tan: #e4d9c4;
  --off-white: #f8f4ec;
  --black: #1a1a1a;
  --dark: #2c2c2c;
  --text: #3d3530;
  --text-light: #6b6056;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 6px;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
}

h1 { font-size: 2.75rem; letter-spacing: 0.02em; }
h2 { font-size: 2rem; letter-spacing: 0.015em; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

.subtitle {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-light);
}

.accent-text {
  font-family: 'Italianno', cursive;
  font-size: 1.5rem;
  color: var(--red);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--cream { background: var(--cream); }
.section--tan { background: var(--tan); }
.section--dark {
  background: var(--green);
  color: var(--cream);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--cream); }
.section--dark p { color: var(--tan); }
.section--dark a { color: var(--off-white); }
.section--dark a:hover { color: var(--red); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header .subtitle { max-width: 600px; margin: 0 auto; }

/* Decorative rule */
.rule {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 16px auto 0;
  border: none;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(242, 240, 230, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--red);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo span {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Merriweather', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--red);
  color: var(--cream) !important;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.nav-order:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  color: var(--cream) !important;
}

.nav-order::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn--red {
  background: var(--red);
  color: var(--cream);
}
.btn--red:hover {
  background: var(--red-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(206, 43, 55, 0.3);
}

.btn--green {
  background: var(--green);
  color: var(--cream);
}
.btn--green:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 146, 70, 0.3);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}
.btn--outline:hover {
  background: var(--red);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
}
.btn--outline-light:hover {
  background: var(--cream);
  color: var(--black);
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(206, 43, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 146, 70, 0.05) 0%, transparent 60%);
  z-index: 1;
}

/* Subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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='%233d3530' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 20px rgba(206, 43, 55, 0.15));
}

/* Override outline-light in hero (cream bg needs visible border) */
.hero .btn--outline-light {
  border-color: var(--red);
  color: var(--red);
}
.hero .btn--outline-light:hover {
  background: var(--red);
  color: var(--cream);
}

.hero h1 {
  color: var(--black);
  font-size: 3.25rem;
  margin-bottom: 8px;
}

.hero .tagline {
  font-family: 'Italianno', cursive;
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 20px;
}

.hero .subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--red);
}

.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; color: var(--text-light); }

/* --- Menu Section (homepage preview) --- */
.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.menu-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.menu-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--tan);
}

.menu-item-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Italianno', cursive;
  font-size: 2rem;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--cream), var(--tan));
}

.menu-item-body {
  padding: 20px 24px;
}

.menu-item-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.menu-item-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.menu-item-body .price {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
}

/* --- Full Menu Page --- */
.menu-category { margin-bottom: 56px; }
.menu-category:last-child { margin-bottom: 0; }

.menu-category h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.menu-list { margin-top: 24px; }

.menu-list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.menu-list-item:last-child { border-bottom: none; }

.menu-list-item h4 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
}

.menu-list-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
  max-width: 70%;
}

.menu-list-item .price {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
  white-space: nowrap;
  margin-left: 16px;
}

/* --- Hours --- */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.hours-item {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hours-item .day {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.hours-item .time {
  font-size: 1.05rem;
  color: var(--text);
}

/* --- Catering Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.package-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.package-card--featured {
  border: 2px solid var(--red);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--cream);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.package-card h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.package-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.package-card li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-card li:last-child { border-bottom: none; }

.package-card li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* --- How It Works / Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 16px;
}

.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: 0.9rem; color: var(--text-light); }

/* --- Impact Stats --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.section--dark .stat-number { color: var(--red); }

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.section--dark .stat-label { color: var(--tan); }

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--red);
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 0.95rem; color: var(--text-light); }

/* --- Footer --- */
.site-footer {
  background: var(--green);
  color: var(--cream);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--cream);
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--red);
  color: var(--cream);
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--cream);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover { color: var(--white); }

/* --- Google Map Embed --- */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 72px 24px;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(206, 43, 55, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--tan);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn { margin: 0 8px; }

/* --- Powered By (AnchOps link) --- */
.powered-by {
  font-size: 0.8rem;
  color: var(--text-light);
}

.powered-by a {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.15);
  text-underline-offset: 2px;
}

.powered-by a:hover {
  color: var(--green);
}

/* --- Brand Swatches --- */
.brand-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.brand-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 150px;
  text-align: center;
}

.brand-swatch-color {
  width: 150px;
  height: 100px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.brand-swatch strong {
  font-size: 0.95rem;
  color: var(--text);
}

.brand-swatch code {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 3px;
}

.brand-swatch span {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero .tagline { font-size: 1.6rem; }
  .section { padding: 56px 0; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(242, 240, 230, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 2px solid var(--red);
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-info { gap: 20px; }
  .stats-row { gap: 32px; }
  .hours-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.3rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
