/* ===========================
   CHEERSMATE KITCHEN — Global Styles
   =========================== */

:root {
  --red: #c0392b;
  --dark-red: #922b21;
  --warm-white: #fdfaf6;
  --cream: #f5f0e8;
  --charcoal: #2c2c2c;
  --mid-grey: #666;
  --light-grey: #eee;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --max-w: 1200px;
  --radius: 4px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
}

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

h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--charcoal);
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--light-grey);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo img { height: 48px; width: auto; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--red); }

nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-shop {
  background: var(--red);
  color: #fff \!important;
  padding: 8px 20px \!important;
  border-radius: 20px;
  border-bottom: none \!important;
}
.nav-shop:hover { background: var(--dark-red); color: #fff \!important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.btn-primary:hover {
  background: var(--dark-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192,57,43,0.45);
}

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

.btn-sm { padding: 9px 22px; font-size: 0.8rem; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--mid-grey);
  font-size: 1.05rem;
  max-width: 560px;
}

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

/* ===== RECIPE CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
}

.card-body { padding: 22px; }
.card-meta {
  font-size: 0.78rem;
  color: var(--mid-grey);
  margin-bottom: 8px;
  display: flex;
  gap: 16px;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: 0.9rem; color: var(--mid-grey); line-height: 1.6; }
.card-footer { padding: 14px 22px; border-top: 1px solid var(--light-grey); }
.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.card-link:after { content: ' →'; }

/* ===== FEATURED BANNER ===== */
.featured-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin-bottom: 60px;
}

.featured-banner-img { position: relative; min-height: 450px; }
.featured-banner-img img { width: 100%; height: 100%; object-fit: cover; }

.featured-banner-content {
  background: var(--charcoal);
  color: #fff;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-banner-content .section-label { color: #e74c3c; }
.featured-banner-content h2 { color: #fff; font-size: 2.2rem; margin-bottom: 16px; }
.featured-banner-content p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ===== ABOUT STRIP ===== */
.about-strip {
  background: var(--cream);
  padding: 80px 0;
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-strip-img { border-radius: 12px; overflow: hidden; }
.about-strip-img img { width: 100%; height: 420px; object-fit: cover; }
.about-strip-text h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-strip-text p { color: var(--mid-grey); margin-bottom: 16px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--red);
  padding: 48px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat { text-align: center; color: #fff; }
.stat-num { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.85rem; opacity: 0.85; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ===== RECIPE PAGE ===== */
.recipe-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
}
.recipe-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.recipe-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}
.recipe-hero-content h1 { color: #fff; font-size: 3rem; }
.recipe-meta-bar {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin: 28px 0 40px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.meta-item { text-align: center; flex: 1; min-width: 80px; }
.meta-item strong { display: block; font-size: 1.3rem; font-family: var(--font-heading); color: var(--red); }
.meta-item span { font-size: 0.8rem; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.1em; }

.recipe-body { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.recipe-body h2 { font-size: 1.8rem; margin: 36px 0 16px; }
.recipe-body h3 { font-size: 1.2rem; margin: 24px 0 12px; color: var(--red); }
.recipe-body ul, .recipe-body ol { padding-left: 24px; margin-bottom: 20px; }
.recipe-body li { margin-bottom: 8px; color: var(--mid-grey); }
.recipe-body p { color: var(--mid-grey); margin-bottom: 16px; }
.recipe-body hr { border: none; border-top: 1px solid var(--light-grey); margin: 24px 0; }

.ingredients-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 32px;
}
.ingredients-box h2 { margin-top: 0; }

.steps-list { list-style: none; padding: 0; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
  color: var(--mid-grey);
}
.steps-list li::before {
  content: counter(steps);
  min-width: 32px; height: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SHOP GRID ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-img {
  aspect-ratio: 1;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 18px; }
.product-body h3 { font-size: 1rem; margin-bottom: 6px; }
.product-price { color: var(--red); font-weight: 700; font-size: 1.1rem; }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: var(--charcoal);
  padding: 80px 0;
  text-align: center;
}
.newsletter h2 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  font-size: 0.95rem;
  outline: none;
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin: 0 auto 40px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-top: 12px; }
.footer-brand .logo-text { font-size: 1.2rem; }
footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 32px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.blog-list { display: flex; flex-direction: column; gap: 36px; }
.blog-post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s;
}
.blog-post-card:hover { box-shadow: var(--shadow-hover); }
.blog-post-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-post-body { padding: 24px 24px 24px 0; }
.blog-post-body .card-meta { margin-bottom: 8px; }
.blog-post-body h2 { font-size: 1.4rem; margin-bottom: 10px; }
.blog-post-body p { font-size: 0.9rem; color: var(--mid-grey); }

.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 18px; border-bottom: 2px solid var(--red); padding-bottom: 10px; }
.sidebar-recipe { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.sidebar-recipe img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sidebar-recipe h5 { font-size: 0.9rem; line-height: 1.3; }
.sidebar-recipe span { font-size: 0.78rem; color: var(--mid-grey); }

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 40px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 { color: #fff; font-size: 3rem; }
.page-hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-top: 8px; }

/* ===== FILTERS ===== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--light-grey);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid-grey);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(192,57,43,0.06);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form { background: #fff; border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.contact-form h2 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--charcoal); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-grey);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-card { background: var(--cream); border-radius: 16px; padding: 36px; }
.contact-info-card h3 { margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.9rem; }
.contact-detail-text span { font-size: 0.9rem; color: var(--mid-grey); }

/* ===== KIDS PAGE ===== */
.kids-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin-bottom: 60px;
}
.kids-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.kids-feature-content {
  background: var(--cream);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kids-feature-content h2 { font-size: 2rem; margin-bottom: 16px; }
.kids-feature-content p { color: var(--mid-grey); margin-bottom: 20px; }
.class-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.class-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.class-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.class-card p { font-size: 0.9rem; color: var(--mid-grey); margin-bottom: 16px; }
.class-tag { font-size: 0.75rem; background: var(--cream); color: var(--red); font-weight: 700; padding: 4px 12px; border-radius: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .featured-banner, .about-strip-inner, .kids-feature, .contact-grid { grid-template-columns: 1fr; }
  .featured-banner-content { padding: 40px 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-card { grid-template-columns: 1fr; }
  .blog-post-card img { height: 220px; }
  .blog-post-body { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-strip-img img { height: 300px; }
}

@media (max-width: 640px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  nav.open ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0;
    background: #fff;
    padding: 32px;
    gap: 24px;
    z-index: 999;
  }
  .hero h1 { font-size: 2.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .recipe-meta-bar { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.82rem;
  color: var(--mid-grey);
}
.breadcrumb a { color: var(--mid-grey); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.gap-btn { display: flex; gap: 16px; flex-wrap: wrap; }
