/* === 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: #F4F4F2;
  color: #253239;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; border: none; }
ul, ol { list-style: inside disc; margin-left: 20px; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%;
  background: none; border: none; outline: none;
}

/* === BASE CONTAINERS & LAYOUT === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(37, 50, 57, 0.04);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #253239;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.subheadline {
  font-size: 1.15rem;
  color: #4D5C6A;
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
p, ul, ol, li, span, strong, em {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #253239;
  line-height: 1.6;
}
strong { font-weight: 600; }
em { font-style: italic; }

/* Typography scale for responsiveness */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
  p, ul, ol, li { font-size: 0.98rem; }
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(37,50,57,0.06);
  padding: 0;
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 14px 16px;
}
.logo img {
  height: 48px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #253239;
  opacity: 0.9;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.14s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7C873;
  color: #253239;
  opacity: 1;
}
.btn.primary {
  padding: 10px 26px;
  background: #253239;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px;
  font-weight: 700;
  outline: none;
  border: none;
  transition: background 0.17s, box-shadow 0.17s;
  box-shadow: 0 2px 10px rgba(37,50,57,0.08);
  cursor: pointer;
  letter-spacing: 0.04em;
}
.btn.primary:hover,
.btn.primary:focus {
  background: #F7C873;
  color: #253239;
}
.btn.secondary {
  padding: 10px 24px;
  background: #fff;
  color: #253239;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px;
  border: 2px solid #F7C873;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, border 0.2s;
}
.btn.secondary:hover,
.btn.secondary:focus {
  background: #F7C873;
  color: #253239;
}

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  background: #253239;
  border-radius: 8px;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  margin-left: 12px;
  transition: background 0.18s;
  z-index: 23;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F7C873;
  color: #253239;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,244,242,0.95);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,0,.36,1);
  z-index: 50;
  width: 100vw; height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 32px 0 0;
  font-size: 2.2rem;
  background: #253239;
  color: #fff;
  border-radius: 100%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(37,50,57,0.07);
  transition: background 0.18s, color 0.18s;
  z-index: 52;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F7C873;
  color: #253239;
}
.mobile-nav {
  width: 90vw;
  max-width: 380px;
  margin: 60px 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 34px 0 34px 32px;
  box-shadow: 0 2px 38px rgba(37,50,57,0.12);
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253239;
  font-size: 1.15rem;
  border-radius: 6px;
  padding: 10px 12px;
  transition: background 0.16s, color 0.15s;
  display: block;
  margin-right: 8px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7C873;
  color: #253239;
}

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  header .container { gap: 10px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .btn.primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 600px) {
  .mobile-nav {
    max-width: 90vw;
    margin: 48px 8px 0 0;
    padding: 28px 0 28px 16px;
  }
  .mobile-menu-close { margin: 16px 16px 0 0; font-size: 2rem; width: 40px; height: 40px; }
}

/* === HERO SECTIONS === */
.hero {
  background: #F4F4F2 url('../assets/hero-bg.jpg') no-repeat center/cover;
  border-radius: 18px;
  min-height: 244px;
  margin-bottom: 48px;
  display: flex; align-items: center;
  padding: 0 0 0 0;
}
.hero .container {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  gap: 14px;
  padding: 56px 0 56px 0;
  background: rgba(255,255,255,0.82);
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(37, 50, 57, 0.04);
  max-width: 630px;
}
@media (max-width: 700px) {
  .hero {
    padding: 0 0 0 0;
  }
  .hero .content-wrapper {
    padding: 30px 0 30px 0;
  }
}

/* === FLEX PATTERNS (Mandatory) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(37,50,57,0.06);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 360px;
  flex: 1 1 260px;
}
.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: #F4F4F2;
  border-radius: 18px;
  margin-bottom: 20px !important;
  box-shadow: 0 2px 10px rgba(37,50,57,0.07);
  flex-direction: column;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CUSTOM FLEX LAYOUTS FOR PAGE BLOCKS ==== */
.feature-grid, .region-grid, .value-grid, .recipe-teaser-grid, .quick-recipe-grid, .team-intros {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature, .teaser, .team-intros > div, .region-grid > div, .value-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(37,50,57,0.05);
  padding: 24px;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* === TEXT SECTIONS === */
.text-section {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(37,50,57,0.04);
}
.text-section ul {
  margin: 0 0 0 16px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: #F4F4F2;
  color: #253239;
  border-left: 6px solid #F7C873;
  font-size: 1.05rem;
  box-shadow: 0 2px 18px rgba(37,50,57,0.11);
  font-style: italic;
}
.tesitmonial-card p {
  margin-bottom: 12px;
}
.reviewer {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #253239;
  font-weight: 500;
}
.star-rating {
  color: #F7C873;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* === PAGINATION === */
.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  margin-bottom: 16px;
}
.pagination span,
.pagination a {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F4F4F2;
  color: #253239;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.12s;
}
.pagination a:hover, .pagination a:focus {
  background: #F7C873;
  color: #253239;
}

/* === FILTER-BAR STYLING === */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.filter-bar button {
  background: #F4F4F2;
  border: 1.5px solid #EEE;
  color: #253239;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 20px;
  transition: background 0.16s, border 0.13s, color 0.17s;
  cursor: pointer;
}
.filter-bar button:hover, .filter-bar button:focus {
  background: #F7C873;
  color: #253239;
  border-color: #F7C873;
}

/* === FAQ ACCORDION === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(37,50,57,0.04);
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

/* === MAP PLACEHOLDER === */
.map-placeholder {
  background: #EDEBE6;
  color: #837159;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  height: 180px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* === PRICE BADGE === */
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #253239;
  background: #F7C873;
  border-radius: 9px;
  padding: 7px 18px;
  margin-top: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* === FOOTER === */
footer {
  background: #253239;
  color: #F4F4F2;
  padding: 36px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  color: #F4F4F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4.5px 12px;
  border-radius: 8px;
  opacity: 0.92;
  transition: background 0.16s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #F7C873;
  color: #253239;
  opacity: 1;
}
.contact-info {
  text-align: center;
  font-size: 0.97rem;
  background-color: #F4F4F2;
  opacity: 0.9;
  margin-bottom: 0.8em;
}
footer small {
  font-size: 0.95rem;
  color: #F7C873;
  opacity: 1;
  margin-top: 10px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1050px) {
  .team-intros, .region-grid, .value-grid, .feature-grid, .recipe-teaser-grid, .quick-recipe-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature, .teaser, .team-intros > div, .region-grid > div, .value-grid > div {
    min-width: 170px;
    max-width: 100%;
    padding: 16px;
  }
}
@media (max-width: 850px) {
  .container { max-width: 98vw; }
}
@media (max-width: 700px) {
  .feature-grid, .region-grid, .value-grid, .recipe-teaser-grid, .quick-recipe-grid, .team-intros {
    flex-direction: column;
    gap: 17px;
  }
  .section {
    padding: 22px 6px;
    margin-bottom: 35px;
  }
}
@media (max-width: 600px) {
  .footer-nav { gap: 9px; }
  .footer-logo img { height: 30px; }
  .section { padding: 14px 3px; }
  .testimonial-card { padding: 14px; }
  .card { padding: 16px; }
  .feature, .teaser, .team-intros > div, .region-grid > div, .value-grid > div { padding: 12px; }
}

/* === TEXT-IMAGE SECTION RESPONSIVE === */
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #253239;
  color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 16px rgba(37,50,57,0.13);
  padding: 30px 16px 26px 16px;
  gap: 16px;
  transition: transform 0.34s cubic-bezier(.71,0,.29,1), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 4px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  padding: 8px 22px;
  transition: background 0.14s, color 0.15s;
}
.cookie-banner button.accept {
  background: #F7C873;
  color: #253239;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #fff;
  color: #253239;
}
.cookie-banner button.reject {
  background: #fff;
  color: #253239;
  border: 2px solid #F7C873;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #F7C873;
}
.cookie-banner button.settings {
  background: #253239;
  color: #fff;
  border: 2px solid #F7C873;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #F7C873;
  color: #253239;
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37,50,57,0.34);
  z-index: 111;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.19s;
}
.cookie-modal.show {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #253239;
  border-radius: 18px;
  padding: 38px 30px 28px 30px;
  max-width: 90vw;
  width: 370px;
  box-shadow: 0 10px 38px rgba(37,50,57,0.13);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 2rem;
  color: #253239;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #F7C873;
}
/*.cookie-categories block*/
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F7C873;
  width: 20px; height: 20px;
  cursor: pointer;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category.essential label {
  font-weight: 600;
  color: #253239;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  padding: 7px 20px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .modal-actions .accept {
  background: #F7C873;
  color: #253239;
}
.cookie-modal .modal-actions .accept:hover,
.cookie-modal .modal-actions .accept:focus {
  background: #253239;
  color: #fff;
}
.cookie-modal .modal-actions .reject {
  background: #fff;
  color: #253239;
  border: 2px solid #F7C873;
}
.cookie-modal .modal-actions .reject:hover,
.cookie-modal .modal-actions .reject:focus {
  background: #F7C873;
}

@media (max-width:500px) {
  .cookie-modal .cookie-modal-content { padding: 20px 6px 18px 6px; width: 95vw; }
}

/* === UTILITY & MICROINTERACTIONS === */
[tabindex]:focus, a:focus, button:focus {
  outline: 2.5px solid #F7C873;
  outline-offset: 2px;
  box-shadow: 0 0 2px #F7C873;
}
.card, .feature, .teaser, .team-intros > div, .region-grid > div, .value-grid > div, .testimonial-card, .faq-item {
  transition: box-shadow 0.19s, transform 0.17s, background 0.14s;
}
.card:hover, .feature:hover, .teaser:hover, .team-intros > div:hover, .region-grid > div:hover, .value-grid > div:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 6px 28px rgba(37,50,57,0.11);
  transform: translateY(-3px) scale(1.02);
}

.btn, .footer-nav a, .main-nav a, .filter-bar button, .card, .feature,
.region-grid > div, .value-grid > div, .teaser, .mobile-nav a {
  transition: background 0.17s, color 0.15s, border 0.18s, box-shadow 0.17s, transform 0.17s;
}

::-webkit-scrollbar { width: 9px; background: #F4F4F2; }
::-webkit-scrollbar-thumb { background: #EDEBE6; border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: #F7C873; }

/* === END STYLE === */

/* === MUST OVERRIDE Firefox focus ring for accessibility */
:focus-visible { outline: 2.5px solid #F7C873; outline-offset: 2px; }
