/* CSS RESET & BASE TYPOGRAPHY */

/* Box-sizing and margin reset */
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,
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 {
  /* Base font size for scaling */
  font-size: 16px;
  background: #FAF8FF;
  scroll-behavior: smooth;
}
body {
  background: #FAF8FF;
  color: #23285B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #6666cc;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23285B;
  text-decoration: underline;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #23285B;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #7889b7;
  font-size: 1.125rem;
  margin-bottom: 24px;
  font-weight: 400;
}
strong { font-weight: 700; }
em, i { font-style: italic; }

ul, ol { margin: 0 0 16px 22px; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
li {
  font-size: 1rem;
  padding-left: 2px;
}

hr {
  border: none;
  border-bottom: 1px solid #E8EAEF;
  margin: 24px 0;
}

/* CONTAINERS & BASE COMPONENTS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
.text-section {
  font-size: 1.075rem;
  color: #23285B;
  background: #fff7ee;
  border-radius: 18px;
  padding: 28px 28px 18px 28px;
  box-shadow: 0 2px 18px 0 rgba(209,194,224,0.09);
  margin-bottom: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #ffffff;
  box-shadow: 0 4px 24px 0 rgba(209,194,224,0.06);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  min-height: 68px;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
  position: relative;
}
.main-navigation > a img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  margin-right: 18px;
}
.main-navigation ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  list-style: none;
}
.main-navigation li {
  display: flex;
  align-items: center;
}
.main-navigation ul li a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  color: #23285B;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-size: 1rem;
}
.main-navigation ul li a:hover,
.main-navigation ul li a:focus {
  background: #F1EEFA;
  color: #7b6790;
}
.button.primary {
  background: #FFE3B7;
  color: #23285B;
  border: none;
  font-family: 'Playfair Display', serif;
  border-radius: 28px;
  padding: 12px 30px;
  font-size: 1.11rem;
  box-shadow: 0 2px 10px 0 rgba(255,227,183,0.10);
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin-left: 24px;
}
.button.primary:hover,
.button.primary:focus {
  background: #ffe7c8;
  color: #23285B;
  box-shadow: 0 4px 24px 0 rgba(255,227,183,0.22);
}

/* --- BURGER MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: #FFE3B7;
  color: #23285B;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 9px 14px;
  margin-right: 8px;
  cursor: pointer;
  z-index: 105;
  box-shadow: 0 2px 10px 0 rgba(255,227,183,0.10);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FFD99B;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(230, 223, 255, 0.98);
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 370px;
  height: 100vh;
  z-index: 1020;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: -3px 0 36px 0 rgba(89,74,152,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff7ee;
  color: #23285B;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  padding: 6px 14px;
  margin: 22px 18px 10px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFE3B7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 34px 0 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #23285B;
  font-weight: 600;
  padding: 13px 0;
  width: 100%;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #f6f1fd;
  color: #8D76B5;
  outline: none;
}

@media (max-width: 1020px) {
  .main-navigation ul, .main-navigation .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO & CTA SECTION --- */
.hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7faff 0%, #FBF0D9 100%);
  padding: 36px 0 52px 0;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  box-shadow: 0 8px 36px 0 rgba(209,194,224,0.08);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}
.hero h1 {
  color: #23285B;
  font-size: 2.7rem;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .hero {
    min-height: 320px;
    padding: 22px 0 28px 0;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
  .hero h1 { font-size: 2rem; }
}

/* --- FLEX CONTAINERS (MANDATORY) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 6px 36px 0 rgba(209,194,224, 0.12);
  padding: 30px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 48px 0 rgba(209,194,224,0.18);
  transform: translateY(-5px) scale(1.012);
}

.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;
  background: #fff7ee;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(255,227,183,0.08), 0 8px 36px 0 rgba(209,194,224,0.08);
  margin-bottom: 20px;
  max-width: 495px;
  position: relative;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.19rem;
  color: #23285B;
  margin-bottom: 0;
  line-height: 1.45;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card .stars {
  color: #FAB300;
  font-size: 1.08rem;
  font-weight: 700;
}
.testimonial-card .customer {
  color: #8a7ba4;
  font-size: 1.01rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- GRID LISTS --- */
.feature-grid,
.service-list,
.usps-grid,
.recipe-categories-grid,
.benefits-list,
.blog-category-grid,
.benefits-grid,
.featured-recipes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid li,
.service-list li,
.usps-grid li,
.recipe-categories-grid li,
.blog-category-grid li,
.benefits-grid > div {
  background: #F6F1FD;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(209,194,224,0.13);
  padding: 22px 18px 15px 24px;
  min-width: 188px;
  flex: 1 0 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow 0.18s, background 0.18s;
}
.feature-grid li:hover,
.service-list li:hover,
.usps-grid li:hover,
.recipe-categories-grid li:hover,
.blog-category-grid li:hover,
.benefits-grid > div:hover {
  background: #fff7ee;
  box-shadow: 0 8px 36px 0 rgba(209,194,224,0.16);
}
.feature-grid img,
.usps-grid img,
.recipe-categories-grid img,
.blog-category-grid img,
.benefits-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 3px;
  border-radius: 12px;
  background: #f8f2ff;
  padding: 5px;
}

/* --- BUTTONS --- */
.button,
.button.primary {
  font-family: 'Playfair Display', serif;
  background: #F1EEFA;
  color: #23285B;
  border: none;
  border-radius: 28px;
  padding: 12px 30px;
  margin: 5px 6px 0 0;
  font-size: 1.11rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(209,194,224,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.button:hover, .button:focus {
  background: #DDCEF2;
  color: #23285B;
  box-shadow: 0 8px 24px 0 rgba(209,194,224,0.18);
  transform: translateY(-2px) scale(1.01);
}
.button.primary {
  background: #FFE3B7;
  color: #23285B;
}
.button.primary:hover, .button.primary:focus {
  background: #FFD99B;
  color: #23285B;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 0 0;
}

/* --- LISTS & TABLES --- */
ol, ul {
  padding-left: 1.1em;
  margin-bottom: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  margin: 10px 0 18px 0;
  box-shadow: 0 2px 12px 0 rgba(209,194,224,0.07);
  background: #fff7ee;
}
th, td {
  padding: 12px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #F6F1FD;
  color: #7B6790;
  font-weight: 700;
  font-size: 1.08rem;
}
tr:not(:last-child) {
  border-bottom: 1px solid #E8EAEF;
}

/* --- FOOTER --- */
footer {
  background: #F6F1FD;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 24px 0 rgba(209,194,224,0.06);
  padding: 42px 0 20px 0;
  margin-top: 40px;
}
.footer-navigation ul {
  display: flex;
  flex-direction: row;
  gap: 22px;
  list-style: none;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-navigation ul li a {
  color: #8A7BA4;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.footer-navigation ul li a:hover,
.footer-navigation ul li a:focus {
  background: #FFE3B7;
  color: #23285B;
}
.copyright {
  text-align: center;
  color: #BBAFD5;
  font-size: 0.99rem;
  letter-spacing: 0.02em;
}

/* --- BLOG --- */
.read-more {
  color: #8d76b5;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 2px;
  transition: color 0.15s, text-shadow 0.18s;
}
.read-more:hover, .read-more:focus {
  color: #23285B;
  text-shadow: 0 1px 10px rgba(209,194,224,0.12);
}

/* --- NEWSLETTER SIGNUP --- */
.newsletter-signup {
  background: #EDE5FF;
  border-radius: 18px;
  box-shadow: 0 1px 16px 0 rgba(158,129,202,0.08);
  padding: 26px 24px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  color: #23285B;
}
.social-media-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8a7ba4;
  padding: 20px 12px;
}
.social-media-links img {
  border-radius: 50%;
  background: #fff7ee;
  width: 37px;
  height: 37px;
  transition: background 0.15s;
  margin-right: 0.12em;
}
.social-media-links img:hover {
  background: #FFD99B;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
  }
  .content-grid, .card-container, .feature-grid,
  .service-list, .featured-recipes-list, .usps-grid, .benefits-grid, .blog-category-grid, .recipe-categories-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .footer-navigation ul {
    flex-direction: column;
    gap: 9px;
    align-items: center;
  }
  .main-navigation > a img {
    height: 38px;
  }
  .featured-recipes-list article {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .main-navigation {
    padding: 9px 0;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 24px;
  }
  .text-image-section,
  .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2500;
  background: #F6F1FD;
  color: #23285B;
  box-shadow: 0 -4px 24px 0 rgba(158,129,202,0.07);
  padding: 22px 5vw 16px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  transition: transform 0.25s cubic-bezier(.75,0,.22,1), opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 11px;
  flex-shrink: 0;
}
.cookie-banner .button {
  padding: 8px 18px;
  font-size: 1rem;
  margin: 0 4px;
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2510;
  background: rgba(89,74,152,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF7EE;
  border-radius: 18px;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 7px 44px 0 rgba(158,129,202,0.12);
  max-width: 420px;
  width: 85vw;
  color: #23285B;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2520;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #F6F1FD;
  color: #23285B;
  border: none;
  font-size: 1.3rem;
  border-radius: 50%;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #FFD99B;
}
.cookie-modal h3 {
  font-size: 1.31rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #23285B;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFE3B7;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  color: #8A7BA4;
}
.cookie-modal .button {
  width: 44%;
  min-width: 120px;
  margin: 7px 3px 0 0;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 10px 12px 10px;
    max-width: 97vw;
    gap: 14px;
  }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero, .section, .testimonial-card, .cookie-modal, .cookie-banner {
  animation: fadeInUp 0.6s cubic-bezier(.77,0,.18,1);
}

/* --- UTILITY CLASSES --- */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* --- SCROLLBAR STYLES (optional) --- */
::-webkit-scrollbar {
  width: 12px;
  background: #F6F1FD;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #E4DAFA;
  border-radius: 10px;
}

/* --- Hide focus outlines except for keyboard users --- */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #D1C2E0;
  outline-offset: 5px;
}

/* --- FORM FIELDS (if applicable in future) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  border: 1px solid #D1C2E0;
  border-radius: 12px;
  padding: 10px 15px;
  background: #F7F6FF;
  color: #23285B;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #8A7BA4;
  box-shadow: 0 2px 10px 0 rgba(209,194,224,0.09);
}

/* --- TOOLTIPS (future use) --- */
.tooltip {
  position: relative;
}
.tooltip .tooltip-text {
  display: none;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #F6F1FD;
  color: #23285B;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.98rem;
  box-shadow: 0 2px 6px 0 rgba(209,194,224,0.15);
  z-index: 110;
}
.tooltip:hover .tooltip-text,
.tooltip:focus-within .tooltip-text {
  display: block;
}

/* --- Z-INDEXES --- */
header { z-index: 90; }
.mobile-menu { z-index: 1020; }
.cookie-banner { z-index: 2500; }
.cookie-modal-backdrop { z-index: 2510; }

/* --- END OF FILE --- */
