/* RESET & NORMALIZE */
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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F6F3;
  color: #27344C;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}


/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px; 
  color: #27344C;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
}

strong {
  font-weight: 700;
}

p, li {
  font-size: 1rem;
  color: #27344C;
  line-height: 1.6;
}
.tagline {
  font-size: 1.25rem;
  color: #F4B33A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* CONTAINER */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTION LAYOUTS */
.section,
.hero,
.features,
.about-section,
.testimonials,
.contact-summary,
.recipe-categories,
.share-recipe,
.about-values,
.engagements,
.rgpd-section,
.privacy-policy,
.cookie-policy,
.blog-articles,
.events-list,
.contact-info,
.thank-you,
.terms {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(39, 52, 76, 0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(39, 52, 76, 0.07);
  padding: 32px 24px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(244, 179, 58, 0.18);
  transform: translateY(-4px) scale(1.015);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F8F6F3;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(39,52,76,0.06);
  border: 2px solid #F4B33A;
  max-width: 540px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  border-color: #27344C;
  box-shadow: 0 6px 20px rgba(244, 179, 58, 0.15);
}
.testimonial-card p {
  font-size: 1.15rem;
  font-weight: 700;
}
.testimonial-meta {
  font-size: 1rem;
  color: #27344C;
  display: flex;
  gap: 16px;
  align-items: center;
}
.feature-item,
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERAL LISTS */
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
ul > li, ol > li {
  margin-bottom: 10px;
  position: relative;
}

.features ul > li:before,
.recipe-categories ul > li:before,
.about-section ul > li:before,
.about-values ul > li:before,
.engagements ul > li:before,
.blog-articles ul > li:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #F4B33A;
  border-radius: 3px;
  margin-right: 12px;
  vertical-align: middle;
}

/* BUTTONS & CTA */
.cta-button,
.cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F4B33A;
  color: #27344C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 14px 36px;
  border-radius: 2em;
  border: none;
  box-shadow: 0 2px 8px rgba(244, 179, 58, 0.13);
  cursor: pointer;
  margin-top: 12px;
  letter-spacing: 1px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.18s;
  outline: none;
  gap: 10px;
}
.cta-button:hover,
.cta-main:hover,
.cta-button:focus,
.cta-main:focus {
  background: #27344C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(244, 179, 58, 0.15);
}

.quick-links {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.quick-links a {
  color: #27344C;
  font-weight: 700;
  transition: color .15s;
}
.quick-links a:hover {
  color: #F4B33A;
}

input[type="search"] {
  padding: 10px 18px;
  border-radius: 2em;
  border: 2px solid #F4B33A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 14px;
  outline: none;
  width: 100%;
  max-width: 340px;
  transition: border-color 0.18s;
  background: #fff;
}
input[type="search"]:focus {
  border-color: #27344C;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(39,52,76,0.07);
  position: relative;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  height: 75px;
  justify-content: flex-start;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
.main-nav a {
  color: #27344C;
  padding: 7px 20px;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F4B33A;
  color: #27344C;
}
.main-nav .cta-main {
  background: #F4B33A;
  color: #27344C;
  margin-left: auto;
  padding: 12px 26px;
  font-size: 1.08rem;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #F4B33A 12vw, #27344C 100%, #F8F6F3 160vw);
  color: #fff;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 12px 30px rgba(39,52,76,0.08);
  margin-bottom: 50px;
  padding: 64px 20px 52px;
  position: relative;
}
.hero h1, .hero p, .hero .tagline {
  color: #fff;
  text-shadow: 0 2px 14px rgba(39,52,76,0.10);
}
.hero .cta-button {
  margin-top: 24px;
  background: #fff;
  color: #27344C;
}
.hero .cta-button:hover {
  background: #27344C;
  color: #fff;
}

/* FOOTER */
footer {
  background: #27344C;
  color: #fff;
  padding: 38px 0 14px;
  border-radius: 38px 38px 0 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  justify-content: center;
}
.footer-nav a {
  color: #F4B33A;
  padding: 5px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  transition: color .16s, background .14s;
}
.footer-nav a:hover {
  background: #F8F6F3;
  color: #27344C;
}
.footer-contact {
  margin: 24px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-contact img {
  width: 20px;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-copy {
  text-align: center;
  font-size: 0.96rem;
  color: #ddd;
  margin-top: 15px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1051;
  background: #27344C;
  color: #F4B33A;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(244,179,58,0.16);
  transition: box-shadow 0.18s, background 0.15s;
}
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 4px #F4B33A33;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #27344C;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 82vw;
  max-width: 340px;
  z-index: 1300;
  transform: translateX(-120%);
  transition: transform 0.35s cubic-bezier(.48,1.48,.3,.97);
  box-shadow: 6px 0 44px rgba(39,52,76,0.23);
  padding: 32px 26px 24px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 30px;
  margin-left: auto;
  cursor: pointer;
  outline: none;
  padding: 0 8px;
  transition: color 0.19s;
}
.mobile-menu-close:hover {
  color: #F4B33A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 900;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F4B33A;
  color: #27344C;
}

/* Hide/Show main nav for mobile */
@media (max-width:1024px) {
  .main-nav .cta-main {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 8px;
  }
  .section,
  .hero,
  .features,
  .about-section,
  .testimonials,
  .contact-summary,
  .recipe-categories,
  .share-recipe,
  .about-values,
  .engagements,
  .rgpd-section,
  .privacy-policy,
  .cookie-policy,
  .blog-articles,
  .events-list,
  .contact-info,
  .thank-you,
  .terms {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 17px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
    font-size: 0.94rem;
    align-items: flex-start;
    margin-left: 8px;
  }
  .footer-nav {
    padding-left: 4px;
    gap: 8px;
  }
}

/* RESPONSIVE FLEX (mobile-first: columns, then rows) */
.text-image-section, .content-grid, .card-container {
  flex-direction: column;
}
@media (min-width: 769px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: row;
  }
  .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}

/* TESTIMONIALS & ACCESSIBILITY */
.testimonials {
  background: #fff;
}
.testimonial-card {
  background: #F8F6F3;
  color: #27344C;
}
.testimonial-meta {
  color: #27344C;
  font-weight: 700;
}

/* EVENTS */
.events-list .event-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 8px 0;
  color: #F4B33A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.past-event-summary {
  color: #27344C;
  background: #F4B33A11;
  border-radius: 14px;
  padding: 14px;
  margin-top: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01rem;
}

/* CATEGORIES TAGS */
.categories-list {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
  color: #27344C;
  font-size: 1.08rem;
  background: #F4B33A11;
  border-radius: 8px;
  padding: 10px 18px;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* CARDS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  z-index: 2100;
  box-shadow: 0 0 24px rgba(39,52,76,0.13);
  border-top: 4px solid #F4B33A;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 36px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.3s cubic-bezier(.44,1.6,.4,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: #27344C;
  font-size: 1rem;
  max-width: 510px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner__btn {
  background: #F4B33A;
  color: #27344C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 1.4em;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #27344C;
  color: #fff;
}
.cookie-banner__btn--secondary {
  background: #fff;
  border: 2px solid #F4B33A;
  color: #27344C;
}
.cookie-banner__btn--secondary:hover {
  background: #F4B33A;
  color: #27344C;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(39,52,76,0.43);
  z-index: 2900;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s, visibility 0.22s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #27344C;
  border-radius: 24px;
  min-width: 320px;
  max-width: 95vw;
  padding: 40px 30px;
  box-shadow: 0 8px 40px rgba(39,52,76,0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #27344C;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal__close:hover {
  color: #F4B33A;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.09rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #F8F6F3;
  border: 2px solid #F4B33A;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.14s, border-color 0.13s;
}
.cookie-toggle[aria-checked="true"] {
  background: #F4B33A;
  border-color: #27344C;
}
.cookie-toggle__knob {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s, background 0.16s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle__knob {
  left: 18px;
  background: #27344C;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 12px 16px 14px;
    font-size: 0.96rem;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 24px 8px;
  }
}

/* UTILITIES */
.hide {
  display: none !important;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% { opacity:0; transform:translateY(30px) }
  to { opacity:1; transform:translateY(0) }
}

.section, .hero, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  animation: fadeInUp 0.6s cubic-bezier(.6,1.6,.3,.93);
}

/* GEOMETRIC ACCENTS (example for style, can be used for decorations) */
.hero:before {
  content: '';
  position: absolute;
  bottom: -60px; right: 28px;
  width: 80px; height: 80px;
  background: #F4B33A;
  border-radius: 34px 8px 62px 14px;
  opacity: 0.17;
  z-index: 1;
  pointer-events: none;
}
.hero:after {
  content: '';
  position: absolute;
  top: 34px; left: 32px;
  width: 44px; height: 44px;
  background: #27344C;
  border-radius: 11px 34px 9px 34px;
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}


/* ------------ BRAND COLORS UTILITY CLASSES ------------- */
.bg-primary { background: #27344C !important; color: #fff; }
.bg-secondary { background: #F4B33A !important; color: #27344C; }
.bg-accent { background: #F8F6F3 !important; color: #27344C; }
.text-primary { color: #27344C !important; }
.text-secondary { color: #F4B33A !important; }
.text-accent { color: #F8F6F3 !important; }

/* ------------- MISC: INTERACTIONS, FOCUS STYLES --------- */
a, button, .cta-button, .cta-main, .cookie-banner__btn {
  outline: none;
  transition: box-shadow 0.12s, border-color 0.12s;
}
button:focus, .cta-button:focus, .cta-main:focus, .cookie-banner__btn:focus {
  box-shadow: 0 0 0 3px #F4B33A77;
}
a:focus {
  outline: 2px solid #F4B33A;
}

/* ------------- OVERRIDES - NO GRID, SPACING --------- */
/* (Compliant: NO display: grid, NO column/column-count) */
/* All layout with display:flex and appropriate gap */

