/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #27416c;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
}
a {
  color: #355889;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F8B133;
}
strong, b {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #27416c;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, blockquote {
  font-size: 1rem;
  color: #2b3551;
  margin-bottom: 16px;
}
blockquote {
  padding-left: 20px;
  border-left: 4px solid #355889;
  color: #2b3551;
  font-style: italic;
  background: #f6f8fa;
  border-radius: 6px;
}

/* CONTAINER & LAYOUT SYSTEM */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #E9E4DF;
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px 16px;
}
header img {
  height: 48px;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 6px;
  letter-spacing: 0.02em;
  transition: color 0.22s;
  color: #27416c;
}
header nav a:hover, header nav a:focus {
  color: #F8B133;
}
.cta-btn {
  background: #F8B133;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 26px;
  border-radius: 28px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 20px;
  box-shadow: 0 1px 8px 0 rgba(53,88,137,0.08);
  transition: background 0.19s, box-shadow 0.19s, color 0.19s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #355889;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(53,88,137,0.13);
}

/* BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #355889;
  margin-left: 16px;
  cursor: pointer;
  border-radius: 50%;
  padding: 8px 12px;
  box-shadow: 0 1px 3px 0 rgba(53,88,137,0.08);
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 999;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F8B133;
  color: #fff;
  box-shadow: 0 2px 8px rgba(53,88,137,0.12);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0.2,0.2,1);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #355889;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  padding: 4px 8px;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F8B133;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 10px 0;
  color: #27416c;
  border-bottom: 1px solid #E9E4DF;
  min-width: 170px;
  display: block;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F8B133;
}

/* HERO SECTIONS */
section.hero {
  background: #f6f8fa;
  display: flex;
  align-items: center;
  padding: 54px 0 54px 0;
  margin-bottom: 55px;
  min-height: 160px;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  padding-left: 0;
  padding-right: 0;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.2rem;
  color: #2b3551;
}

/* FEATURE & GRID AREAS */
.features .feature-grid,
.category-grid .grid,
.seasonal-features .seasonal-recipe-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 0 0;
  justify-content: flex-start;
}
.features .feature-grid > div,
.category-grid .grid > div,
.seasonal-features .seasonal-recipe-cards > div {
  flex: 1 1 250px;
  min-width: 210px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(39,65,108,0.06);
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.features .feature-grid > div:hover,
.category-grid .grid > div:hover,
.seasonal-features .seasonal-recipe-cards > div:hover {
  box-shadow: 0 6px 24px 0 rgba(53,88,137,0.13);
  transform: translateY(-2px) scale(1.015);
}
.features .feature-grid img,
.category-grid .grid img,
.seasonal-features .seasonal-recipe-cards img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  margin-bottom: 10px;
}
.features .feature-grid h3,
.category-grid .grid h3,
.seasonal-features .seasonal-recipe-cards h3 {
  font-weight: 700;
  font-size: 1.15rem;
}

/* HIGHLIGHTS */
.highlights .highlighted-recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  list-style: none;
}
.highlights .highlighted-recipes li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(39,65,108,0.06);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.16s;
}
.highlights .highlighted-recipes li h3 {
  font-size: 1.13rem;
}
.highlights .quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 25px 0 0 0;
}
.highlights .quick-links a {
  color: #355889;
  background: #E9E4DF;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.17s, color 0.17s;
}
.highlights .quick-links a:hover {
  background: #F8B133;
  color: #fff;
}
.highlights .trending-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.highlights .trending-tags span {
  background: #f4f5f7;
  color: #27416c;
  border-radius: 8px;
  font-size: 0.98rem;
  padding: 7px 14px;
}

.newsletter .benefit-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #27416c;
  font-size: 1rem;
}

/* CARDS AND CARD CONTAINERS */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(39,65,108,0.06);
  transition: box-shadow 0.12s, transform 0.13s;
  padding: 22px 20px 14px 20px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(39,65,108,0.13);
  transform: translateY(-2px) scale(1.016);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-top: 1px solid #E9E4DF;
  border-bottom: 1px solid #E9E4DF;
  padding-top: 40px;
  padding-bottom: 40px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f6f8fa;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(39,65,108,0.045);
  margin-bottom: 20px;
  padding: 20px;
  color: #1f2342;
  transition: box-shadow 0.13s;
  min-width: 0;
  max-width: 730px;
}
.testimonial-card blockquote {
  border-left: 3px solid #F8B133;
  color: #27416c;
  background: none;
  padding-left: 16px;
  margin-bottom: 0;
}
.testimonial-card p {
  color: #355889;
  font-size: 1rem;
  margin: 0;
}

/* LISTINGS & SEARCH */
.search-bar {
  width: 100%;
  display: flex;
  margin-bottom: 16px;
}
.search-bar input[type="text"] {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #E9E4DF;
  border-radius: 8px;
  font-size: 1rem;
  color: #27416c;
  background: #fff;
  transition: border 0.16s, box-shadow 0.16s;
}
.search-bar input[type="text"]:focus {
  border-color: #355889;
  box-shadow: 0 2px 8px 0 rgba(53,88,137,0.06);
  outline: none;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.filters label {
  color: #2b3551;
  font-size: 0.99rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
}
.filters input[type="checkbox"] {
  accent-color: #F8B133;
}

.recipe-list, .blog-teasers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.recipe-list li, .blog-teasers li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(39,65,108,0.05);
  padding: 20px 16px;
  flex: 1 1 250px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.recipe-list li h3, .blog-teasers li h3 {
  font-size: 1.07rem;
}
.recipe-list li span {
  color: #355889;
  font-size: 0.98rem;
  margin-top: 4px;
}
.recipe-list li a,
.blog-teasers li a {
  align-self: flex-start;
  color: #355889;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E9E4DF;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.13s, color 0.13s;
  margin-top: 8px;
  font-size: 0.98rem;
}
.recipe-list li a:hover,
.blog-teasers li a:hover {
  background: #F8B133;
  color: #fff;
}

.benefit-list, .value-list, .next-steps, .tip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  gap: 7px;
  color: #27416c;
  font-size: 1rem;
}

.about .text-section, .team .text-section, .values .value-list, .customer-promise {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #355889;
  font-size: 1rem;
}

.contact-details img {
  height: 18px;
  width: 18px;
  object-fit: contain;
}
.map p {
  color: #636b7b;
  font-size: 0.96rem;
}

.ingredient-tips { margin-top: 26px; background: #f6f8fa; border-radius: 12px; padding: 21px 19px; }
.ingredient-tips h3 { margin-bottom: 8px; }
.download-tip {
  margin-top: 20px;
  display: flex; flex-direction: row; align-items: center; gap: 14px;
  background: #fff8eb;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 1rem;
}
.download-tip img {
  height: 22px;
  width: 22px;
  margin-right: 9px;
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: #F8F9FB;
  border-top: 1px solid #E9E4DF;
  font-size: 0.98rem;
  color: #27416c;
} 
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
  justify-content: space-between;
  padding: 36px 16px 22px 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #355889;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #F8B133;
}
.footer-contact {
  color: #2b3551;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #355889;
  text-decoration: underline;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
}
.brand img {
  height: 36px;
  width: auto;
}
.brand span {
  color: #9ca7b8;
  font-size: 0.93rem;
}

/* UTILITIES: FLEX SPACING & ALIGNMENT */
.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;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -3px 12px 0 rgba(53,88,137,0.095);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 60000;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.32s, opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
}
.cookie-banner-text {
  color: #27416c;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner button {
  background: #F8B133;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  margin: 0 2px;
  transition: background 0.16s, color 0.14s;
  cursor: pointer;
}
.cookie-banner .btn-secondary {
  background: #355889;
}
.cookie-banner .btn-tertiary {
  background: #f6f8fa;
  color: #27416c;
  border: 1px solid #E9E4DF;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #355889;
  color: #fff;
}
.cookie-settings-modal {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(24,32,40,0.36);
  z-index: 70000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-settings-content {
  background: #fff;
  border-radius: 20px;
  max-width: 380px;
  padding: 32px 24px 28px 24px;
  box-shadow: 0 8px 32px 0 rgba(39,65,108,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  margin-bottom: 9px;
}
.cookie-category label {
  color: #27416c;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F8B133;
}
.cookie-pref-actions {
  display: flex; flex-direction: row; gap: 14px; justify-content: flex-end; margin-top: 10px;
}
.cookie-settings-close {
  position: absolute;
  top: 17px;
  right: 13px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #355889;
  cursor: pointer;
  z-index: 1;
}
.cookie-settings-close:hover {
  color: #F8B133;
}

/* LEGAL PAGE STYLES */
.legal {
  background: #fff;
  border-radius: 12px;
  padding: 35px 20px 20px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px 0 rgba(39,65,108,0.06);
}
.legal .text-section, .legal .terms-overview {
  color: #2b3551;
  margin-bottom: 18px;
  font-size: 1rem;
}
.legal h2 {
  margin-bottom: 12px;
}

.section-links ul {
  list-style: none;
  padding: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.section-links a {
  color: #355889;
  text-decoration: underline;
  font-size: 0.98rem;
}
.section-links a:hover {
  color: #F8B133;
}

.user-rights, .contact-info {
  margin-bottom: 20px;
}
.user-rights ul, .contact-info ul {
  list-style: none;
  padding: 0;
  gap: 8px;
}

/* THANK YOU PAGE */
.confirmation, .confirmation .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.next-steps {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #27416c;
  margin-bottom: 10px;
}

/* ANIMATION/TRANSITIONS */
*:focus {
  outline: 2px solid #F8B133;
  outline-offset: 2px;
}
button, .cta-btn, .quick-links a, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.13s, color 0.13s, box-shadow 0.16s;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 960px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 12px;
  }
  .brand { margin-top: 15px; }
}
@media (max-width: 900px) {
  .features .feature-grid > div,
  .category-grid .grid > div,
  .seasonal-features .seasonal-recipe-cards > div {
    flex: 1 1 48%;
    min-width: 180px;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features .feature-grid,
  .category-grid .grid,
  .seasonal-features .seasonal-recipe-cards,
  .highlights .highlighted-recipes,
  .content-grid,
  .card-container,
  .recipe-list,
  .blog-teasers {
    flex-direction: column;
    gap: 20px;
  }
  .highlights .quick-links {
    flex-direction: column;
    gap: 13px;
  }
  .highlights .trending-tags {
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
  }
  .about .text-section, .team .text-section, .values .value-list, .customer-promise {
    gap: 15px;
  }
  .confirmation .content-wrapper {
    padding: 0 4vw;
  }
}
@media (max-width: 660px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .hero h1 { font-size: 2rem; }
  .testimonials { padding: 20px 4px; }
  .card, .testimonial-card, .recipe-list li, .blog-teasers li { padding: 13px 6px; }
  .footer-contact, .brand { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .container, .content-wrapper, section, .section, .hero {
    padding-left: 6px;
    padding-right: 6px;
  }
  .newsletter .benefit-list, .value-list, .next-steps, .tip-list {
    font-size: 0.99rem;
  }
  .cta-btn { padding: 8px 13px; font-size: 0.96rem; }
  .cookie-settings-content {
    max-width: 92vw;
    padding: 23px 7vw 22px 7vw;
    min-width: 0;
  }
}

/* Extra: Hide cookie-modal, cookie-banner by default (JS should toggle .open or .hide class) */
.cookie-settings-modal { display: none; }
.cookie-settings-modal.open { display: flex; }

/* END */
