/* ===================== RESET & BASE STYLES ===================== */
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: #F2E9CE;
  color: #2d241f;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #245939;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 #F1DEB7, 0 1px 2px #8DAA91;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 600;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #F2E9CE;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.12rem;
  font-weight: 500;
}
p, ul, ol {
  font-size: 1rem;
  color: #314126;
  margin-bottom: 14px;
  line-height: 1.7;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
a {
  color: #306945;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #be8a2b;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
blockquote {
  border-left: 4px solid #B5882D;
  background: #FDF6E2;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #5f4e2f;
  padding: 16px 22px;
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-style: italic;
  margin-top: 10px;
}
strong {
  font-weight: 700;
  color: #245939;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 9px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

/* ===================== HEADER & NAVIGATION ===================== */
header {
  background: #FDF6E2 url('../assets/pattern-retro-bg.svg') repeat top left;
  border-bottom: 4px solid #245939;
  box-shadow: 0 4px 18px -12px #88888855;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  gap: 20px;
}
header img {
  display: inline-block;
  width: 148px;
  height: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #245939;
  background: none;
  text-decoration: none;
  padding: 5px 13px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #B5882D;
  transition: width .2s ease;
  margin-top: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff6e0;
  background: #245939;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #B5882D;
  color: #fff;
  font-size: 1.12rem;
  padding: 10px 28px;
  border-radius: 52px;
  border: none;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 12px -4px #b5882d66;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  cursor: pointer;
  display: inline-block;
  margin-left: 20px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #be8a2b;
  color: #f0e3c1;
  transform: translateY(-2px) scale(1.035);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: #B5882D;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 10px;
  padding: 4px 16px 2px 16px;
  margin-left: 16px;
  cursor: pointer;
  z-index: 33;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #245939;
  color: #fff6e0;
}
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #f2e9ceee;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.5,.1,.5,1);
  box-shadow: 8px 0 32px #88888899;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #245939;
  font-size: 2.6rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 14px 10px 10px;
  margin: 12px 0 0 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.1s;
  z-index: 10000;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B5882D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 38px 23px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  color: #245939;
  background: none;
  text-decoration: none;
  border-radius: 13px;
  padding: 12px 0;
  transition: background .18s, color .17s;
  min-width: 120px;
  font-weight: 600;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  background: #245939;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ========== HERO SECTION ========== */
.hero {
  background: #8DAA91;
  background-image: url('../assets/pattern-vintage.svg');
  background-repeat: repeat;
  color: #fff;
  position: relative;
  border-radius: 0 0 45px 45px;
  box-shadow: 0 8px 24px -8px #a6946f33;
  margin-bottom: 64px;
  min-height: 350px;
}
.hero .container {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper h1,
.hero .content-wrapper p {
  color: #fff;
  text-shadow: 1px 1px 0 #B5882D, 0 1px 6px #24593955;
}
.hero .cta-btn {
  margin-top: 22px;
  background: #fff;
  color: #245939;
  border: 2.5px solid #B5882D;
  box-shadow: 0 6px 18px -6px #24593933;
}
.hero .cta-btn:hover,
.hero .cta-btn:focus {
  background: #B5882D;
  color: #fff;
}

/* ========== CARD GRIDS, FEATURE-LISTS, FLEX CONTAINERS ========== */
.feature-grid, .article-teasers, .event-list, .service-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-grid > div, .article-teasers > article, .event-list > div, .service-list > div, .faq-list > div {
  background: #fffaf3;
  border: 2px solid #8DAA91;
  border-radius: 17px;
  padding: 26px 22px 22px 22px;
  box-shadow: 0 3px 14px -6px #b5882d33;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid img, .event-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: #F2E9CE;
  border: 1.5px solid #B5882D30;
  box-shadow: 0 2px 5px #7771;
}
.service-list > div h3 span {
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  float: right;
  color: #8DAA91;
  background: #f9ecc9;
  border-radius: 6px;
  margin-left: 10px;
  padding: 0px 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.article-teasers > article h3 {
  color: #B5882D;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.article-teasers > article {
  border-left: 3px solid #245939;
  background: #FDF6E2;
}
.event-list > div h3 {
  color: #245939;
}

@media (max-width: 900px) {
  .feature-grid > div,
  .article-teasers > article,
  .service-list > div,
  .faq-list > div,
  .event-list > div {
    min-width: 90%;
    flex: 1 1 90%;
  }
  .feature-grid, .article-teasers, .event-list, .service-list, .faq-list {
    gap: 18px;
  }
}
@media (max-width: 720px) {
  .feature-grid, .article-teasers, .event-list, .service-list, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
}
/* ========== SECTION & CARD SPACING ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 17px;
  box-shadow: 0 3px 10px -6px #b5882d22;
  overflow: hidden;
  background: #fff;
  border: 2px solid #8DAA91;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffbe9;
  border: 2px solid #8DAA91;
  border-radius: 18px;
  box-shadow: 0 4px 14px -2px #B5882D1A;
  padding: 20px;
  margin-bottom: 22px;
  margin-right: auto;
  margin-left: auto;
  max-width: 620px;
  width: 100%;
}
.testimonial-card blockquote,
.testimonial-card span {
  color: #245939;
  font-size: 1.08rem;
}
.testimonial-card span strong {
  color: #B5882D;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== BUTTONS AND INTERACTIVES ========== */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  outline: none;
}
button {
  background: #B5882D;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px #b5882d15;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}
button:hover,
button:focus {
  background: #be8a2b;
  color: #fffde9;
  box-shadow: 0 4px 16px #b5882d20;
}
input[type="search"] {
  font-size: 1rem;
  border: 1.6px solid #8DAA91;
  padding: 8px 12px;
  border-radius: 7px 0 0 7px;
  outline: none;
  color: #245939;
  background: #fff;
  transition: border-color 0.15s;
}
input[type="search"]:focus {
  border-color: #B5882D;
}
.search-bar {
  display: flex;
  align-items: center;
  margin-top: 18px;
  gap: 0;
}
.search-bar button {
  border-radius: 0 7px 7px 0;
  margin-left: -1px;
  font-size: 1rem;
  background: #245939;
  padding: 8px 20px;
}
.search-bar button:hover, .search-bar button:focus {
  background: #B5882D;
}

/* ========== FOOTER ========== */
footer {
  background: #FDF6E2;
  border-top: 5px solid #245939;
  padding: 0;
  padding-top: 20px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 33px 10px 20px 10px;
  flex-wrap: wrap;
}
footer img {
  width: 70px;
  height: auto;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 170px;
}
.footer-nav a {
  color: #245939;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-size: 1.06rem;
  padding: 2px 8px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B5882D;
  color: #fff;
}
.footer-info {
  font-size: 0.96rem;
  color: #316948;
  font-style: italic;
  line-height: 1.65;
}
.footer-info a {
  color: #B5882D;
}
@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    text-align: center;
  }
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 600px) {
  section {
    padding: 26px 3.5vw;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .footer-nav, .footer-info {
    font-size: 0.96rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 9px 20px;
  }
  header img {
    width: 120px;
  }
  .hero {
    min-height: 180px;
    border-radius: 0 0 22px 22px;
    margin-bottom: 34px;
  }
  .mobile-menu-toggle {
    font-size: 1.6rem;
    padding: 2px 10px 2px 10px;
    margin-left: 10px;
  }
}

/* ========== VINTAGE RETRO EXTRAS ========== */
body {
  background: #F2E9CE url('../assets/pattern-retro-bg.svg') repeat;
}
section {
  background: #fff7e1ac;
  border-radius: 19px;
  border: 2.5px solid #B5882D19;
  box-shadow: 0 1.5px 10px #ded7be33;
}
.container {
  border-radius: 17px;
}
.hero {
  background-blend-mode: multiply;
}
/* Subtle dot pattern for retro vibe */
section, .card, .testimonial-card, .feature-grid > div {
  position: relative;
  overflow: hidden;
}
section::before, .card::before, .testimonial-card::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px;
  width: 80px; height: 80px;
  background: url('../assets/pattern-dot-vintage.svg') repeat;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}
/* Paper grain overlay, only for non-hero main sections */
section:not(.hero)::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100%; height: 100%;
  background: url('../assets/grain-vintage.png') repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.card, .testimonial-card, .feature-grid > div {
  background-blend-mode: lighten;
}

/* ===================== COOKIE CONSENT BANNER ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  padding: 28px 18px 16px 18px;
  background: #fffbe9;
  border-top: 3px solid #B5882D;
  box-shadow: 0 -4px 18px #24593922;
  z-index: 25000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .32s, transform .32s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner p {
  font-size: 1rem;
  color: #245939;
  margin-bottom: 0;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 22px;
}
.cookie-banner .accept {
  background: #245939;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #B5882D;
  color: #fffbe9;
}
.cookie-banner .reject {
  background: #fff;
  color: #B5882D;
  border: 2px solid #B5882D;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F2E9CE;
  color: #245939;
}
.cookie-banner .settings {
  background: #8DAA91;
  color: #fff;
  border: none;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #245939;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 25500;
  background: rgba(44,43,40,.73);
  align-items: center;
  justify-content: center;
  animation: fadein-cookie-bg .33s;
  transition: opacity .26s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadein-cookie-bg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffbe9;
  border-radius: 24px;
  box-shadow: 0 7px 32px #24593955;
  padding: 34px 24px 28px 24px;
  width: 94vw;
  max-width: 425px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  animation: modalIn 0.33s cubic-bezier(0.23,1,0.32,1);
}
@keyframes modalIn {
  from { transform: translateY(80px) scale(.97); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-modal-content h2 {
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-modal-content label {
  font-size: 0.99rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #245939;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #B5882D;
  margin-right: 4px;
}
.cookie-modal-content .essential {
  font-weight: bold;
  color: #245939;
}
.cookie-modal-content .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-content button {
  border-radius: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #245939;
  cursor: pointer;
  z-index: 10;
  padding: 5px 10px 5px 0;
  border-radius: 9px;
  transition: background 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #FDF6E2;
  color: #B5882D;
}

@media (max-width: 550px) {
  .cookie-modal-content {
    padding: 21px 6vw 16px 6vw;
    min-width: 0;
    width: 99vw;
  }
}

/* =========== MICRO-INTERACTIONS & ANIMATIONS =========== */
.card, .testimonial-card, .feature-grid > div, .feature-item, .service-list > div, .event-list > div, .article-teasers > article {
  transition: box-shadow .19s, transform .18s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover, .service-list > div:hover, .event-list > div:hover, .article-teasers > article:hover {
  box-shadow: 0 8px 26px -4px #b5882d44, 0 2px 5px #24593918;
  transform: translateY(-2px) scale(1.018);
  z-index: 2;
}
.cta-btn:active, button:active {
  transform: scale(.98);
}

/* =========== SPECIAL LAYOUTS & SPACING =========== */
article:not(:last-child) {
  margin-bottom: 17px;
}

/* Utility classes */
.d-none { display: none !important; }

/* - END OF STYLE CSS - */
