/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAF3E8;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #324257;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #B65F2A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.8,.1,.27,1.01);
}
a:hover, a:focus {
  color: #faad3f;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 7px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #355164;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 800;
}
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 18px;
  margin: 0 auto;
}

/* --- LAYOUT FLEXBOX PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(53,81,100,0.09);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(53,81,100,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 16px 22px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(182,95,42,0.16),0 2px 10px rgba(53,81,100,0.09);
}
.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;
  background: #fffbe4;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(53,81,100,0.07);
  color: #355164;
  min-width: 0;
  flex: 1 1 308px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 9px rgba(53,81,100,0.06);
  padding: 16px 18px;
  margin-bottom: 20px;
}

/* --- HEADER & NAV --- */
header {
  background: #FFFFFF;
  padding: 0;
  border-bottom: 2.5px solid #E4E9F1;
  position: relative;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 18px 0;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #355164;
  padding: 6px 10px;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s, color 0.17s;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  background: #FFF2DE;
  color: #B65F2A;
}
.cta-btn {
  display: inline-block;
  background: #B65F2A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(182,95,42,0.11);
  letter-spacing: 0.03em;
  margin-left: 14px;
  transition: background 0.18s cubic-bezier(.6,.1,.2,1.04), transform 0.12s;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F2940B;
  color: #fff;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 4px 18px rgba(182,95,42,0.17);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: #B65F2A;
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 7px 17px 5px 15px;
  border-radius: 20px;
  cursor: pointer;
  display: none;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 1111;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F2940B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: translateX(100%);
  background: #fff;
  z-index: 1200;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 0 20px rgba(53,81,100,0.19);
  padding: 24px 20px 0 32px;
  min-width: 220px;
  max-width: 95vw;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F2940B;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 20px;
  padding: 4px 14px 3px 14px;
  position: absolute;
  top: 22px; right: 26px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #355164;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 62px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #355164;
  padding: 15px 7px 11px 4px;
  background: #FFF2DE;
  border-radius: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.17s, color 0.14s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2940B;
  color: #fff;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(108deg,#FFF2DE 55%,#F5F6F7 100%);
  border-radius: 0 0 56px 56px;
  margin-bottom: 20px;
  padding: 44px 0 55px 0;
  box-shadow: 0 12px 22px -10px rgba(182,95,42,0.06);
}
.hero h1 {
  color: #B65F2A;
  font-size: 2.7rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.21rem;
  max-width: 550px;
  margin-bottom: 33px;
  color: #355164;
}

/* --- FEATURES & CARDS --- */
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 33px 0 2px 0;
  justify-content: center;
}
.feature {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(182,95,42,0.07);
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 260px;
  padding: 23px 21px 20px 21px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.25s cubic-bezier(.17,.72,.28,.97), transform 0.17s;
  position: relative;
  overflow: hidden;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 4px 22px rgba(182,95,42,0.14);
  transform: translateY(-3px) scale(1.037);
}
.feature img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  filter: drop-shadow(1px 3px 0px #fffbe4);
  transition: transform 0.12s;
}
.feature:hover img {
  transform: rotate(-8deg) scale(1.15);
}
.feature h3 {
  font-size: 1.19rem;
  color: #B65F2A;
  margin-bottom: 7px;
}
.feature p {
  font-size: 1.04rem;
  color: #355164;
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 22px;
  justify-content: center;
}
.testimonial-card p {
  font-size: 1.07rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #B65F2A;
  font-weight: bold;
}

/* --- RECIPE CATEGORY & SPECIAL LAYOUTS --- */
.recipe-category-grid, .regional-dish-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 30px 0 10px 0;
}
.category, .dish {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 12px rgba(53,81,100,0.075);
  min-width: 216px;
  max-width: 285px;
  flex: 1 1 230px;
  padding: 23px 21px 18px 21px;
  position: relative;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.18s, transform 0.11s;
}
.category:hover, .dish:hover {
  box-shadow: 0 1.8px 18px rgba(182,95,42,0.15);
  transform: translateY(-2px) scale(1.025);
}
.badge {
  background: #fff5e1;
  color: #B65F2A;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  margin-top: 8px;
  display: inline-block;
  font-weight: 700;
}
.seasonal {
  background: #f7ffd6;
  color: #497f17;
}
.fun-fact-box {
  background: #FFF2DE;
  color: #B65F2A;
  border-radius: 9px;
  padding: 7px 13px;
  font-size: 0.96rem;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- SPECIFIC UL/OL LISTS --- */
.recipe-categories-list, .quick-recipe-list {
  margin: 18px 0 20px 0;
}
.recipe-categories-list li, .quick-recipe-list li {
  margin-bottom: 12px;
  font-size: 1.07rem;
  display: flex;
  align-items: center;
}
.quick-recipe-list img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}
.tips-list {
  margin: 15px 0 20px 0;
  font-size: 1.03rem;
}
.benefit {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #B65F2A;
  background: #FFF5E1;
  padding: 6px 13px;
  border-radius: 9px;
  margin-top: 6px;
  margin-bottom: 9px;
  display: inline-block;
}

/* --- FAQ & CARD GRIDS --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 4px 0;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(53,81,100,0.08);
  padding: 16px 18px 14px 22px;
  transition: box-shadow 0.18s;
}
.faq-item h3 {
  font-size: 1.09rem;
  margin-bottom: 7px;
  color: #B65F2A;
}
.short-cooking-guides {
  background: #EAFEEF;
  color: #497f17;
  border-radius: 9px;
  padding: 6px 13px;
  margin: 16px 0 7px 0;
  font-size: 1.01rem;
}
.tool-recommendations {
  margin-top: 11px;
  background: #fffbe4;
  border-radius: 8px;
  padding: 10px 13px;
}
.historic-background {
  background: #eaebfe;
  color: #2d3e50;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1.04rem;
  margin-top: 16px;
}

/* --- CONTENT --- */
.text-section {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 850px;
}

/* --- CTA RECIPE SUBMIT --- */
.cta-recipe-submit {
  background: #faad3f12;
  border-radius: 36px;
  box-shadow: 0 3px 16px rgba(182,95,42,0.09);
  margin-bottom: 60px;
  padding: 32px 20px 50px 20px;
}

/* --- CONTACT INFO --- */
.contact-info p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 5px;
  font-size: 1.05rem;
}
.contact-info img {
  width: 21px;
  height: 21px;
}

/* --- FOOTER --- */
footer {
  background: #355164;
  color: #fff;
  border-radius: 56px 56px 0 0;
  margin-top: 50px;
  padding: 24px 0 40px 0;
  box-shadow: 0 -2px 36px -12px rgba(53,81,100,0.15);
}
.footer-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-section > * {
  flex: 1 1 180px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fffbe4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #faad3f;
}
.contact-short {
  font-size: 1rem;
  color: #fffbe4;
  margin-bottom: 7px;
}
.contact-short img {
  width: 18px;
  height: 18px;
  margin-right: 2px;
  vertical-align: middle;
}
.newsletter-signup {
  background: #fffbe4;
  color: #B65F2A;
  border-radius: 12px;
  padding: 13px 19px 11px 17px;
  font-size: 1.01rem;
  box-shadow: 0 0 4px rgba(53,81,100,0.03);
}
.newsletter-signup strong {
  font-size: 1.13rem;
  color: #B65F2A;
  display: block;
  margin-bottom: 8px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: #fffbe4;
  color: #324257;
  border: 2px solid #faad3f;
  border-radius: 20px;
  box-shadow: 0 8px 24px -8px rgba(182,95,42,.13);
  padding: 20px 32px 20px 25px;
  width: 94vw;
  max-width: 410px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.01rem;
  animation: slideUpBanner 0.8s cubic-bezier(.96,-0.01,.22,.97);
}
@keyframes slideUpBanner {
  from {transform: translateX(-50%) translateY(60px);opacity:0;}
  to {transform: translateX(-50%) translateY(0);opacity:1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 5px;
}
.cookie-banner button {
  background: #B65F2A;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 8px 15px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0;
  cursor: pointer;
  transition: background 0.11s, transform 0.11s;
}
.cookie-banner button.reject {
  background: #355164;
}
.cookie-banner button.settings {
  background: #FFF2DE;
  color: #B65F2A;
  border: 1px solid #B65F2A;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #faad3f;
  color: #fff;
  transform: scale(1.045);
}

/* --- COOKIE PREFERENCE MODAL --- */
.cookie-modal {
  background: #fffbe4;
  color: #355164;
  border: 2px solid #faad3f;
  border-radius: 23px;
  box-shadow: 0 10px 48px -12px rgba(53,81,100,.17);
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%,50%) scale(0.94);
  width: 98vw;
  max-width: 410px;
  padding: 22px 22px 16px 29px;
  z-index: 4000;
  animation: modalShow 0.42s cubic-bezier(.78,-0.06,.16,1.11);
  display: flex;
  flex-direction: column;
  gap: 13px;
}
@keyframes modalShow {
  from { opacity: 0; transform: translate(-50%,54%) scale(0.75); }
  to   { opacity: 1; transform: translate(-50%,50%) scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 12px;
  color: #B65F2A;
}
.cookie-modal label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-toggle {
  width: 36px;
  height: 18px;
  background: #fff2de;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #faad3f;
  transition: background 0.17s;
}
.cookie-modal .cookie-toggle[data-active="true"] {
  background: #faad3f;
}
.cookie-modal .cookie-toggle:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(53,81,100,0.08);
  transition: left 0.24s cubic-bezier(.6,.03,.13,1.36);
}
.cookie-modal .cookie-toggle[data-active="true"]:after {
  left: 19px;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 14px;
  margin-top: 13px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal button {
  background: #B65F2A;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 7px 17px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal button.close {
  background: #355164;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #faad3f;
  color: #fff;
}
.cookie-modal .description {
  font-size: 0.98rem;
  margin-bottom: 9px;
}

/* --- PLAYFUL DYNAMIC TRANSITIONS & EFFECTS --- */
section, .card, .feature, .testimonial-card, .hero, .dish, .category {
  transition: box-shadow 0.2s cubic-bezier(.66,.2,.38,1), background 0.2s;
}
.feature, .category, .dish {
  animation: floatUp 1.2s cubic-bezier(.6,.04,.23,.97) both;
}
@keyframes floatUp {
  0% { opacity:0; transform: translateY(60px) scale(0.97); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* --- SPACING ADJUSTMENTS (ALWAYS 20px OR LARGER GAPS) --- */
section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child), .testimonial-card:not(:last-child), .feature:not(:last-child) {
  margin-right: 20px;
}

/* --- RESPONSIVE (MOBILE-FIRST) --- */
@media (max-width: 980px) {
  .footer-section {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 860px) {
  .feature-grid, .category-grid, .regional-dish-grid, .testimonial-cards, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-section {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .header-flex {
    flex-direction: row;
    padding: 18px 0 15px 0;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .content-wrapper,
  .container {
    padding: 0 7px;
  }
  .hero {
    padding: 30px 0 30px 0;
    border-radius: 0 0 38px 38px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .feature-grid, .regional-dish-grid, .testimonial-cards, .recipe-category-grid, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .section {
    padding: 22px 5px;
    border-radius: 13px;
  }
  .faq-list {
    gap: 13px;
  }
  .footer-section {
    flex-direction: column;
    gap: 11px;
  }
}
@media (max-width: 520px) {
  .hero,
  .footer-section,
  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cookie-banner {
    left: 2%; right: 2%;
    width: 97vw;
    max-width: 100vw;
    padding: 16px 7px 19px 5px;
  }
  .cookie-modal {
    padding: 14px 5px 12px 12px;
    border-radius: 11px;
  }
  .mobile-menu {
    padding: 20px 10px 0 10px;
  }
}

/* --- PLAYFUL DYNAMIC FONTS --- */
body, p, .footer-nav, .contact-short, .newsletter-signup, .cookie-banner, .cookie-modal {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, .main-nav a, .cta-btn, .badge, .benefit, .feature h3, .category h3, .dish h3 {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- ANIMATED & FUN MICRO-INTERACTIONS --- */
.cta-btn {
  animation: bouncyCTABtn 0.9s cubic-bezier(.41,-0.1,.28,1.2);
}
@keyframes bouncyCTABtn {
  0% { transform: scale(.8) rotate(-7deg); }
  40% { transform: scale(1.06) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.feature:hover::after,
.category:hover::after,
.dish:hover::after {
  content: "✨";
  position: absolute;
  top: 11px;
  right: 18px;
  font-size: 1.5rem;
  animation: sparkleSpin .8s ease-in;
}
@keyframes sparkleSpin {
  0% { opacity:0; transform:rotate(-150deg) scale(.4);}
  80% { opacity:.7; transform:rotate(14deg) scale(1.19);}
  100% { opacity:.3; transform:rotate(4deg) scale(.9);}
}

/* --- CUSTOM SCROLLBAR for playful feel --- */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background: #FFF2DE;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #fffbe4;
}

/* --- UTILITY CLASSES --- */
.hide {
  display: none !important;
}
.visible {
  display: inherit !important;
}

/* --- NO ABSOLUTE POSITIONING FOR CONTENT CARD ALIGNMENTS --- */
/* Decorative only (allowed above) */

/* --- ACCESSIBILITY & CONTRAST --- */
.testimonial-card, .testimonial-cards, .testimonial-card p, .testimonial-card span {
  color: #355164 !important;
  background: #fffbe4!important;
}

/* --- END --- */
