/* =========================
   RESET & BASE TYPOGRAPHY
   ========================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #F9FAFB;
  color: #374151;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   BRAND COLORS & VARIABLES
   ========================= */
:root {
  --primary: #374151;
  --secondary: #D97706;
  --accent: #F9FAFB;
  --section-bg: #F5F5F1;
  --muted: #E5E7EB;
  --text: #374151;
  --text-dark: #22223B;
  --text-light: #EEF2F7;
  --shadow: 0 2px 16px 0 rgba(55, 65, 81, 0.07);
  --radius: 16px;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, table {
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color .2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #a15c02;
  text-decoration: underline;
}

/* =========================
   LAYOUT CORE
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Space between main sections: 60px bottom, 40px padding vertical */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}
.hero, .callout, .cta {
  background: var(--section-bg);
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}

/* =========================
   HEADER/NAVIGATION
   ========================= */
header {
  background: var(--accent);
  border-bottom: 1px solid var(--muted);
  padding: 0.5rem 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.12rem;
}
.main-nav a {
  color: var(--text);
  padding: 4px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--secondary);
  transition: width 0.3s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff !important;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 rgba(217,119,6,0.07);
  transition: background 0.2s, transform 0.2s, box-shadow 0.18s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #a15c02;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px 0 rgba(217,119,6,0.13);
  text-decoration: none;
}

/* Hamburger Icon for Mobile */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.0rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 16px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(55,65,81,0.97);
  z-index: 3000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(.85,.01,.23,1) 0s, opacity 0.15s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 10px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-left: 48px;
  margin-top: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 5px rgba(40,40,40,0.18);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary);
}


/* =========================
   HERO & MAJOR CTAS
   ========================= */
.hero .content-wrapper, .callout .content-wrapper, .cta .content-wrapper {
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .callout h2, .cta h2 {
  color: var(--primary);
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
.hero {
  background: #fffbef;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.subheadline {
  font-size: 1.2rem;
  font-family: Georgia, Times, serif;
  color: #55523f;
  margin-bottom: 20px;
}

/* ================
  GENERIC LISTS
  ================ */
ul, ol {
  padding-left: 22px;
  margin-bottom: 24px;
}
ul.values-list, ul.faq-list, ul.category-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-family: 'Georgia', Times, serif;
}
ul.values-list li, ul.faq-list li, ul.category-list li {
  padding-left: 0;
  margin-bottom: 8px;
}
ul.values-list li img {
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
}

/* =========================
   FEATURES / HIGHLIGHTS
   ========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 340px;
  padding: 28px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .20s, transform .16s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 30px 0 rgba(217,119,6,0.10);
  transform: scale(1.02);
}
.feature-grid img {
  height: 40px;
  margin-bottom: 8px;
}

/* =========================
   SERVICES & CARDS FLEX
   ========================= */
.services-grid, .services-list, .course-list, .recipe-cards, .review-grid, .post-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.services-grid > div, .services-list > div, .course-list > div, .recipe-cards > div, .review-grid > div, .post-previews > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  transition: box-shadow .20s, transform .13s;
  position: relative;
  gap: 6px;
}
.services-grid > div:hover, .services-list > div:hover, .course-list > div:hover, .recipe-cards > div:hover, .post-previews > div:hover {
  box-shadow: 0 7px 40px 0 rgba(217,119,6,0.08);
  transform: translateY(-3px) scale(1.012);
}
.recipe-cards .tags {
  display: inline-block;
  background: #F1B155;
  color: #fff;
  font-size: 0.96rem;
  border-radius: 11px;
  padding: 3px 12px;
  margin-top: 8px;
  font-weight: 500;
}

/* =========================
   TESTIMONIALS & REVIEWS
   ========================= */
.testimonial-slider, .review-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 0 rgba(55,65,81,0.09);
  padding: 20px 28px;
  min-width: 240px;
  max-width: 390px;
  color: var(--text);
  margin-bottom: 0;
  transition: box-shadow .20s, transform .12s;
  font-size: 1.07rem;
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--text-dark);
  font-style: italic;
}
.testimonial-card span {
  margin-top: 8px;
  font-size: 1rem;
  color: #8a7305;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px 0 rgba(217,119,6,.11);
  transform: scale(1.025);
}

/* ================
   CATEGORY LINKS
   ================ */
.category-links, .categories-menu, .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.category-links a, .categories-menu a, .filter-options a {
  display: inline-block;
  color: var(--secondary);
  font-family: 'Georgia', serif;
  background: #fff;
  border-radius: 32px;
  padding: 7px 24px;
  font-size: 1rem;
  border: 1px solid var(--secondary);
  font-weight: 600;
  transition: background .16s, color .16s, border .16s;
  text-decoration: none;
}
.category-links a:hover, .categories-menu a:hover, .filter-options a:hover {
  background: var(--secondary);
  color: #fff;
}

.top-recipes-preview {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin: 18px 0 22px 0;
  flex: 1 1 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
}
.top-recipes-preview h3 {
  margin-bottom: 10px;
}
.top-recipes-preview ul {
  font-size: 1.09rem;
}

/* ================
   FAQ Styles
   ================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(217,119,6,0.04);
  padding: 13px 20px 14px 20px;
  color: var(--text-dark);
}
.faq-list li strong {
  font-size: 1.04rem;
  display: block;
  margin-bottom: 6px;
}

/* ================
   Newsletter Callout
   ================ */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* ================
   TEAM BIOS
   ================ */
.team-bios {
  margin: 18px 0 14px 0;
}
.team-bios ul {
  margin-bottom: 4px;
}

.vision-mission {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 12px 18px;
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}

/* ================
   Cards & Pricing Table
   ================ */
.pricing-table {
  background: #fff;
  border-radius: var(--radius);
  margin: 18px 0;
  box-shadow: var(--shadow);
  overflow-x: auto;
  width: 100%;
  padding: 18px 18px 10px 18px;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.06rem;
}
.pricing-table th, .pricing-table td {
  padding: 9px 13px;
  border-bottom: 1px solid #ece6d6;
  text-align: left;
}
.pricing-table th {
  background: #fff7eb;
  color: var(--primary);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #fff;
  border-top: 1px solid var(--muted);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 28px;
}
.footer-logo img {
  height: 46px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
}
.footer-nav a {
  color: var(--primary);
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text-dark);
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #a15c02;
}

/* ================
   COOKIE CONSENT BANNER
   ================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3100;
  background: #fffbe5;
  color: var(--primary);
  box-shadow: 0 -2px 20px 0 rgba(34,34,59,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px 20px 32px;
  font-size: 1.04rem;
  animation: fade-in-up .45s cubic-bezier(.67,.15,.51,1);
}
@keyframes fade-in-up {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn, .cookie-settings-btn {
  display: inline-block;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  padding: 8px 24px;
  font-weight: 600;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-btn.reject {
  background: #D7C49E;
  color: #655710;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #a15c02;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ae904d;
}
.cookie-settings-btn {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  transition: background 0.15s, color 0.15s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--secondary);
  color: #fff;
}

/* Cookie Modal (full screen)
---------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3150;
  background: rgba(30,28,25,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fade-in-quick .21s;
}
@keyframes fade-in-quick {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffbe5;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px 0 rgba(55,65,81,0.14);
  max-width: 410px;
  padding: 32px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  font-family: 'Georgia', serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-toggle {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-modal .category-label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 18px;
}

/* =========================
   RESPONSIVE & MOBILE MENU
   ========================= */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right:12px;
  }
  .services-grid, .services-list, .course-list, .recipe-cards, .review-grid, .post-previews {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 17px;
    font-size: 1rem;
  }
  .footer-nav {
    gap: 8px;
    font-size: 0.97rem;
  }
  .footer-logo img {
    height: 36px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 7px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 3050;
  }
  .mobile-menu {
    display: flex;
    position: fixed;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(55,65,81,0.97);
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.85,.01,.23,1), opacity .17s;
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }
  .footer-logo img {
    height: 32px;
  }
  .footer-contact {
    font-size: .98rem;
  }
  .container, .footer .container {
    flex-direction: column;
    gap: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .services-grid, .services-list, .course-list, .recipe-cards, .review-grid, .post-previews {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider, .review-grid {
    flex-direction: column;
    gap: 12px;
  }
  section {
    margin-bottom: 34px;
    padding: 20px 0;
  }
  .hero, .callout, .cta {
    margin-bottom: 34px;
  }
}
@media (max-width: 575px) {
  h1 {
    font-size: 1.68rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .cta-btn {
    font-size: 1.01rem;
    padding: 10px 20px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 13px 12px 13px 12px;
    font-size: .93rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 10px;
  }
  .cookie-modal {
    padding: 19px 7px 16px 7px;
    max-width: 97vw;
  }
}

/* =========================
   UTILITIES & EFFECTS
   ========================= */
.shadow-hover {
  transition: box-shadow .18s, transform .12s;
}
.shadow-hover:hover {
  box-shadow: 0 6px 24px 0 rgba(55,65,81,.13);
  transform: scale(1.02);
}
.rounded {
  border-radius: var(--radius);
}
.muted-bg {
  background: var(--section-bg);
}

/* Spacing Utilities */
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }
.pb-24 { padding-bottom: 24px; }

/* Card and section flex spacings by strict spec */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .content-grid { flex-direction: column; gap: 16px; }
}

/* =========================
   BUTTONS AND INTERACTIONS
   ========================= */
button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  outline: none;
  transition: background 0.18s, color 0.13s, box-shadow 0.13s, border 0.13s, transform .17s;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .cookie-settings-btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Subtle pulse on interactive cards */
.card:hover, .feature-grid li:hover, .services-grid > div:hover {
  animation: card-pop 0.10s cubic-bezier(.72,.11,.42,.92) 1;
}
@keyframes card-pop {
  0% { box-shadow: var(--shadow); transform: scale(1); }
  80% { box-shadow: 0 16px 40px 0 rgba(217,119,6,0.22); transform: scale(1.035); }
  100% { box-shadow: 0 7px 27px 0 rgba(217,119,6,0.11); transform: scale(1.015); }
}

/* =========================
   PRINT & MISC
   ========================= */
@media print {
  * {
    box-shadow:none !important;
    background: #fff !important;
    color: #222 !important;
  }
  a, a:visited {
    text-decoration: underline;
    color: #222 !important;
  }
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
}
