/* ===========================
   CSS RESET & NORMALIZE
   =========================== */
html, body, div, section, header, nav, main, footer, ul, li, h1, h2, h3, h4, h5, h6, p, a, img, span, strong, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #FDF6EB;
  color: #3A2315;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 8px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  padding-bottom: 8px;
  list-style: disc inside;
}
a {
  color: #3A2315;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E5B973;
  outline-offset: 2px;
}
a:hover {
  color: #E5B973;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', Georgia, serif;
  color: #3A2315;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; }
.subheadline {
  color: #8A6341;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 20px;
  font-weight: 400;
}
strong {
  font-weight: bold;
}

/* ===========================
   SPACING & CONTAINER PATTERNS
   =========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0; /* override inherited gap from flex containers */
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CARD FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(58,35,21,0.07), 0 1.5px 10px rgba(229,185,115,0.05);
  padding: 28px 24px;
  transition: box-shadow 0.25s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(58,35,21,0.14), 0 3px 16px rgba(229,185,115,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* FLEX GRIDS & ALIGNMENT */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid, .event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.event-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(58,35,21,0.03);
  padding: 22px 18px;
  min-width: 240px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(58,35,21,0.06);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 72px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 40px;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: #3A2315;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FDF6EB;
  color: #E5B973;
}
.cta.primary {
  background: #E5B973;
  color: #3A2315;
  font-family: 'PT Serif', serif;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 13px 28px;
  font-size: 1.15rem;
  box-shadow: 0 1px 6px rgba(58,35,21,.12);
  margin-left: 16px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FADBAB;
  color: #3A2315;
  box-shadow: 0 4px 18px rgba(229,185,115,0.12);
  transform: translateY(-1px) scale(1.04);
}

/* ===============
   MOBILE NAVIGATION
   =============== */
.mobile-menu-toggle {
  background: none;
  color: #3A2315;
  font-size: 2rem;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 1600;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FDF6EB;
  color: #E5B973;
}
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(58,35,21,0.94);
  z-index: 1800;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.3,.2,1);
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: none;
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #E5B973;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  z-index: 1810;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px 0 0 32px;
}
.mobile-nav a {
  color: #FDF6EB;
  font-size: 1.18rem;
  padding: 16px 0;
  font-family: 'PT Serif', serif;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(58,35,21,0.09);
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E5B973;
  color: #3A2315;
}

@media (max-width: 1050px) {
  header .container {flex-direction: column; gap:8px;}
  .main-nav {flex-wrap: wrap;}
}
@media (max-width: 900px) {
  .main-nav {gap: 10px;}
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ===========================
   HERO SECTIONS
   =========================== */
.hero, .hero-confirmation {
  background: #E5B973;
  background-blend-mode: lighten;
  border-radius: 0 0 48px 48px;
  padding: 60px 0 50px 0;
  box-shadow: 0 8px 48px rgba(58,35,21,0.08);
  margin-bottom: 60px;
}
.hero .content-wrapper, .hero-confirmation .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero h1, .hero-confirmation h1 {
  color: #3A2315;
  font-size: 2.8rem;
}
.hero .subheadline, .hero-confirmation .subheadline {
  color: #8A6341;
  font-size: 1.2rem;
  margin-bottom: 28px;
}
.hero .cta.primary, .hero-confirmation .cta {
  background: #3A2315;
  color: #E5B973;
}
.hero .cta.primary:hover, .hero-confirmation .cta:hover {
  background: #8A6341;
  color: #fff;
}

@media (max-width: 768px) {
  .hero, .hero-confirmation { padding: 36px 0 26px 0; border-radius: 0 0 32px 32px; }
  .hero h1, .hero-confirmation h1 { font-size: 2rem; }
}

/* ===========================
   FEATURES, SERVICES, EVENT GRID
   =========================== */
.features, .services, .about, .contact, .contact-infos, .contact-form {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 28px rgba(229,185,115,0.06);
}
.features .content-wrapper, .services .content-wrapper {
  gap: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FDF6EB;
  border-radius: 18px;
  box-shadow: 0 1px 5px rgba(58,35,21,0.06);
  padding: 20px 18px;
  min-width: 200px;
  flex: 1 1 240px;
}
.feature-item img {
  height: 38px; width: 38px;
  border-radius: 10px;
  background: #FFF6E4;
  box-shadow: 0 1.5px 8px #E5B97333;
}
.event-item:hover, .feature-item:hover {
  box-shadow: 0 6px 22px rgba(229,185,115,0.13),0 2px 12px rgba(58,35,21,0.06);
}
@media (max-width: 900px) {
  .feature-grid, .event-grid { flex-direction: column; }
  .feature-item, .event-item { min-width: unset; }
}

/* ===========================
   TESTIMONIAL CARDS
   =========================== */
.testimonials {
  background: #FDF6EB;
  border-radius: 24px;
  box-shadow: 0 1.5px 12px rgba(229,185,115,0.07);
  padding-bottom: 30px;
}
.testimonials h2 {
  text-align: left;
  color: #3A2315;
  margin-bottom: 22px;
}
.testimonials .content-wrapper {
  gap: 24px;
  flex-direction: column;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(58,35,21,0.06);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(229,185,115,0.11),0 4px 16px rgba(58,35,21,0.09);
}
.testimonial-card p {
  color: #3A2315;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 0;
  flex: 1;
}
.testimonial-card span {
  color: #E5B973;
  font-family: 'PT Serif', serif;
  font-size: 1rem;
  min-width: 160px;
  align-self: flex-end;
}
@media (max-width: 700px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; gap:10px; }
  .testimonial-card span {min-width:0;}
}

/* ===========================
   CONTACT & FOOTER
   =========================== */
.contact ul, .contact-infos ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 18px;
}
.contact ul li, .contact-infos ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 8px 0;
  font-size: 1rem;
}
.contact ul img, .contact-infos ul img {
  height: 22px; width: 22px; border-radius: 8px;
}
footer {
  background: #3A2315;
  color: #FDF6EB;
  padding: 36px 0 22px 0;
  border-radius: 44px 44px 0 0;
}
footer .container {
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #FDF6EB;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { background: #E5B973; color: #3A2315; }
.footer-contact {
  color: #FDF6EB;
  font-size: 0.98rem;
  opacity: 0.92;
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF8EB;
  border-top: 3px solid #E5B973;
  box-shadow: 0 -2px 14px rgba(58,35,21,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 24px;
  z-index: 3000;
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(.8,0,.2,1), opacity 0.25s;
}
.cookie-banner.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-left: 30px;
}
.cookie-banner button {
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: #E5B973;
  color: #3A2315;
  margin-right:0;
  box-shadow: 0 1px 7px #E5B97322;
  transition: background 0.18s, color 0.18s, transform 0.11s;
}
.cookie-banner button.accept-all {
  background: #E5B973;
  color: #3A2315;
}
.cookie-banner button.reject-all {
  background: #FAE1C6;
  color: #3A2315;
}
.cookie-banner button.settings {
  background: #3A2315;
  color: #FFF8EB;
}
.cookie-banner button:hover, .cookie-banner button:focus { background: #FADBAB; color: #3A2315; transform: translateY(-2px) scale(1.05); }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(58,35,21,0.63);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3100;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: #FFF8EB;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(229,185,115,0.17), 0 3px 12px rgba(58,35,21,0.06);
  padding: 38px 28px 32px 28px;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: cookieModalShow 0.35s cubic-bezier(.28,.5,.5,1) 1;
  position: relative;
}
@keyframes cookieModalShow {
  from { transform: scale(.86); opacity: 0; }
  to { transform:none; opacity: 1; }
}
.cookie-modal-content h2 { font-size: 1.35rem; margin-bottom: 8px; }
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal-content label {
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal-content .cookie-toggle {
  width: 36px; height: 20px;
  border-radius: 12px; background: #E5B973;
  margin-left: 0.7em;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid #e6ccaa;
}
.cookie-modal-content .cookie-toggle[data-enabled='true'] {
  background: #E5B973;
}
.cookie-modal-content .cookie-toggle[data-enabled='false'] {
  background: #FFD6B7;
  border-color: #FADBAB;
}
.cookie-modal-content .cookie-toggle .handle {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px; left: 1px;
  transition: left 0.22s cubic-bezier(.6,0,.4,1);
  box-shadow: 0 1.5px 3px rgba(58,35,21,0.10);
}
.cookie-modal-content .cookie-toggle[data-enabled='true'] .handle {left: 17px;}
.cookie-modal-content .cookie-toggle[data-enabled='false'] .handle {left: 1px;}
.cookie-modal-content .cookie-buttons {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: 16px;
}
.cookie-modal-content button {
  flex: 1 1 0;
  border-radius: 12px;
  border: none;
  padding: 10px 0;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: #E5B973;
  color: #3A2315;
  box-shadow: 0 1.5px 7px #E5B97322;
  transition: background 0.18s, color 0.15s, transform 0.10s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus { background: #FADBAB; color: #3A2315; transform: translateY(-2px) scale(1.05); }
.cookie-modal-content button.close-modal { background: #3A2315; color: #fff; max-width: 120px; }
.cookie-modal-content button.close-modal:hover { background: #E5B973; color: #3A2315; }

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (max-width: 1050px) {
  .container { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 850px) {
  .container { max-width: 98vw; }
  .section {padding: 30px 10px; }
  footer {border-radius: 24px 24px 0 0;}
}
@media (max-width: 768px) {
  .container { padding-left: 7px; padding-right: 7px; }
  .section { margin-bottom: 32px; padding: 18px 5vw; border-radius: 14px; }
  .feature-item, .event-item, .card {
    padding: 16px 10px;
    border-radius: 12px;
    min-width: 0;
  }
  .features, .services, .about, .contact, .contact-infos, .contact-form {
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 1px 10px rgba(229,185,115,0.08);
  }
  .footer-nav, .footer-contact { font-size: 0.97rem; }
  .cookie-banner { flex-direction: column; gap: 14px; padding: 20px 5px; align-items: stretch;}
  .cookie-banner .cookie-actions {margin-left:0;margin-top:10px;gap:7px;flex-wrap:wrap;}
  .cookie-modal-content{padding:24px 7vw;min-width: 0;max-width: calc(95vw - 24px);}
}
@media (max-width: 430px) {
  .hero, .hero-confirmation { padding-bottom: 12px; border-radius: 0 0 18px 18px; }
  h1 { font-size: 1.3rem; margin-bottom: 10px; }
  h2 { font-size: 1.02rem; margin-bottom:6px; }
  .cookie-modal-content { padding:12px 5vw; }
}
/* Responsive text-image flex sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===========================
   TRANSITIONS & MICROINTERACTIONS
   =========================== */
button, .cta, .card, .feature-item, .event-item, .testimonial-card, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.18s, background 0.2s, color 0.16s, transform 0.16s;
}

/* ===========================
   UTILITIES
   =========================== */
[hidden] { display: none!important; }

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  .section, .features, .about, .services, .testimonials, .contact, .contact-infos, .contact-form { box-shadow: none !important; background: #fff !important; }
  body { background: #fff !important; color: #222 !important; }
}
