/* ===== CSS RESET & NORMALIZATION ===== */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  background-color: #FAF9F7;
  color: #273141;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #3B5771;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #856543;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* ===== ELEGANT CLASSIC TYPOGRAPHY ===== */
h1, .display-1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  color: #3B5771;
}
h2, .display-2 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  color: #3B5771;
}
h3 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #5E4934;
}
h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 500;
  color: #3B5771;
}
blockquote {
  border-left: 4px solid #D7A977;
  padding-left: 16px;
  margin: 20px 0;
  font-style: italic;
  color: #7D6B4A;
  background: #FFFDF9;
}
p, li, label, input, select, textarea {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
label {
  font-weight: 600;
  margin-right: 8px;
  color: #3B5771;
}
input, select, textarea {
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #B8B2A1;
  background: #FAF9F7;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #D7A977;
}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 4px 16px 0 rgba(59,87,113,0.06);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(59,87,113,0.13);
}
.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: center;
  gap: 20px;
  background: #FFF;
  color: #222327;
  box-shadow: 0 2px 12px 0 rgba(59,87,113,0.07);
  border-radius: 12px;
  padding: 20px;
  min-width: 240px;
  max-width: 360px;
  margin-bottom: 20px;
  border: 1px solid #F2E9DA;
  font-size: 1.05rem;
}
.testimonial-card .testimonial-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.testimonial-user {
  font-size: 1rem;
  font-style: italic;
  color: #3B5771;
  margin-top: 8px;
  text-align: right;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFCF6;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  max-width: 270px;
  box-shadow: 0 2px 8px 0 rgba(215,169,119,0.10);
  border-bottom: 3px solid #D7A977;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.feature-item h3 {
  margin-bottom: 0;
}
.feature-item:hover {
  box-shadow: 0 6px 32px 0 rgba(215,169,119,0.17);
  transform: translateY(-2px) scale(1.019);
}

/* ===== HERO ===== */
.hero {
  background: #EBF0F6;
  padding: 70px 0 40px 0;
  margin-bottom: 40px;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: #3B5771;
}
.hero p {
  font-size: 1.23rem;
  color: #5A5A5A;
  margin-bottom: 18px;
}

/* ===== HEADER ===== */
header {
  position: relative;
  background: #FFF;
  box-shadow: 0 2px 12px 0 rgba(59,87,113,0.039);
  z-index: 99;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 20px;
  max-width: 1150px;
  margin: 0 auto;
}
header img {
  height: 52px;
}
nav.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #3B5771;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.18s, color 0.2s;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  border-bottom: 2px solid #D7A977;
  color: #856543;
}

.cta.primary {
  background: #3B5771;
  color: #FFF;
  border-radius: 7px;
  padding: 12px 30px;
  font-size: 1.0rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(59,87,113,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #D7A977;
  color: #3B5771;
  box-shadow: 0 4px 16px 0 rgba(59,87,113,0.11);
  outline: none;
  transform: translateY(-1px) scale(1.03);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #3B5771;
  color: #FFF;
  border: none;
  border-radius: 7px;
  font-size: 2.0rem;
  padding: 4px 16px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(59,87,113,0.08);
  transition: background 0.18s, color 0.18s;
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D7A977;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FAF9F7;
  box-shadow: 0 0 40px 0 rgba(59,87,113,0.20);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,0,.18,1);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #3B5771;
  font-size: 2.5rem;
  position: absolute;
  top: 16px; right: 24px;
  z-index: 1203;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D7A977;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 100px 0 0 40px;
}
.mobile-menu nav.mobile-nav a {
  color: #3B5771;
  font-size: 1.3rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  padding: 6px 0;
  transition: color 0.2s;
}
.mobile-menu nav.mobile-nav a:hover,
.mobile-menu nav.mobile-nav a:focus {
  color: #D7A977;
  outline: none;
}

/* ===== RECIPE FILTERS & FORMS ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: flex-end;
  margin-bottom: 12px;
}
.filters label {
  margin-bottom: 2px;
}
.filters input[type="text"],
.filters select {
  min-width: 170px;
}

/* ====== CARD LAYOUT ====== */
.recipe-cards, .category-list, .tip-cards, .blog-post-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: flex-start;
}
.recipe-card, .category-item, .tip-card, .blog-post-card {
  background: #FFF;
  border-radius: 10px;
  padding: 25px 22px 18px 22px;
  min-width: 250px;
  max-width: 320px;
  color: #31323B;
  box-shadow: 0 2px 10px 0 rgba(59,87,113,0.05);
  border-bottom: 3px solid #D7A977;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.08rem;
  transition: box-shadow 0.19s, transform 0.14s;
}
.recipe-card:hover,
.category-item:hover,
.tip-card:hover,
.blog-post-card:hover {
  box-shadow: 0 8px 32px 0 rgba(59,87,113,0.13);
  transform: translateY(-1.5px) scale(1.015);
}
.read-more {
  color: #3B5771;
  font-weight: bold;
  margin-top: 6px;
  font-size: 1rem;
  align-self: flex-end;
  transition: color 0.2s;
  text-decoration: underline dashed #B8B2A1 1px;
}
.read-more:hover {
  color: #D7A977;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  background: #EDDFCA;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(215,169,119,0.10);
  margin-bottom: 40px;
  padding: 32px 22px 38px 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-section h2 {
  color: #3B5771;
  font-size: 2rem;
}
.cta-section p {
  color: #5E4934;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section .testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* ===== FOOTER ===== */
footer {
  background: #3B5771;
  color: #FFF;
  padding: 45px 0 0 0;
  font-size: 1rem;
  margin-top: 60px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 60px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px 20px 20px;
}
.footer-container img {
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FFF7EB;
  font-size: 1.03rem;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  text-decoration: none;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #D7A977;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.97rem;
  color: #FDEBD0;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact-item img {
  height: 18px;
  width: 18px;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: #FFF7EB;
  color: #3B5771;
  box-shadow: 0 -2px 22px 0 rgba(59,87,113,0.11);
  border-top: 2px solid #D7A977;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 24px 20px 20px 20px;
  gap: 28px;
  min-height: 90px;
  animation: cookieFadeIn 0.8s cubic-bezier(.75,0,.2,1);
}
@keyframes cookieFadeIn {
  0% { opacity: 0; transform: translateY(35px); }
  100% { opacity: 1; transform: none; }
}
.cookie-consent-banner .cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 1.07rem;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 17px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 10px 19px;
  border: 1.5px solid #D7A977;
  background: #FFF;
  color: #3B5771;
  cursor: pointer;
  margin-right: 0px;
  margin-bottom: 0;
  transition: background 0.17s, border-color 0.14s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 1px 6px 0 rgba(215,169,119,0.09);
}
.cookie-btn:focus {
  outline: 2px solid #D7A977;
}
.cookie-btn.accept {
  background: #D7A977;
  color: #FFF;
  border-color: #D7A977;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #3B5771;
  color: #FFF;
  border-color: #3B5771;
}
.cookie-btn.reject {
  background: #FFF;
  color: #3B5771;
  border-color: #B8B2A1;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F2E9DA;
  color: #856543;
  border-color: #D7A977;
}
.cookie-btn.settings {
  background: #FFF7EB;
  color: #3B5771;
  border-color: #D7A977;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EBF0F6;
  color: #3B5771;
}

/* ====== COOKIE PREFERENCES MODAL ====== */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2200;
  left: 0;
  top: 0;
  right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(59,87,113,0.19);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn .38s cubic-bezier(.82,0,.26,1);
}
@keyframes modalIn {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal {
  background: #FFFDF8;
  color: #3B5771;
  border-radius: 18px;
  box-shadow: 0 6px 36px 0 rgba(59,87,113,0.17);
  padding: 38px 34px 26px 34px;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 2210;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-size: 1.11rem;
  margin-bottom: 0;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #D7A977;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 21px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #3B5771;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1;
}
.cookie-modal-close:hover {
  color: #D7A977;
}

/* ===== SPECIAL ELEMENTS ===== */
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFDF8;
  border-radius: 8px;
  padding: 8px 18px;
  min-width: 220px;
  color: #3B5771;
  font-size: 1.13rem;
  border: 1px solid #F2E9DA;
}
.value-list li img {
  width: 24px;
  height: 24px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-details img {
  width: 21px;
  height: 21px;
}

.contact-info-text {
  font-size: 1.06rem;
  color: #44423D;
  margin-top: 14px;
}

.thank-you-section {
  text-align: center;
  margin-bottom: 20px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-section {
  max-width: 770px;
  margin: 0 auto;
  color: #3B5771;
}
.text-section h2 {
  color: #3B5771;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 18px;
  list-style: disc inside;
}
.text-section li {
  margin-bottom: 7px;
}

/* ====== RESPONSIVE DESIGN (MOBILE FIRST) ====== */
@media (max-width: 1400px) {
  .container, .footer-container, .header-container { max-width: 98vw; }
}
@media (max-width: 1024px) {
  .container, .footer-container, .header-container { max-width: 98vw; }
  .footer-container { gap: 28px 24px; }
  .card-container, .recipe-cards, .tip-cards, .blog-post-cards, .feature-grid { gap: 18px; }
}
@media (max-width: 850px) {
  .content-grid,
  .footer-container,
  .card-container,
  .recipe-cards,
  .tip-cards,
  .category-list,
  .blog-post-cards,
  .feature-grid,
  .testimonial-carousel {
    flex-direction: column;
    gap: 14px;
  }
  .footer-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    gap: 16px;
    padding: 8px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-container,
  .content-wrapper,
  .testimonial-carousel,
  .value-list {
    flex-direction: column;
    gap: 12px;
  }
  .section, .hero, .cta-section {
    padding: 24px 8px;
    margin-bottom: 34px;
  }
  .card, .feature-item, .recipe-card, .category-item, .tip-card, .blog-post-card { min-width: 90vw; max-width: 100vw; }
  .feature-item { align-items: flex-start; }
  .features-section .feature-grid { gap: 14px; }
  .testimonial-card { max-width: 99vw; min-width: 80vw; }
  .blog-post-card, .tip-card, .category-item, .recipe-card { font-size: 1rem; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .filters { flex-direction: column; gap: 12px; }
}
@media (max-width: 540px) {
  h1, .display-1 { font-size: 1.6rem; }
  h2, .display-2 { font-size: 1.2rem; }
  .hero { padding: 34px 0 18px 0; }
  .footer-container { padding: 0 9px 12px 9px; }
}

/* ===== UTILITIES ===== */
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* ===== FOCUS VISIBLE ===== */
a:focus-visible, .cta.primary:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #D7A977;
  outline-offset: 2px;
}

/* ====== END OF CSS ====== */
