/* --- CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #2D160E;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}

/* --- Brand Fonts --- */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFFFFF;
  color: #231205;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #7A341F;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; color: #B05312; }
h4, h5 { font-size: 1rem; margin-bottom: 8px; }

p, li, span, strong {
  font-size: 1rem;
  color: #3b251a;
  line-height: 1.6;
}
strong { font-weight: 700; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

/* --- Layout Flex Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF9F4;
  border-radius: 22px;
  box-shadow: 0 4px 16px 0 rgba(220,105,21,0.12);
  transition: transform 0.15s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-2deg);
  box-shadow: 0 10px 36px 2px rgba(232,131,34,0.15);
}
.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;
  background: #FFF9EF;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(122,52,31,0.10);
  margin-bottom: 24px;
  min-width: 200px;
  max-width: 420px;
  flex: 1;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card p {
  color: #312111;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #7A341F;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px 2px rgba(232,131,34,0.14);
  transform: rotate(1.5deg) scale(1.03);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 16px;
  background: #FDF7F0;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(232,131,34,0.05);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 240px;
  transition: background 0.12s, box-shadow 0.15s;
}
.feature-item:hover {
  background: #FBE2C6;
  box-shadow: 0 4px 24px 3px rgba(122,52,31,0.09);
}
.feature-item img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px #E88322cc);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* --- HERO SECTION --- */
.hero {
  background: #EDE7DD;
  padding: 50px 20px 40px 20px;
  margin-bottom: 60px;
  overflow: hidden;
  position: relative;
}
.hero h1 {
  font-size: 2.8rem;
  color: #7A341F;
  margin-bottom: 12px;
  line-height: 1.13;
  letter-spacing: 0.5px;
}
.hero p {
  color: #57321e;
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.hero .cta-button {
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: 50px;
}

/* --- Call to Action BUTTONS --- */
.cta-button {
  background: #E88322;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 1rem;
  transition: background 0.18s, box-shadow 0.20s, transform 0.18s;
  box-shadow: 0 2px 6px 1px rgba(224,133,34,0.13);
  border: none;
  cursor: pointer;
  position: relative;
  margin-left: 10px;
  display: inline-block;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(220,105,21,0.10);
}
.cta-button:hover, .cta-button:focus {
  background: #7A341F;
  color: #fffbbc;
  box-shadow: 0 8px 28px 2px rgba(122,52,31,0.18);
  transform: translateY(-2px) scale(1.04);
}

/* --- MAIN HEADER NAV --- */
header {
  background: #FFF8F3;
  box-shadow: 0 4px 8px rgba(122,52,31,0.045);
  padding-top: 0;
  margin-bottom: 0;
  z-index: 999;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 14px 6vw 14px 6vw;
  min-height: 60px;
}
header a img {
  max-height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: 36px;
  align-items: center;
}
.main-nav a {
  color: #7A341F;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 15px;
  border-radius: 14px;
  transition: background 0.11s, color 0.16s, transform 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E88322;
  color: #fff;
  transform: rotate(-3deg) scale(1.06);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #E88322;
  color: white;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s, transform 0.16s, box-shadow 0.12s;
  box-shadow: 0 2px 6px 1px rgba(232,131,34,0.13);
  z-index: 1202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B05312;
  transform: scale(1.10);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF8F3;
  z-index: 1201;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.82,0,0.35,1);
  box-shadow: 0 6px 32px rgba(122,52,31,0.16);
  padding: 22px 44px 32px 30px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #E88322;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.18s, transform 0.10s;
  z-index: 1220;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B05312;
  transform: scale(1.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.20rem;
  background: #FDF7F0;
  border-radius: 17px;
  padding: 11px 20px;
  color: #7A341F;
  font-weight: 700;
  margin: 0 0 3px 0;
  transition: background 0.17s, color 0.14s, box-shadow 0.20s, transform 0.10s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E88322;
  color: #FFF;
  transform: scale(1.09);
  box-shadow: 2px 2px 10px #E88322cc;
}

/* --- HERO & CTA SECTION --- */
.cta {
  background: #FFF7E8;
  text-align: center;
  padding: 46px 18px 46px 18px;
  border-radius: 36px;
  margin-bottom: 60px;
}
.cta h2 {
  color: #E88322;
  font-size: 2.1rem;
  margin-bottom: 13px;
}
.cta p {
  color: #5c2e0a;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

/* --- CATEGORY FILTERS - Recipes Page --- */
.category-filters {
  margin-bottom: 40px;
  padding: 38px 20px;
  background: #EDE7DD;
  border-radius: 25px;
}
.category-buttons, .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.category-buttons button, .filters button {
  background: #fff;
  color: #7A341F;
  border: 2px solid #E88322;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 22px;
  font-weight: 600;
  transition: background 0.14s, color 0.15s, transform 0.13s;
  cursor: pointer;
  margin-bottom: 10px;
}
.category-buttons button:hover, .category-buttons button:focus, .filters button:hover, .filters button:focus {
  background: #E88322;
  color: #fff;
  transform: scale(1.08) rotate(-2deg);
}

.filters span {
  font-weight: 700;
  color: #7A341F;
  font-size: 1rem;
  margin-right: 8px;
  align-self: center;
}

/* --- FOOTER --- */
footer {
  background: #EDE7DD;
  padding: 28px 0 10px 0;
  box-shadow: 0 -2px 18px #B0531210;
  border-top: 2px solid #FFF7E8;
  margin-top: 40px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #B05312;
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B05312;
  color: #fff;
}
.branding {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #7A341F;
  margin-top: 4px;
}
.branding img {
  height: 40px;
  width: auto;
}

/* --- LEGAL & TEXT SECTIONS --- */
.legal, .text-section {
  margin-bottom: 46px;
  padding: 30px 10px;
  background: #FFF9F4;
  border-radius: 20px;
  box-shadow: 0 2px 8px 2px rgba(122,52,31,0.04);
}
.legal h1, .text-section h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #B05312;
  font-size: 2.1rem;
  margin-bottom: 14px;
}
.legal h2, .text-section h2 {
  color: #7A341F;
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 900;
}
.legal ul, .text-section ul {
  margin-bottom: 14px;
  margin-left: 16px;
  list-style-type: disc;
}
.legal ul li, .text-section ul li {
  font-size: 1rem;
  color: #594231;
  line-height: 1.55;
  margin-bottom: 8px;
}

/* --- THANK YOU PAGE --- */
.thank-you {
  background: #FFF9EF;
  border-radius: 36px;
  padding: 60px 25px;
  text-align: center;
  margin: 40px 0;
}
.thank-you h1 {
  font-size: 2.2rem;
  color: #E88322;
  margin-bottom: 16px;
}
.thank-you p {
  color: #7A341F;
  font-size: 1.1rem;
}

/* --- CONTACT PAGE --- */
.contact-details {
  background: #FFF8F3;
  border-radius: 18px;
  box-shadow: 0 2px 8px 1px #E8832233;
  padding: 28px 18px 20px 18px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.contact-details ul {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: #7A341F;
}
.contact-details li img {
  width: 24px;
  height: 24px;
  margin-right: 3px;
}
.contact-details a {
  color: #B05312;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.14s;
}
.contact-details a:hover, .contact-details a:focus {
  color: #E88322;
}

/* --- Responsive Flex & Spacing --- */
@media (max-width: 1080px) {
  .container {
    max-width: 94vw;
  }
  .feature-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 11px 2vw 11px 2vw;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .cta h2 {
    font-size: 1.3rem;
  }
  .section {
    padding: 30px 8px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .container {
    gap: 12px;
    padding: 0 8px;
  }
}
@media (max-width: 540px) {
  .feature-item {
    min-width: 80%;
    max-width: 98vw;
  }
  .testimonial-card {
    padding: 10px;
    font-size: 0.98rem;
    min-width: unset;
    max-width: 96vw;
  }
  .branding span {
    font-size: 0.85rem;
  }
}

/* --- Features Section --- */
.features {
  margin-bottom: 60px;
  padding: 28px 12px;
}
.features h2 {
  color: #B05312;
  font-size: 1.7rem;
  margin-bottom: 24px;
}
.features ul {
  list-style-type: disc;
  margin-left: 22px;
}
.features ul li {
  margin-bottom: 12px;
  color: #753a17;
}

/* --- TESTIMONIAL SLIDER --- */
.testimonials {
  background: #FDF7F0;
  border-radius: 26px;
  box-shadow: 0 2px 16px #E8832215;
  margin-bottom: 60px;
  padding: 40px 18px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #FFF4E2;
  color: #7A341F;
  padding: 24px 16px 16px 16px;
  box-shadow: 0 -4px 32px #E8832225;
  border-radius: 22px 22px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  z-index: 1300;
  justify-content: space-between;
  animation: cookieBannerAppear 0.6s cubic-bezier(.62,-0.16,.63,1.26);
}
@keyframes cookieBannerAppear {
  0% { transform: translateY(35px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner-message {
  flex: 1;
  font-size: 1.03rem;
  color: #7A341F;
  font-weight: 500;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
}
.cookie-btn {
  padding: 10px 21px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, transform 0.14s;
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: #E88322;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #7A341F;
  border: 2px solid #E88322;
}
.cookie-btn.settings {
  background: #B05312;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #7A341F;
  color: #fffbbc;
  transform: scale(1.06);
}
@media(max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 18px 6px 10px 6px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: stretch;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,17,8,0.33);
  z-index: 1301;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.18s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #FFF9F4;
  width: 98vw;
  max-width: 420px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 12px 68px #E8832225;
  padding: 32px 20px 18px 22px;
  margin-bottom: 0;
  position: relative;
  animation: slideCookieModalUp 0.46s cubic-bezier(.55,-0.10,.65,1.3);
}
@keyframes slideCookieModalUp {
  0% { transform: translateY(80px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #B05312;
  margin-bottom: 14px;
}
.cookie-preference-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 0 12px 0;
  border-bottom: 1px solid #E8832220;
}
.cookie-category-name {
  font-weight: 700;
  color: #7A341F;
  font-size: 1.05rem;
  width: 150px;
}
.cookie-category-toggle {
  margin-left: auto;
  font-size: 1.1rem;
}
.cookie-modal-close {
  background: #E88322;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background 0.16s, transform 0.12s;
  z-index: 3;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #7A341F;
  transform: scale(1.10);
}

/* Implement playful/dynamic micro animations */
.cta-button, .cookie-btn, .main-nav a, .mobile-nav a, .feature-item, .testimonial-card {
  transition: background 0.15s, box-shadow 0.15s, color 0.15s, transform 0.16s;
}
.feature-item {
  position: relative;
  overflow: hidden;
}
.feature-item:after {
  content: '';
  display: block;
  position: absolute;
  top: -48px; left: -48px; right: -48px; bottom: -48px;
  background: none;
  z-index: 0;
}

/* Fun, playful accent shadows on hover for cards */
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 3px #E8832225, 0 3px 12px #B0531215;
  filter: brightness(1.02);
}

/* Utility: Hide visually */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); border: 0;
}

/* --- Spacing Utilities --- */
.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mt-6 { margin-top: 24px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mt-8 { margin-top: 32px !important; }
.mb-8 { margin-bottom: 32px !important; }

/* --- Playful Font --- */
body, .feature-item, .category-buttons button, .filters button, .cta-button, .main-nav a, .mobile-nav a, .footer-nav a {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, .cta-button {
  font-family: 'Playfair Display', serif;
}

/* --- Scrollbar styling for playful look --- */
::-webkit-scrollbar {
  width: 12px;
  background: #FDF7F0;
}
::-webkit-scrollbar-thumb {
  background: #E88322;
  border-radius: 9px;
}

/* --- Decorative Dots (for extra playfulness, can be toggled in JS if needed) --- */
.decor-dot {
  width: 10px; height: 10px;
  background: #E88322;
  border-radius: 50%;
  display: inline-block;
  margin: 0 6px;
  box-shadow: 0 0 10px #FDF7F0, 0 2px 9px #B053128a;
}

/* --- END --- */
