/* =====================================================================
   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;
}
html {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #f5f7fa;
  color: #25404B;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F1EA;
  color: #25404B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
main {
  flex: 1 1 auto;
}
a {
  color: #25404B;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #BEA363;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input[type="submit"],
input[type="button"] {
  font-family: inherit;
  outline: none;
  border: none;
  cursor: pointer;
  background: none;
}
input[type=text], input[type=email], input[type=search], textarea {
  font-family: inherit;
}
*
  {
    box-sizing: border-box;
  }

/* =====================================================================
   BRAND FONTS
===================================================================== */
h1, h2, h3, .brand-display {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
p, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.1rem;
  color: #476371;
  font-style: italic;
  margin-bottom: 22px;
}

/* =====================================================================
   GENERAL CONTAINERS & LAYOUT
===================================================================== */
.container {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 rgba(37, 64, 75, 0.07);
}

/* =====================================================================
   FLEXBOX LAYOUTS
===================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(37, 64, 75, 0.06);
  padding: 22px 22px 18px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(37, 64, 75, 0.11), 0 1.5px 3px rgba(37,64,75,0.05);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid,
.category-grid,
.feature-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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div, .category-grid > div {
  flex: 1 1 260px;
  background: #F6F1EA;
  border-radius: 10px;
  padding: 26px 20px 18px 20px;
  min-width: 200px;
  max-width: 320px;
  box-shadow: 0 2px 6px 0 rgba(37,64,75,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .category-grid > div:hover {
  box-shadow: 0 5px 22px 0 rgba(37,64,75,0.09);
  transform: translateY(-2px) scale(1.025);
}

/* =====================================================================
   BUTTONS, CTA, MICROINTERACTIONS
===================================================================== */
.cta-primary, .cta-secondary, button, input[type='submit'] {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.18s, color 0.15s, box-shadow 0.2s, outline 0.2s;
  margin-top: 12px;
  text-align: center;
}
.cta-primary, button[type="submit"] {
  background: #25404B;
  color: #fff;
  border: none;
  box-shadow: 0 3px 14px 0 rgba(37,64,75,0.11);
}
.cta-primary:hover, .cta-primary:focus, button[type="submit"]:hover, button[type="submit"]:focus {
  background: #BEA363;
  color: #25404B;
  box-shadow: 0 6px 22px 0 rgba(37,64,75,0.13);
  outline: 2px solid #BEA363;
}
.cta-secondary {
  background: #BEA363;
  color: #25404B;
  border: none;
  font-weight: 700;
  margin-top: 10px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #25404B;
  color: #fff;
  outline: 2px solid #25404B;
}
button, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}

/* =====================================================================
   FORMS
===================================================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  margin-bottom: 8px;
}
label {
  font-weight: 600;
  margin-bottom: 2px;
}
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1.5px solid #BECADA;
  border-radius: 5px;
  background: #FAFAFA;
  color: #25404B;
  margin-bottom: 3px;
  transition: border-color 0.18s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
  border-color: #25404B;
  background: #fff;
  outline: 2px solid #BEA363;
}
textarea {
  min-height: 90px;
  resize: vertical;
}

/* =====================================================================
   HEADER & NAVIGATION
===================================================================== */
header {
  background: #25404B;
  box-shadow: 0 4px 20px 0 rgba(37,64,75,0.09);
  position: sticky;
  top: 0;
  z-index: 40;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 14px 20px;
  justify-content: flex-start;
}
header nav a {
  color: #f6f1ea;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color 0.13s, background 0.15s;
}
header nav a:hover,
header nav a:focus {
  color: #BEA363;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  outline: none;
}
header nav a.cta-primary {
  background: #BEA363;
  color: #25404B;
  padding: 10px 20px;
  margin-left: auto;
  border-radius: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.17s, color 0.15s;
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: #25404B;
  color: #fff;
  outline: 2px solid #BEA363;
}
header nav img {
  height: 42px;
  width: auto;
  margin-right: 28px;
  vertical-align: middle;
}

/* Hide burger menu on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(37, 64, 75, 0.98);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.87,0,0.13,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #BEA363;
  font-size: 2.2rem;
  padding: 22px 24px 8px 0;
  border: none;
  margin-right: 18px;
  margin-top: 16px;
  cursor: pointer;
  min-width: 60px;
  transition: color 0.17s;
  z-index: 82;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 35px;
  gap: 0;
}
.mobile-nav a {
  width: 100%;
  color: #fff;
  background: none;
  font-size: 1.2rem;
  padding: 20px 34px 20px 28px;
  border-bottom: 1px solid rgba(190,163,99,0.07);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BEA363;
  color: #25404B;
  outline: none;
}

/* =====================================================================
   FOOTER
===================================================================== */
footer {
  background: #25404B;
  padding: 38px 0 28px 0;
  color: #f6f1ea;
  box-shadow: 0 -3px 14px 0 rgba(37,64,75,0.11);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
footer nav a {
  color: #BEA363;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .contact-details {
  font-size: 0.99rem;
  color: #E0E4EB;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 5px;
}
footer .contact-details a {
  color: #BEA363;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.14s;
}
footer .contact-details a:hover, footer .contact-details a:focus {
  color: #fff;
  text-decoration: underline;
}

/* =====================================================================
   SECTIONS, SPACING, FLEX LAYOUTS
===================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 rgba(37, 64, 75, 0.07);
}
section:last-of-type {
  margin-bottom: 0;
}

/**** Cards and Featured Lists ****/
.featured-recipes-list {
  margin-top: 18px;
  margin-bottom: 16px;
  background: #F6F1EA;
  border-radius: 10px;
  padding: 18px 18px 14px 24px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px 0 rgba(37, 64, 75, 0.06);
}

/**** CTAs in sections ****/
section .cta-primary, section .cta-secondary {
  margin-top: 10px;
}

/**** Service price tags ****/
.service-price {
  margin-left: 10px;
  font-weight: bold;
  color: #25404B;
  background: #F6F1EA;
  padding: 3px 12px;
  border-radius: 16px;
  font-size: 0.97em;
  display: inline-block;
  margin-bottom: 1.5px;
}

/**** Card, Content / Feature Grid Padding ****/
.category-grid, .feature-grid {
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 17px;
}

/* =====================================================================
   TESTIMONIALS
===================================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F6F1EA;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(37, 64, 75, 0.14);
  padding: 20px;
  margin-bottom: 20px;
  color: #25404B !important;
}
.testimonial-card p {
  color: #25404B !important;
}

/* =====================================================================
   ADDITIONAL FLEX UTILITIES
===================================================================== */
.menu-plan-examples,
.personalization-options,
.chef-bios,
.benefits,
.tips-for-speed,
.user-favorites,
.recipe-origins,
.historical-tips,
.text-section {
  margin-top: 14px;
  margin-bottom: 8px;
  background: #FAFAFA;
  padding: 15px 20px 12px 20px;
  border-radius: 10px;
  box-shadow: 0 1px 7px 0 rgba(37,64,75,0.05);
}

/* =====================================================================
   COOKIE BANNER & MODAL STYLES
===================================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #25404B;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(37,64,75,0.18);
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 20px 16px 24px;
  font-size: 1.11rem;
  transition: transform 0.35s, opacity 0.4s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-consent-banner button {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 700;
  border: none;
  margin-left: 6px;
  transition: background 0.18s, color 0.13s, outline 0.22s;
}
.cookie-accept {
  background: #BEA363;
  color: #25404B;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fff;
  color: #25404B;
  outline: 2px solid #BEA363;
}
.cookie-reject {
  background: #F6F1EA;
  color: #25404B;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #BEA363;
  color: #fff;
  outline: 2px solid #BEA363;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #BEA363;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #BEA363;
  color: #25404B;
  outline: 2px solid #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 1100;
  background: rgba(37,64,75, 0.48);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 12px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #25404B;
  padding: 38px 24px 29px 24px;
  border-radius: 16px;
  min-width: 320px;
  box-shadow: 0 9px 40px 0 rgba(37,64,75,0.17);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 98vw;
}
.cookie-modal-content h2 {
  font-size: 1.29rem;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 7px 0;
}
.cookie-toggle {
  width: 44px; height: 24px;
  background: #BECADA;
  border-radius: 14px;
  position: relative;
  transition: background 0.17s;
  margin-left: 12px;
  margin-right: 7px;
  cursor: pointer;
}
.cookie-toggle.on {
  background: #BEA363;
}
.cookie-toggle .toggle-circle {
  position: absolute;
  left: 4px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
}
.cookie-toggle.on .toggle-circle {
  left: 22px;
}
.cookie-modal-btns {
  display: flex;
  gap: 15px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal-btns button {
  font-weight: bold;
  border: none;
  background: #25404B;
  color: #fff;
  border-radius: 7px;
  padding: 10px 24px;
  font-size: 1rem;
  transition: background 0.14s;
}
.cookie-modal-btns button:hover, .cookie-modal-btns button:focus {
  background: #BEA363;
  color: #25404B;
}

/* =====================================================================
   RESPONSIVENESS (MOBILE-FIRST, BREAKPOINTS)
===================================================================== */
@media (max-width: 1050px) {
  .feature-grid > div, .category-grid > div {
    min-width: 42%;
    max-width: 49%;
  }
}
@media (max-width: 900px) {
  .feature-grid, .category-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .feature-grid > div, .category-grid > div {
    min-width: 95%;
    max-width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  footer nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header nav {
    gap: 12px;
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 30px 7px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.07rem; }
  .subheadline { font-size: 1rem; }
  .content-wrapper, .section, .content-grid, .feature-grid, .category-grid, .card-container {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .feature-grid, .category-grid {
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 610px) {
  header nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 21px;
    right: 21px;
    z-index: 60;
    background: none;
    color: #BEA363;
    font-size: 2.1rem;
    border: none;
    padding: 10px;
    transition: color 0.14s;
    border-radius: 50%;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    color: #fff;
    background: #BEA363;
    outline: none;
  }
}
@media(max-width: 480px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px 14px 8px;
    font-size: 0.98rem;
  }
  .cookie-consent-banner .cookie-buttons {
    gap: 10px;
  }
  .cookie-modal-content {
    min-width: 95vw;
    padding: 23px 8px 18px 8px;
  }
}

/* =====================================================================
   MISC
===================================================================== */
::-webkit-input-placeholder { color: #7E8C99; opacity: 1; }
::-moz-placeholder { color: #7E8C99; opacity: 1; }
:-ms-input-placeholder { color: #7E8C99; opacity: 1; }
::placeholder { color: #7E8C99; opacity: 1; }

hr {
  border: none;
  border-bottom: 1.2px solid #ecedd2;
  margin: 32px 0;
}

/***** Utility Classes *****/
.hide { display: none !important; visibility: hidden; }
.show { display: block !important; visibility: visible; }

/* Specific list styles for professional look */
ul, ol {
  color: #25404B;
}

/* =====================================================================
    END OF STYLES
===================================================================== */
