/* -------------------------------------------------------
   CSS RESET & FONT IMPORTS
------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

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;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure, 
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #472a1c;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*,*:before,*:after {
  box-sizing: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #472a1c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #e2b474;
  text-decoration: underline;
}
ul,ol {
  padding-left: 1.6em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}

/* -------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------- */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h4, .h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #472a1c;
}
blockquote {
  background: #f8f6f2;
  border-left: 4px solid #e2b474;
  padding: 16px 20px;
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: #472a1c;
}
address {
  font-style: normal;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* -------------------------------------------------------
   LAYOUT BASICS & SPACING
------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero {
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 16px;
}

/* -------------------------------------------------------
   MAIN NAVIGATION & HEADER
------------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f0ebe1;
  position: relative;
  z-index: 60;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  margin: 0 24px 0 24px;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul li a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #472a1c;
  padding: 8px 4px;
  transition: color 0.2s;
  border-radius: 6px;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #e2b474;
  background: #f8f6f2;
}
.btn-primary {
  background: #472a1c;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 0.7em 1.7em;
  border-radius: 30px;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(71,42,28,0.04);
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.1s;
  display: inline-block;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #e2b474;
  color: #472a1c;
  box-shadow: 0 8px 32px rgba(71,42,28,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger icon – mobile only */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #472a1c;
  cursor: pointer;
  z-index: 150;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #e2b474;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.97);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.38s cubic-bezier(.48,.08,.55,1.03);
  transform: translateX(100%);
  box-shadow: -8px 0 48px rgba(71,42,28,0.08);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #472a1c;
  align-self: flex-end;
  margin: 18px 20px 0 0;
  cursor: pointer;
  z-index: 220;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #e2b474;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 32px 0 32px;
}
.mobile-nav a {
  font-size: 1.125rem;
  padding: 14px;
  color: #472a1c;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f8f6f2;
  color: #e2b474;
}

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 980px) {
  .main-nav ul,
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------------------------------
   FLEXBOX UTILITY PATTERNS
------------------------------------------------------- */
.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(71,42,28,0.06);
  padding: 26px 20px;
  flex: 1 1 300px;
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 36px rgba(71,42,28,0.10);
  max-width: 520px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .card-container {
    flex-direction: column;
    gap: 24px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* -------------------------------------------------------
   FEATURES & SPECIAL LAYOUTS
------------------------------------------------------- */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  margin: 0 0 16px 0;
}
.feature_grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8f6f2;
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  min-width: 210px;
  flex: 1 1 210px;
  box-shadow: 0 2px 12px rgba(71,42,28,0.03);
  transition: box-shadow 0.18s;
}
.feature_grid li:hover {
  box-shadow: 0 10px 28px rgba(71,42,28,0.11);
}
.feature_grid img {
  width: 34px; height: 34px;
}

.recipe_teasers, .kitchen_tip_teasers, .recipe_grid, .tips_list, .service_cards, .country_list, .team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.recipe_teasers > div, .recipe_grid > div, .country-card, .tip-card, .service-card, .team-profile {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(71,42,28,0.06);
  padding: 22px 18px;
  flex: 1 1 300px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.recipe_teasers > div:hover, .recipe_grid > div:hover, .country-card:hover, .tip-card:hover, .service-card:hover, .team-profile:hover {
  box-shadow: 0 10px 36px rgba(71,42,28,0.13);
  transform: translateY(-4px) scale(1.01);
}
.tags {
  color: #e2b474;
  display: block;
  margin-top: 8px;
  font-size: 0.98em;
}

@media (max-width: 860px) {
  .feature_grid, .recipe_teasers,.kitchen_tip_teasers,.recipe_grid,.tips_list,.service_cards,.country_list,.team {
    flex-direction: column;
    gap: 16px;
  }
}

/* Testimonial Star Ratings */
.star-rating {
  font-size: 1.1em;
  color: #e2b474;
  letter-spacing: 2px;
  line-height: 1;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Team, Country, Service Cards */
.team-profile h3 { margin-bottom: 7px; }
.country-card h3 { margin-bottom: 7px; }
.country-card a {
  color: #472a1c;
  background: none;
  border: 1px solid #e2b474;
  padding: 7px 18px;
  border-radius: 24px;
  font-size: 0.98rem;
  font-family: inherit;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
}
.country-card a:hover { background: #e2b474; color: #472a1c; }

.service-card span {
  font-size: 0.97em;
  color: #e2b474;
  font-weight: 400;
}

/* Legal text */
.legal-text {
  background: #f8f6f2;
  padding: 20px 18px;
  border-radius: 10px;
  color: #472a1c;
  font-size: 1rem;
}

/* -------------------------------------------------------
   FAQ / STEPS / QUICK FACTS
------------------------------------------------------- */
.faq-list, .step_by_step_hints, .quick_facts, .timeline, .local-engagement {
  margin-bottom: 20px;
}
.faq-item {
  background: #f8f6f2;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 20px 18px;
  box-shadow: 0 1px 10px rgba(71,42,28,0.04);
}
.timeline li {
  margin-bottom: 12px;
}

/* -------------------------------------------------------
   CONTACT BLOCK
------------------------------------------------------- */
.contact-block {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.text-section {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-block {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  background: #f8f6f2;
  border-radius: 8px;
  color: #ac9876;
  text-align: center;
  padding: 30px 10px;
  font-style: italic;
  font-size: 0.98rem;
}
@media (max-width: 680px) {
  .contact-block {
    flex-direction: column;
    gap: 16px;
  }
  .map-block {
    min-width: 100%;
  }
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
footer {
  background: #fffaf4;
  border-top: 1px solid #f0ebe1;
  padding: 36px 0 20px 0;
  margin-top: 58px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  justify-content: center;
}
.footer-nav a {
  font-size: 1rem;
  color: #ac9876;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #472a1c;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-size: 0.96rem;
  color: #472a1c;
}

/* -------------------------------------------------------
   THANK YOU PAGE
------------------------------------------------------- */
.thank-you-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: #f8f6f2;
  border-radius: 10px;
  padding: 36px 24px;
  box-shadow: 0 2px 16px rgba(71,42,28,0.09);
}

/* -------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #f8f6f2;
  color: #472a1c;
  box-shadow: 0 -2px 26px rgba(71,42,28,0.11);
  padding: 22px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 80px;
  font-size: 1.03rem;
  transition: bottom 0.28s cubic-bezier(.42,.01,.41,1.07);
}
.cookie-banner.hidden {
  bottom: -120px;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1;
  min-width: 190px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  padding: 8px 18px;
  margin-left: 2px;
  background: #e2b474;
  color: #472a1c;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 1px 6px rgba(71,42,28,0.03);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #472a1c;
  color: #fff;
}
.cookie-btn.outline {
  background: #fff;
  border: 1px solid #e2b474;
  color: #472a1c;
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  background: #e2b474;
  color: #472a1c;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 11000;
  background: rgba(32, 23, 9, 0.19);
  justify-content: center;
  align-items: center;
  transition: opacity 0.30s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(71,42,28,0.12);
  min-width: 320px;
  max-width: 420px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #472a1c;
  position: relative;
  font-size: 1rem;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-family: 'Playfair Display', serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 1em;
  cursor: pointer;
}
.cookie-modal label[data-disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 13px;
  background: none;
  color: #472a1c;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-close:hover,.cookie-modal .modal-close:focus {
  color: #e2b474;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: 0;
    padding: 20px 9px;
  }
}

/* -------------------------------------------------------
   GENERAL UTILITY CLASSES
------------------------------------------------------- */
.d-none { display: none!important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.space-between { justify-content: space-between; }
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-16 { margin-top: 16px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mt-32 { margin-top: 32px!important; }
.mb-32 { margin-bottom: 32px!important; }

/* -------------------------------------------------------
   ANIMATIONS & TRANSITIONS
------------------------------------------------------- */
.fade-in {
  animation: fadeIn 0.69s cubic-bezier(.49,.04,.44,1.05);
}
@keyframes fadeIn {
  to { opacity: 1; }
  from { opacity: 0; }
}

/* -------------------------------------------------------
   RESPONSIVE: LAYOUT & TYPOGRAPHY
------------------------------------------------------- */
@media (max-width: 620px) {
  html { font-size: 98.5%; }
  .section,
  section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .container, .content-wrapper {
    padding: 0 2px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.01rem; }
  .hero { padding-top: 12px; }
}

@media (max-width: 420px) {
  html { font-size: 97%; }
  .section,
  section {
    padding: 12px 0;
    margin-bottom: 22px;
  }
  .btn-primary, .cookie-btn { font-size: 0.96rem; }
}

/* Ensure minimal card/section spacing */
.card, .testimonial-card, .service-card, .country-card, .tip-card, .team-profile {
  margin-bottom: 20px;
}
.section > *,
.content-wrapper > * {
  margin-bottom: 20px;
}

/* Prevent element overlap globally */
.section, .card-container, .content-grid, .feature_grid, .team, .country_list, .service_cards {
  gap: 24px;
}

/* -------------------------------------------------------
   FOCUS OUTLINES & ACCESSIBILITY
------------------------------------------------------- */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid #e2b474 !important;
  outline-offset: 3px;
}

/* -------------------------------------------------------
   END OF STYLE
------------------------------------------------------- */
