/* ==================================================
   CSS RESET & BASE TYPOGRAPHY (Mobile First)
   ================================================== */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  list-style: none;
  padding: 0;
}
strong, b {
  font-weight: 700;
}

/* ==================================================
   BRAND/MONOCHROME SOPHISTICATED PALETTE
   ================================================== */
:root {
  --color-primary: #1b1b1b;
  --color-secondary: #f7f7f7;
  --color-accent: #E5E5E5;
  --color-brand-primary: #7B2C09;
  --color-brand-secondary: #FFFFFF;
  --color-brand-accent: #176158;
  --color-dark: #111111;
  --color-light: #FFFFFF;
  --color-gray-50: #F8F8F8;
  --color-gray-100: #E9E9E9;
  --color-gray-200: #CCCCCC;
  --color-gray-400: #777;
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', serif;
  color: #111;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.4rem; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 1.7rem; line-height: 1.18; }
h3 { font-size: 1.24rem; line-height: 1.3; letter-spacing: -.5px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, li, a, button, input, textarea {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #2a2a2a;
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  color: #232323;
}
blockquote {
  border-left: 4px solid #222;
  padding-left: 16px;
  font-style: italic;
  color: #343434;
  margin-bottom: 24px;
}

/* Typography scale for hierarchy */
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

/* Spider-thin, uppercase for subtle stand-out */
.section h2 {
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  font-weight: 400;
  margin-bottom: 24px;
  color: #222;
}

/* ==================================================
   LAYOUT/GENERAL SPACING
   ================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 32px 0 rgba(17,17,17,0.09);
  overflow: hidden;
  transition: transform 0.15s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 40px 0 rgba(34,34,34,0.14);
  z-index: 2;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  /* Responsive handled below */
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,32,32,0.07);
  border-radius: 14px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s cubic-bezier(.4,0,.2,1);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 34px rgba(0,0,0,0.11);
}
.testimonial-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  color: #222;
  font-family: 'Source Sans Pro', sans-serif;
}
.testimonial-name {
  font-weight: 700;
  color: #7B2C09;
}
.testimonial-stars {
  font-size: 1.04rem;
  letter-spacing: 2px;
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============
   HEADER/NAV 
   ============= */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 12px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-weight: 600;
  color: #353535;
  font-size: 1.02rem;
  padding: 6px 0px;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: border-color 0.16s cubic-bezier(.4,0,.2,1), color 0.15s cubic-bezier(.4,0,.2,1);
}
header nav a:hover, header nav a:focus {
  color: #111;
  border-bottom: 2px solid #7B2C09;
  outline: none;
}
.logo, header a img {
  max-height: 46px;
}
.cta-btn {
  background: #111;
  color: #fff;
  padding: 12px 26px;
  font-family: 'Source Sans Pro',sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 26px;
  box-shadow: 0 3px 24px rgba(48,48,48,0.10);
  margin-left: 18px;
  transition: background 0.17s cubic-bezier(.4,0,.2,1), color 0.17s;
  display: inline-block;
  cursor: pointer;
  letter-spacing: .5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #7B2C09;
  border: 1.5px solid #7B2C09;
  outline: none;
}

/* =============
   HERO SECTION
   ============= */
.hero {
  background: #fff;
  padding: 54px 0 36px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.3rem;
  color: #111;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 10px;
}

/* =============
   FEATURES (ICON GRID and LISTS)
   ============= */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f7f7f7;
}
.features .content-wrapper,
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: column;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 160px;
  flex: 1 1 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 18px 16px 18px 16px;
  transition: box-shadow 0.19s cubic-bezier(.4,0,.2,1);
}
.feature-grid > div:hover {
  box-shadow: 0 5px 18px rgba(32,32,32,0.10);
}
.features img {
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
  filter: grayscale(1) contrast(1.2) brightness(.97);
}
.features h3 {
  margin-bottom: 2px;
  color: #1A1A1A;
}
.features p {
  color: #444;
  font-size: 0.97rem;
}
/* Lists (Recettes/Catégories) */
.recipe-categories ul,
.recipe-list-snippets ul,
.tip-list ul,
.practical-info ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.recipe-categories ul li,
.recipe-list-snippets ul li,
.practical-info ul li,
.tip-list ul li {
  margin-bottom: 8px;
  color: #272727;
  position: relative;
}
.recipe-categories ul li::before,
.recipe-list-snippets ul li::before,
.tip-list ul li::before {
  content: '•';
  color: #222;
  font-weight: 700;
  display: inline-block;
  width: 18px;
}

.view-all-btn {
  background: #fff;
  color: #111;
  border: 1.5px solid #7B2C09;
  border-radius: 23px;
  padding: 8px 16px;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.99rem;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.15s cubic-bezier(.4,0,.2,1), color 0.17s, border 0.14s;
  display: inline-block;
}
.view-all-btn:hover, .view-all-btn:focus {
  background: #7B2C09;
  color: #fff;
  border-color: #7B2C09;
}

.highlighted-tip {
  background: #ffffff;
  border-left: 4px solid #111;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 20px;
  box-shadow: 0 3px 16px rgba(22,22,22,0.03);
}
.highlighted-tip h3 {
  color: #7B2C09;
  margin-bottom: 8px;
}

/* =============
   TESTIMONIALS & CAROUSELS
   ============= */
.testimonial-slider .content-wrapper,
.quote-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.quote-carousel {
  background: #fff;
  margin-top: 32px;
  padding: 20px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(32,32,32,0.07);
  flex-direction: column;
  align-items: flex-start;
}
.quote-carousel em {
  color: #7B2C09;
  font-family: 'Merriweather', serif;
  font-weight: 400;
  letter-spacing: .2px;
}

.story-snippets blockquote {
  font-size: 1rem;
  color: #353535;
}
.story-snippets span {
  display: block;
  color: #aaa;
  font-size: 0.95rem;
  margin-top: 8px;
  padding-left: 8px;
}

/* =============
   MODALS, BANNERS, CTAs
   ============= */
.cta {
  background: #222;
  color: #fff;
  padding-top: 38px;
  padding-bottom: 38px;
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #fff;
  color: #111;
  border: 1.7px solid #fff;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #111;
  color: #fff;
  border: 1.7px solid #fff;
}

/**** POLICY and PLAIN CONTENT ****/
.policy .content-wrapper,
.thankyou .content-wrapper,
.about .content-wrapper,
.contact .content-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(32,32,32,0.07);
  padding: 34px 20px;
  gap: 18px;
}
.policy ul li, .about ul li {
  color: #272727;
  margin-bottom: 10px;
  font-size: 1.01rem;
}

/**** CONTACT PAGE hierarchical flex layout ****/
.contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-details, .opening-hours, .map-embed {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.02);
  margin-bottom: 15px;
  flex: 1 1 200px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details ul li, .opening-hours p {
  color: #333;
  font-size: .98rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details img { width: 20px; vertical-align: text-bottom; }

/* Practical info block */
.practical-info ul li {
  margin-bottom: 7px;
  color: #555;
  font-size: 0.96rem;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #131313;
  color: #ccc;
  padding-top: 24px;
  padding-bottom: 20px;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav a {
  color: #bbb;
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.17s;
}
footer nav a:hover,footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.footer-branding img {
  width: 40px;
  height: 40px;
  filter: grayscale(1);
  display: block;
  margin-right: 8px;
}
.footer-branding span {
  color: #bbb;
  font-size: 1rem;
}

/* ================================
   MOBILE NAVIGATION
   ================================ */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1a1a1a;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.17s;
  display: inline-block;
  z-index: 105;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #7B2C09;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(251,251,251, 0.99);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.81,.07,.32,.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 8px 0 44px rgba(12,12,12,0.18);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 1012;
  padding: 4px 12px;
  transition: color 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7B2C09;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 64px;
  padding: 0 32px;
  width: 100vw;
  min-height: calc(100vh - 56px);
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.23rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #282828;
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
  width: 100%;
  display: block;
  transition: color 0.14s, background 0.13s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f4f4f4;
  color: #7B2C09;
}

/* Hide main navigation and show burger on mobile */
@media (max-width: 980px) {
  header nav,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 13px;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
  .cta-btn {
    display: inline-block !important;
  }
}

/* ================================
   COOKIE CONSENT BANNER
   ================================ */
#cookie-consent-banner, .cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181818;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 25px 18px 18px;
  font-size: 1rem;
  z-index: 9000;
  box-shadow: 0 -1px 22px rgba(18,18,18,0.11);
  animation: slideIn 0.7s cubic-bezier(.81,.07,.32,.97);
}
@keyframes slideIn {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: #fff;
  color: #111;
  border-radius: 19px;
  padding: 8px 21px;
  font-size: 1rem;
  font-weight: 700;
  border: 0;
  margin-right: 5px;
  cursor: pointer;
  transition: background 0.13s, color 0.14s, border 0.16s;
  box-shadow: 0 1px 9px rgba(22,22,22,0.13);
  outline: none;
}
.cookie-btn.accept {
  background: #7B2C09;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #fff;
  color: #7B2C09;
  border: 1px solid #7B2C09;
}
.cookie-btn.reject {
  background: #fff;
  color: #222;
  border: 1.3px solid #bbb;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #222;
  color: #fff;
  border: 1.3px solid #222;
}
.cookie-btn.settings {
  background: #E9E9E9;
  color: #333;
  border: 1.3px solid #cccccc;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #111;
  border: 1.3px solid #b2b2b2;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 9990;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,34,34,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #1a1a1a;
  padding: 38px 24px 26px 28px;
  border-radius: 18px;
  min-width: 320px;
  max-width: 96vw;
  max-height: 95vh;
  box-shadow: 0 4px 32px rgba(15,15,22,0.17);
  animation: fadeIn 0.45s cubic-bezier(.71,.19,.51,.97);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
}
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-category input[type='checkbox'] {
  width: 19px;
  height: 19px;
  accent-color: #7B2C09;
  border-radius: 3px;
}
.cookie-category.essential label {
  color: #b2b2b2;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  padding: 8px 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 17px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #353535;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus {
  color: #7B2C09;
}

/* ===========================
   UTILITY/RESPONSIVE LAYOUTS 
   =========================== */
@media (min-width: 700px) {
  .content-wrapper,
  .features .content-wrapper,
  .features .feature-grid {
    flex-direction: row;
    gap: 24px;
    align-items: stretch;
    justify-content: space-between;
  }
  .testimonial-slider .content-wrapper, .quote-carousel {
    flex-direction: row;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  .policy .content-wrapper,
  .about .content-wrapper,
  .contact .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 26px 7px;
  }
  .content-wrapper,
  .features .content-wrapper,
  .features .feature-grid,
  .recipe-list-snippets,
  .tips-list,
  .policy .content-wrapper,
  .about .content-wrapper,
  .contact .content-wrapper,
  .testimonial-slider .content-wrapper,
  .quote-carousel,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .feature-grid > div {
    min-width: unset;
  }
  .policy .content-wrapper {
    padding: 20px 7px;
  }
}

/* 8-16-24-32 SPACING UTILITY  */
.mt-8  { margin-top:    8px !important; }
.mt-16 { margin-top:   16px !important; }
.mt-24 { margin-top:   24px !important; }
.mt-32 { margin-top:   32px !important; }
.mb-8  { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* ===========================
   ANIMATIONS & MICROINTERACTIONS
   =========================== */
a, .cta-btn, .view-all-btn, .cookie-btn, .mobile-nav a, .feature-grid > div, .card, .testimonial-card {
  transition: all 0.18s cubic-bezier(.41,0,.2,1);
}
.section, .features, .cta, .policy, .about, .thankyou, .contact {
  animation: sectionFade 0.68s cubic-bezier(.81,.07,.41,.97);
}
@keyframes sectionFade {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   ACCESSIBILITY
   =========================== */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px dotted #7B2C09;
  outline-offset: 2px;
}

/* ===========================
   COLORS/MONOCHROME ENHANCEMENT
   =========================== */
body, .features, .hero, .section, .policy, .about, .thankyou, .contact {
  background: #f7f7f7;
  color: #1a1a1a;
}
.section, .features, .policy, .about, .thankyou, .contact, .testimonial-card, .highlighted-tip, .quote-carousel, .feature-grid > div {
  border-radius: 16px;
}

/* Ensure testimonial text is dark on light background */
.testimonial-card p, .testimonial-footer { color: #1b1b1b; }

/* ===========================
   PRINT FRIENDLY
   =========================== */
@media print {
  header, footer, .mobile-menu, #cookie-consent-banner { display: none !important; }
  main, .section, .features, .policy, .about, .thankyou, .contact { background: #fff !important; }
}
