/* RESET & BASE STYLES */
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;
  min-height: 100vh;
  background: #fff9f4;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #E76F51;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #F4A261;
}
ul, ol {
  margin-left: 1.6em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(38,70,83,0.06);
}

/* FONT FACES & HEADINGS */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Times New Roman', serif;
  color: #264653;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1.2px;
  text-shadow: 0 2px 10px rgba(244,162,97,0.07);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #E76F51;
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 16px;
}
strong {
  color: #E76F51;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* FLEX LAYOUTS ENFORCED */
.feature-grid, .feature-list, .service-packages, .recipe-highlights, .testimonial-list, .editorial-highlights ul, .interviews ul, .travel-reports ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(231,111,81,0.15);
  transition: transform 0.18s cubic-bezier(.42,.7,.35,1.4), box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(231,111,81,0.22);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  flex: 1 1 240px;
  background: #fffbe6;
  padding: 32px 20px 24px 20px;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(244,162,97,0.13);
  transition: box-shadow 0.16s, transform 0.16s;
  border: 2px solid #F4A261;
  position: relative;
  overflow: hidden;
}
.feature-item img {
  width: 50px;
  height: 50px;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(231,111,81,0.23);
  transform: translateY(-6px) scale(1.05) rotate(-1.5deg);
}

/* CARDS & HIGHLIGHTS */
.recipe-card, .service-item, .editorial-highlights, .interviews, .travel-reports {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(231,111,81,0.08);
  padding: 24px 20px 18px 22px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.recipe-card:hover, .service-item:hover {
  box-shadow: 0 7px 26px rgba(244,162,97,0.32);
  transform: scale(1.03) rotate(1deg);
}
.chef-tips {
  background: #F4A261;
  color: #264653;
  border-radius: 16px;
  padding: 16px 20px;
  margin: 30px 0 10px;
  font-weight: 700;
  box-shadow: 0 1px 10px rgba(38,70,83,0.10);
}

/* TESTIMONIALS */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  min-width: 250px;
  min-height: 140px;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(38,70,83,0.08), 0 1.5px 8px rgba(244,162,97,0.13);
  margin-bottom: 20px;
  border-left: 4px solid #E76F51;
  position: relative;
}
.testimonial-card p {
  color: #264653;
  font-size: 1.06em;
  font-weight: 600;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #E76F51;
  font-weight: 700;
  font-size: 1em;
  display: flex;
  gap: 14px;
  align-items: center;
}
/* ensure text readable on accent/dark backgrounds */
.testimonial-card span {
  color: #264653;
}

/* HERO SECTION */
.hero {
  background: #F4A261;
  background: linear-gradient(102deg, #F4A261 80%, #E76F51 100%);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 24px rgba(231,111,81,0.08);
  padding: 60px 0 44px 0;
  margin-bottom: 64px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #264653;
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.hero .subheadline {
  color: #fff;
  background: #E76F51;
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 1.18em;
  box-shadow: 0 3px 10px rgba(231,111,81,0.07);
  display: inline-block;
  letter-spacing: 0.04em;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #264653;
  color: #fff;
  box-shadow: 0 2px 12px rgba(38,70,83,0.08);
  z-index: 100;
  position: relative;
  padding: 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s;
}
.logo:hover img {
  transform: scale(1.07) rotate(-2deg);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: 12px;
}
.main-nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.21s, color 0.21s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E76F51;
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 28px;
  background: #E76F51;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.05em;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(231,111,81,0.11);
  transition: background 0.2s, box-shadow 0.21s, transform 0.15s;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 10px rgba(38,70,83,0.06);
}
.cta-btn.primary {
  background: #E76F51;
  color: #fff;
  border: 2px solid #E76F51;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #F4A261;
  color: #264653;
  border-color: #E76F51;
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: #F4A261;
  color: #264653;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 7px 15px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.19s, box-shadow 0.15s;
  z-index: 111;
}
.mobile-menu-toggle:hover {
  background: #E76F51;
  color: #fff;
  box-shadow: 0 4px 18px rgba(231,111,81,0.18);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(231,111,81,0.92);
  backdrop-filter: blur(2px);
  z-index: 3000;
  display: flex;
  transition: transform 0.47s cubic-bezier(.65,.12,.35,1.1);
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: #fff;
  color: #264653;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(38,70,83,0.11);
  cursor: pointer;
  z-index: 3010;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #264653;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 90px 0 0 40px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(244,162,97,0.22);
  min-width: 160px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #264653;
}

/* FOOTER */
footer {
  background: #264653;
  color: #fff;
  padding: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 18px rgba(38,70,83,0.11);
  margin-top: 78px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 18px 0;
  gap: 20px;
}
.footer-logo img {
  height: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline dotted rgba(244,162,97,0.6);
  text-underline-position: under;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #F4A261;
}
.footer-contact {
  font-size: 0.98em;
  color: #F4A261;
  margin: 9px 0 0 0;
  padding-bottom: 7px;
}
.footer-contact a {
  color: #F4A261;
  text-decoration: underline;
}
.footer-bottom {
  color: #fff;
  background: #233949;
  font-size: 0.95em;
  text-align: center;
  padding: 14px 0 10px 0;
  border-radius: 0 0 16px 16px;
}

/* SERVICES, PRICING, LISTS */
ul.course-modules, ul.feature-list, ul.step-list, ul.contact-info-list, nav.category-nav ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
nav.category-nav ul {
  flex-direction: row;
  gap: 17px;
}
nav.category-nav a {
  background: #f8ecc7;
  color: #264653;  
  font-family: 'Merriweather', serif;
  font-size: 1.05em;
  font-weight: 600;
  border-radius: 10px;
  padding: 7px 17px;
  margin-bottom: 4px;
  box-shadow: 0 1px 7px rgba(244,162,97,0.13);
  transition: background 0.14s, color 0.16s;
}
nav.category-nav a:hover {
  background: #E76F51;
  color: #fff;
}
.pricing-info span {
  color: #E76F51;
  font-weight: bold;
  font-size: 1.1em;
}

/* General Content Tweaks */
.text-section, .email-delivery-info {
  background: #fffaf6;
  padding: 15px 18px;
  border-left: 5px solid #F4A261;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(244,162,97,0.08);
}
.email-delivery-info {
  border-left-color: #E76F51;
}

/* ANIMATED & PLAYFUL ELEMENTS */
.feature-item::before,
.recipe-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -32px;
  width: 60px;
  height: 60px;
  background: #F4A261;
  opacity: 0.13;
  border-radius: 56% 44% 62% 44% / 53% 62% 38% 47%;
  z-index: 0;
  pointer-events: none;
  animation: blobLoop 6s infinite ease-in-out alternate;
}
@keyframes blobLoop {
  0% { border-radius:54% 46% 57% 43% / 55% 57% 43% 45%;  }
  100% { border-radius:44% 56% 48% 52% / 46% 38% 62% 54%;  }
}
.feature-item:hover::before, .recipe-card:hover::before {
  opacity: 0.20;
  background: #E76F51;
}

/* PLAYFUL HOVERS */
an, .cta-btn, .card, .service-item, .feature-item, .recipe-card, .testimonial-card {
  transition: color 0.13s, background 0.18s, box-shadow 0.14s, transform 0.16s;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  display: flex;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 24px;
  z-index: 4000;
  background: #fffde7;
  color: #264653;
  border: 2px solid #F4A261;
  box-shadow: 0 5px 28px rgba(244,162,97,0.12);
  border-radius: 16px;
  padding: 22px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.02rem;
  max-width: 540px;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: #F4A261;
  color: #264653;
  margin-right: 4px;
  outline: none;
  box-shadow: 0 1px 7px rgba(231,111,81,0.11);
  transition: background 0.15s, color 0.15s;
}
.cookie-btn.accept {
  background: #E76F51;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #F4A261;
  color: #264653;
}
.cookie-btn.reject {
  background: #264653;
  color: #fff;
}
.cookie-btn.reject:hover { background: #E76F51; color: #fff; }
.cookie-btn.settings {
  background: #F4A261;
  color: #264653;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #E76F51;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(38,70,83,0.80);
  z-index: 4050;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #264653;
  border-radius: 18px;
  padding: 34px 36px 28px 36px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(231,111,81,0.19);
  position: relative;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 17px 0 14px 0;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #E76F51;
  border-radius: 13px;
  position: relative;
  outline: none;
  box-shadow: 0 1px 4px rgba(244,162,97,0.06);
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #F4A261;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.23s;
  box-shadow: 0 1px 4px rgba(38,70,83,0.11);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top:15px;
  background: #E76F51;
  color: #fff;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 4060;
}
.cookie-modal-close:hover { background: #264653; color: #fff; }

/* MEDIA QUERIES RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .feature-list, .service-packages, .testimonial-list, .recipe-highlights {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .feature-list, .service-packages, .testimonial-list, .recipe-highlights {
    flex-wrap: wrap;
    gap: 18px;
  }
  .main-nav {
    gap: 13px;
  }
  .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 36px 0 28px 0; margin-bottom:38px; }
  .hero .content-wrapper { align-items: flex-start; }
  .main-nav, .footer-top, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-nav {
    gap: 18px;
  }
  .container { padding: 0 10px; }
  section, .section { padding: 24px 9px; margin-bottom: 36px; }
  .content-wrapper { gap: 16px; }
  .feature-grid, .feature-list, .service-packages, .testimonial-list, .recipe-highlights {
    flex-direction: column;
    gap: 14px;
  }
  nav.category-nav ul {flex-direction: column; gap:10px;}
  .editorial-highlights, .interviews, .travel-reports {
    padding: 10px 8px 12px 10px;
    border-radius: 14px;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 22px 0 17px 0;
    border-radius: 0 0 18px 18px;
  }
  .hero h1 { font-size: 1.22rem; }
  .container { padding: 0 3vw; }
  .footer-top { flex-direction: column; gap: 19px; }
  .footer-logo img { height: 32px; }
  .cta-btn, .cta-btn.primary, .cookie-btn {
    font-size: 1em;
    padding: 12px 14px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    max-width: 97vw;
    padding: 12px 10px;
    gap: 12px;
    left: 2vw; right: 2vw;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 7px 24px 13px;
    font-size: 0.98em;
  }
  .mobile-nav { margin-left: 10vw; }
}

/* MOBILE NAV VISIBILITY */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MISC */
::-webkit-input-placeholder { color:#A7B3BC; }
::-moz-placeholder { color:#A7B3BC; }
:-ms-input-placeholder { color:#A7B3BC; }
::placeholder { color:#A7B3BC; }

/* Scrollbar styling for color/energy */
::-webkit-scrollbar {
  width: 10px;
  background: #fff9f4;
}
::-webkit-scrollbar-thumb {
  background: #F4A261;
  border-radius: 10px;
}

/* Utilities */
.text-center {
  text-align: center;
}
.mt-1 { margin-top: 16px; }

/* Hide unwanted outlines */
*:focus {
  outline: 2px solid #E76F51;
  outline-offset: 1.5px;
}
