/* ChefCollabs.com — Global Stylesheet */
/* Design: Culinary Netflix × Wikipedia × Event Producer Toolkit */

:root {
  --color-primary: #1a1a2e;
  --color-secondary: #e94560;
  --color-accent: #f5a623;
  --color-bg: #fafaf8;
  --color-bg-alt: #f0efe9;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --color-border: #e0ddd5;
  --color-success: #27ae60;
  --color-gold: #d4a843;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Skip to content */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--color-secondary); color: #fff; padding: 0.5rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius); z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* Header / Navigation */
.site-header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 20px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--color-accent); }
.site-logo:hover { color: var(--color-white); }
.main-nav { display: flex; gap: 0.25rem; align-items: center; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #16213e 50%, #0f3460 100%);
  color: var(--color-white);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero--img {
  padding: 7rem 1.5rem 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(15,52,96,0.75) 50%, rgba(233,69,96,0.4) 100%);
  z-index: 1;
}
.hero--img > .container {
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--color-white); font-size: 3rem; margin-bottom: 0.75rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero .subtitle { font-size: 1.25rem; opacity: 0.9; max-width: 650px; margin: 0 auto 2rem; line-height: 1.6; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--color-secondary); color: #fff; }
.btn-primary:hover { background: #d13a53; color: #fff; }
.btn-secondary { background: var(--color-accent); color: var(--color-primary); }
.btn-secondary:hover { background: #e0952e; color: var(--color-primary); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* Section styles */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-primary); color: var(--color-white); }
.section-dark h2, .section-dark h3 { color: var(--color-white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--color-text-light); font-size: 1.1rem; max-width: 650px; margin: 0 auto; }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: linear-gradient(135deg, #e94560 0%, #f5a623 100%);
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .card-img img {
  transform: scale(1.08);
}
.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-body p { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 1rem; }
.card-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--color-text-light); }
.card-tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-text);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}
.card-tag--accent { background: rgba(233,69,96,0.1); color: var(--color-secondary); }

/* Feature list */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.feature-item { text-align: center; padding: 2rem 1.5rem; }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-item h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--color-text-light); font-size: 0.95rem; }

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-secondary); }
.breadcrumb span { margin: 0 0.4rem; }

/* Article / Content pages */
.article-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; }
.article-header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.article-meta { color: var(--color-text-light); font-size: 0.95rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.article-content { max-width: 800px; }
.article-content h2 { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.article-content h3 { margin-top: 1.5rem; }
.article-content ul, .article-content ol { margin: 0.5rem 0 1.5rem 1.5rem; }
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote {
  border-left: 4px solid var(--color-secondary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
.article-sidebar { position: sticky; top: 5rem; }

/* Info box */
.info-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.info-box h4 { margin-bottom: 0.5rem; }
.info-box--highlight { border-left: 4px solid var(--color-accent); }

/* Table */
.table-responsive { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { background: var(--color-bg-alt); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
td { font-size: 0.95rem; }
tr:hover { background: rgba(0,0,0,0.02); }

/* FAQ / Accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; background: none; border: none; padding: 1.25rem 0;
  font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-primary);
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--color-secondary); transition: transform 0.2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.25rem; color: var(--color-text-light); line-height: 1.7; display: none; }
.faq-item.active .faq-answer { display: block; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; padding: 2rem 0; }
.stat-item h3 { font-size: 2.5rem; color: var(--color-secondary); margin-bottom: 0.25rem; }
.stat-item p { color: var(--color-text-light); font-size: 0.95rem; }

/* Recipe card */
.recipe-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin: 2rem 0;
}
.recipe-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin: 1.5rem 0; padding: 1rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.recipe-meta-item { text-align: center; }
.recipe-meta-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; color: var(--color-text-light); margin-bottom: 0.25rem; }
.recipe-meta-item span { font-size: 1.1rem; font-weight: 600; color: var(--color-primary); }

/* Steps */
.step { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.step-number {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem;
  background: var(--color-secondary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.step-content { flex: 1; }
.step-content h4 { margin-bottom: 0.25rem; }

/* Tags */
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--color-text);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #c73a52 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; }

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); padding: 0.2rem 0; font-size: 0.9rem; }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }

/* ===== IMAGE & APP-LIKE ENHANCEMENTS ===== */

/* Article hero image */
.article-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: -1rem 0 2rem;
  box-shadow: var(--shadow-lg);
}

/* Photo credits in footer */
.photo-credits {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  line-height: 1.8;
}
.photo-credits a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
}
.photo-credits a:hover { color: rgba(255,255,255,0.7); }

/* Card image overlay text */
.card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  z-index: 2;
}

/* Image in article content */
.article-img {
  width: 100%;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

/* Image caption */
.img-caption {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-style: italic;
  margin: -1rem 0 1.5rem;
  text-align: center;
}

/* Enhanced info-box */
.info-box {
  border-radius: 12px;
}

/* Enhanced CTA banner */
.cta-banner {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.cta-banner--img {
  background-size: cover;
  background-position: center;
}
.cta-banner--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233,69,96,0.92) 0%, rgba(199,58,82,0.88) 100%);
  border-radius: 16px;
}
.cta-banner--img > * {
  position: relative;
  z-index: 2;
}

/* City/School card with image */
.card--city .card-img {
  height: 160px;
}

/* Stat counter animation feel */
.stat-item h3 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Enhanced button styles */
.btn {
  border-radius: 10px;
  letter-spacing: 0.01em;
}
.btn-primary {
  box-shadow: 0 4px 14px rgba(233,69,96,0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(233,69,96,0.4);
}

/* Enhanced tags */
.tag {
  border-radius: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Subtle section dividers */
.section { position: relative; }

/* Recipe card enhancement */
.recipe-card {
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 3rem 1rem; }
  .hero--img { padding: 4.5rem 1rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(26,26,46,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 1rem; }
  .main-nav.active { display: flex; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-hero-img { height: 200px; border-radius: 8px; }
  .card-img { height: 180px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* Print styles */
@media print {
  .site-header, .site-footer, .cta-banner, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
