/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3E50;
  background: #F4F8F7;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #2C3E50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A89E73;
  outline: none;
}

/* SCROLLBAR for MODERNITY */
::-webkit-scrollbar {
  width: 8px;
  background: #F4F8F7;
}
::-webkit-scrollbar-thumb {
  background: #A89E73;
  border-radius: 4px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3E50;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  gap: 20px;
}
p, ul, ol, blockquote {
  font-size: 1.08rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
blockquote {
  font-size: 1.2rem;
  font-weight: 700;
  padding-left: 16px;
  border-left: 4px solid #A89E73;
  color: #2C3E50;
  background: #F4F8F7;
  border-radius: 6px;
  margin-bottom: 10px;
}
li strong {
  font-weight: 700;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.04);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  min-height: 64px;
  padding: 8px 0;
}
header .logo {
  margin-right: 32px;
  font-size: 0;
}
header nav a {
  padding: 10px 0;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}
header nav .btn-primary {
  margin-left: auto;
}

/* Hide nav links on mobile for burger menu */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
}
/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2C3E50;
  cursor: pointer;
  z-index: 105;
  position: absolute;
  top: 18px;
  right: 24px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #A89E73;
  outline: none;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU */
.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: #2C3E50;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.77,0,.18,1);
  z-index: 110;
  padding: 0 0 0 0;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 20px 28px 0 0;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding: 32px 32px;
  margin-top: 12px;
}
.mobile-menu.open .mobile-nav {
  display: flex;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.19rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 13px 0 13px 8px;
  transition: background 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #A89E73;
  color: #2C3E50;
}

/* HERO SECTIONS */
.hero {
  background: #A89E73;
  color: #fff;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 56px 0;
  margin-bottom: 60px;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 6px 24px rgba(44, 62, 80, 0.11);
}
.hero .container {
  width: 100%;
}
.hero .content-wrapper {
  color: #fff;
}
.hero h1, .hero h2 {
  color: #fff;
}
.hero p {
  color: #fff;
}

/* BUTTONS */
.btn-primary {
  background: #2C3E50;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 16px rgba(44,62,80,0.09);
  cursor: pointer;
  display: inline-block;
  transition: background 0.18s, transform 0.18s, color 0.18s, box-shadow 0.23s;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A89E73;
  color: #2C3E50;
  box-shadow: 0 4px 24px #A89E73b3, 0 1.5px 4px rgba(44,62,80,0.07);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* SECTIONS, CONTAINERS, UTILITY */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* Utility class for sections with extra background color */
.bg-accent {
  background: #F4F8F7;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX PATTERNS from requirements */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(44,62,80,0.09);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 30px #A89E73c6, 0 3px 14px rgba(44,62,80,0.13);
  transform: translateY(-4px) scale(1.017);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.12);
  margin-bottom: 22px;
  min-width: 0;
  color: #2C3E50;
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card blockquote {
  border: none;
  background: none;
  color: #2C3E50;
  font-style: italic;
  margin-right: 12px;
}
.testimonial-card span {
  min-width: 150px;
  font-size: 1rem;
  color: #2C3E50;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRIDS and CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.08);
  padding: 32px 22px;
  flex: 1 1 320px;
  min-width: 256px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 28px #A89E73b4, 0 2px 10px rgba(44,62,80,0.08);
  transform: translateY(-3px) scale(1.01);
  z-index: 2;
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}
.recipe-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.13);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.recipe-card:hover, .recipe-card:focus-within {
  box-shadow: 0 7px 28px #A89E73b4, 0 2px 8px rgba(44,62,80,0.10);
  transform: translateY(-3px) scale(1.01);
  z-index: 2;
}

.blog-post-preview {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.08);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-post-preview h3 {
  margin-bottom: 2px;
}
.blog-post-preview a {
  color: #A89E73;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.blog-post-preview a:hover {
  color: #2C3E50;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #2C3E50;
  color: #fff;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px rgba(44,62,80,0.10);
  margin-top: 56px;
  padding: 40px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
  margin-top: 6px;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: #fff;
  font-weight: 700;
  letter-spacing: .03em;
  transition: color 0.17s;
  padding: 8px 2px;
}
footer nav a:hover,
footer nav a:focus {
  color: #A89E73;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  opacity: 0.91;
}
footer .contact-info img {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(1) brightness(.95);
}
footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5em;
  margin-top: 14px;
}
footer .footer-brand img {
  width: 52px;
  height: 52px;
  opacity: 0.97;
  margin-bottom: 5px;
}
footer .footer-brand span {
  font-size: .95rem;
  opacity: 0.7;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #2C3E50;
  box-shadow: 0 -2px 24px rgba(44,62,80,0.11);
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 28px 14px 24px 14px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  font-size: 1rem;
  animation: cookieBannerIn .75s cubic-bezier(.75,0,.25,1);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  padding: 10px 23px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  background: #A89E73;
  color: #fff;
  margin-top: 4px;
  transition: background 0.18s, box-shadow 0.19s, color 0.18s;
}
.cookie-banner button:hover, .cookie-modal button:hover {
  background: #2C3E50;
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #F4F8F7;
  color: #2C3E50;
  border: 2px solid #A89E73;
}
.cookie-banner .btn-settings:hover {
  background: #A89E73;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.51);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #2C3E50;
  border-radius: 19px;
  max-width: 460px;
  padding: 36px 32px 30px 32px;
  box-shadow: 0 6px 30px #2C3E5088;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalIn 0.26s cubic-bezier(.88,.01,.22,1);
}
@keyframes modalIn {
  0% { transform: scale(.70); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 12px;
  background: none;
  border: none;
  color: #2C3E50;
  font-size: 2rem;
  cursor: pointer;
  font-family: inherit;
}
.cookie-modal-close:hover {
  color: #A89E73;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  width: 26px;
  height: 26px;
  accent-color: #A89E73;
}
.cookie-category label {
  font-weight: 700;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category[data-essential] label {
  opacity: .7;
}
.cookie-category[data-essential] input[type="checkbox"] {
  pointer-events: none;
  accent-color: #2C3E50;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1260px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 780px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
  .feature-grid > div, .card {
    padding: 22px 16px;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .section, section {
    padding: 28px 0 28px 0;
    margin-bottom: 28px;
  }
  .content-wrapper, .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid > div, .card {
    min-width: 0;
  }
  .footer {
    padding: 24px 0 0 0;
  }
  .footer-brand {
    margin-top: 8px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
  .blog-post-preview, .recipe-card, .feature-grid > div {
    padding: 16px 10px;
  }
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav {
    padding: 16px 16px;
  }
  .mobile-menu-close {
    margin: 15px 14px 0 0;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.25rem;
  }
  .btn-primary {
    padding: 10px 18px;
    font-size: 1rem;
  }
  .cookie-banner {
    padding: 16px 6px 13px 6px;
  }
}

/* ACCESSIBILITY */
a:focus-visible,
button:focus-visible {
  outline: 2.5px solid #A89E73;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS */
.card:not(:active), .feature-grid > div:not(:active), .recipe-card:not(:active) {
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:active, .feature-grid > div:active, .recipe-card:active {
  transform: scale(.99);
}
.btn-primary:active { transform: scale(.97); }

/* GEOMETRIC BRAND SHAPES (decorative only) */
.hero:before {
  content: '';
  display: block;
  position: absolute;
  top: -32px;
  right: -24px;
  width: 80px; height: 80px;
  background: #fff;
  opacity: .09;
  border-radius: 32px 45px 80px 18px;
  z-index: 1;
}
.hero:after {
  content: '';
  display: block;
  position: absolute;
  left: -32px;
  bottom: -36px;
  width: 60px; height: 60px;
  background: #2C3E50;
  opacity: 0.04;
  border-radius: 24px 80px 36px 12px;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero:before, .hero:after {
    display: none;
  }
}

/* ICON STYLES */
img[alt*='icon'], img[alt*='mail'], img[alt*='phone'], img[alt*='address'], img[alt*='clock'] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 26px;
  height: 26px;
}

/* CUSTOM CHECKBOX FOR COOKIES */
input[type="checkbox"] {
  border-radius: 5px;
  border: 2px solid #A89E73;
}
input[type="checkbox"]:focus {
  outline: 2px solid #A89E73;
}

/* Hide content overflow on mobile menu and modal interactions */
body.mobile-menu-open, body.cookie-modal-open {
  overflow: hidden;
}
