/* ===================
 CSS RESET & NORMALIZATION (mobile-first, geometric_structured)
====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAF3E4;
  color: #27452C;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: #FAF3E4;
  color: #27452C;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #27452C;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:focus {
  outline: 2px solid #D6A25E;
  outline-offset: 2px;
}

/* ===================
 TYPOGRAPHY
====================== */
h1 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  color: #27452C;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #27452C;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: #27452C;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  color: #27452C;
}
h4 { font-size: 1rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.9rem; }
p,
ul,
li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #273933;
}
ul, ol {
  margin-left: 2rem;
  padding-left: 0;
}
ul {
  list-style: square outside none;
  margin-bottom: 20px;
}
li:not(:last-child) {
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
}
.text-section {
  margin-bottom: 32px;
}

/* =============
 GEOMETRIC & STRUCTURED CONTAINERS
=============== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(39, 69, 44, 0.07);
  display: flex;
  flex-direction: column;
}

/* =============
 HEADER & NAVIGATION
=============== */
header {
  position: relative;
  background: #fff;
  padding: 0 20px;
  border-bottom: 3px solid #D6A25E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  z-index: 20;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 52px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:active {
  background: #D6A25E;
  color: #27452C;
}

/* MOBILE BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  background: #27452C;
  color: #fff;
  border: none;
  border-radius: 8px;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 40;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #D6A25E;
  color: #27452C;
  outline: none;
}

/* Hide main nav/burger on desktop/mobile */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 992px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FAF3E4;
  box-shadow: 0 6px 32px rgba(39,69,44,0.13);
  transform: translateX(100%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(.61,.06,.34,1.01);
  padding: 0 28px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #27452C;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 32px 0 16px 0;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.2s;
  border-radius: 6px;
}
.mobile-menu-close:hover {
  color: #D6A25E;
  background: #27452C11;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 14px 0;
  color: #27452C;
  border-radius: 0.5em;
  transition: background 0.18s, color 0.18s;
  text-transform: uppercase;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #D6A25E;
  color: #fff;
}

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}


/* =============
 CTA BUTTONS
=============== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D6A25E;
  color: #27452C;
  border-radius: 12px;
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border: none;
  box-shadow: 0 2px 12px rgba(214,162,94,0.08);
  margin-top: 18px;
  margin-bottom: 18px;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
  text-transform: uppercase;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #27452C;
  color: #FAF3E4;
  box-shadow: 0 6px 25px rgba(39,69,44,0.13);
}

/* =============
 FEATURE GRID, CARDS, LAYOUT
=============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #FAF3E4;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(39,69,44,0.05);
  padding: 28px 18px;
  min-width: 210px;
  max-width: 280px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2.5px solid #D6A25E;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
}

.recipe-list {
  margin-top: 18px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 0;
}
.recipe-list li {
  list-style-type: none;
  background: #fff;
  border: 2px solid #D6A25E;
  border-radius: 10px 30px 10px 30px;
  padding: 14px 22px;
  font-family: 'Bitter', Georgia, serif;
  font-size: 1.17rem;
  color: #27452C;
  box-shadow: 0 1px 10px rgba(39,69,44,0.06);
  transition: box-shadow 0.18s;
}
.recipe-list li a {
  color: #27452C;
  text-decoration: underline;
  transition: color 0.17s;
  font-weight: 700;
}
.recipe-list li:hover,
.recipe-list li:focus-within {
  box-shadow: 0 4px 14px rgba(214,162,94,0.10);
}
.recipe-list li a:hover,
.recipe-list li a:focus {
  color: #D6A25E;
}

.quick-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 1.05rem;
  color: #27452C;
  font-family: 'Bitter', Georgia, serif;
  margin-bottom: 10px;
}
.quick-links a {
  color: #27452C;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid #D6A25E;
  padding: 4px 0;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
}
.quick-links a:hover,
.quick-links a:focus {
  background: #D6A25E;
  color: #27452C;
}

.signup-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}
.signup-benefits li {
  list-style-type: square;
  font-size: 1rem;
  font-weight: 600;
  color: #27452C;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 20px rgba(39,69,44,0.06);
  border: 2px solid #D6A25E;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 18px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.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-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/***** Testimonial Card *****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 15px 32px 15px 32px;
  border-left: 5px solid #D6A25E;
  box-shadow: 0 2px 18px rgba(39,69,44,0.12);
  margin-bottom: 24px;
  margin-top: 6px;
  max-width: 650px;
  color: #27452C;
}
.testimonial-card p {
  color: #27452C;
  font-size: 1.08rem;
  line-height: 1.6;
}
.testimonial-card b {
  align-self: flex-end;
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  color: #D6A25E;
  font-size: 1rem;
  margin-left: 14px;
}

/***** Spacing for All Sections/Cards ******/
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child),
.feature-grid > div:not(:last-child),
.card-container > .card:not(:last-child),
.content-grid > *:not(:last-child) {
  margin-right: 0;
}

/***** Feature Item *****/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  border: 2px solid #D6A25E;
  padding: 20px 16px;
}

/* =============
 FOOTER
=============== */
footer {
  background: #27452C;
  color: #FAF3E4;
  padding: 36px 0 16px 0;
  border-top: 3px solid #D6A25E;
  margin-top: 45px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #FAF3E4;
  font-family: 'Bitter', Georgia, serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  border: 1.8px solid transparent;
  border-radius: 7px;
  padding: 7px 16px;
  transition: background 0.16s, border 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #D6A25E;
  color: #27452C;
  border-color: #D6A25E;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.97rem;
  color: #FAF3E4;
}
.contact-info img {
  width: 18px;
  height: 18px;
}

/* =============
 COOKIE CONSENT BANNER & MODAL
=============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #fff;
  color: #27452C;
  border-top: 4px solid #D6A25E;
  box-shadow: 0 -2px 18px rgba(39,69,44,0.19);
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: slideInBanner 0.5s;
}
@keyframes slideInBanner {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #D6A25E;
  color: #27452C;
  font-family: 'Bitter', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  margin-right: 3px;
}
.cookie-btn.secondary {
  background: #fff;
  color: #D6A25E;
  border: 2px solid #D6A25E;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #27452C;
  color: #FAF3E4;
  border-color: #27452C;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: #D6A25E;
  color: #27452C;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,69,44, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #27452C;
  border-radius: 22px;
  box-shadow: 0 6px 26px rgba(39,69,44,0.16);
  min-width: 330px;
  max-width: 98vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalFadeIn 0.34s cubic-bezier(.45,0,.58,1);
}
@keyframes modalFadeIn {
  from { opacity:0; transform: scale(0.93); }
  to { opacity:1; transform: scale(1); }
}
.cookie-modal h3 {
  font-family:'Bitter',Georgia,serif;
  font-size: 1.3rem;
  color: #D6A25E;
  margin-bottom: 12px;
}
.cookie-category {
  margin-bottom: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #D6A25E;
  border-radius: 12px;
  position: relative;
  outline: none;
  margin-right: 10px;
  vertical-align: middle;
  transition: background .18s;
}
.cookie-toggle:checked {
  background: #27452C;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
}
.cookie-toggle:checked::before {
  transform: translateX(20px);
}
.cookie-category-label {
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #27452C;
  font-weight: 600;
  vertical-align: middle;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* =============
 MISCELLANEOUS / UTILITY
=============== */
.text-section {
  margin-bottom: 32px;
}
.text-section ul {
  margin-top: 6px;
  margin-bottom: 12px;
}

/**** RESPONSIVE: MOBILE FIRST ****/
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 8px;
    border-radius: 14px;
  }
  .container {
    max-width: 100%;
    padding: 0 6px;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div,
  .card {
    max-width: 100%;
    min-width: 0;
    padding: 18px 10px;
    border-radius: 10px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
  }
  .contact-info {
    gap: 8px;
    flex-direction: column;
    font-size: 0.97rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    border-radius: 10px 22px 10px 22px;
  }
  .main-nav { display: none; }
}

/* Responsive for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/**** Medium screens ****/
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}

/**** UTILITIES ****/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }

/* =============
 FORM STYLES (for contact pages, newsletter)
=============== */
input,
textarea,
select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid #D6A25E;
  border-radius: 7px;
  outline: none;
  margin-bottom: 18px;
  background: #fff;
  transition: border-color 0.16s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #27452C;
}
label {
  font-family: 'Bitter', Georgia, serif;
  color: #27452C;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

/* =============
 MICRO-INTERACTIONS, ANIMATIONS
=============== */
.cta-btn,
.cookie-btn,
.main-nav a,
.footer-nav a,
.quick-links a,
.mobile-nav a {
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, border-color 0.17s;
}
li,
.card,
.feature-grid > div,
.recipe-list li {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover,
.feature-grid > div:hover,
.recipe-list li:hover,
.card:focus-within,
.feature-grid > div:focus-within {
  box-shadow: 0 4px 22px rgba(214,162,94,0.13);
  transform: translateY(-4px) scale(1.014);
}

/* =============
 GEOMETRIC DECORATIVE ELEMENTS (Basic Demo)
=============== */
.card::after,
.feature-grid > div::after {
  content: '';
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 11px 0 22px 0;
  background: #D6A25E11;
  position: absolute;
  top: 11px;
  right: 18px;
  z-index: 1;
  pointer-events: none;
}

/**** Hide ::after for small screens ****/
@media (max-width: 768px) {
  .card::after,
  .feature-grid > div::after {
    display: none;
  }
}

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