/* === CSS RESET & NORMALIZATION === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html, body {
  height: 100%;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #F8F5F0 0%, #fff 100%);
  color: #470C23;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* === GLOBAL LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  flex: 1 0 auto;
  margin-bottom: 60px !important;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #470C23;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-top: 0;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
}
p, ul, ol, li, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #470C23;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
  color: #470C23;
}
em {
  font-style: italic;
}
a {
  color: #470C23;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D3A363;
  text-decoration: none;
  outline: none;
}
.secondary-links a {
  color: #470C23;
  font-weight: 600;
  margin: 0 6px;
  text-decoration: underline;
  transition: color 0.2s;
}
.secondary-links a:hover {
  color: #D3A363;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: linear-gradient(120deg, #F8F5F0 0%, #D3A363 100%);
  box-shadow: 0 4px 20px 0 rgba(71,12,35,0.06);
  position: relative;
  z-index: 12;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
}
.main-nav > a img {
  height: 40px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.main-nav li a {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #470C23;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.main-nav li a:hover, .main-nav li a:focus {
  background: #470C23;
  color: #fff;
}
.cta-btn {
  display: inline-block;
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #D3A363 0%, #470C23 100%);
  box-shadow: 0 6px 16px -2px rgba(71,12,35,0.13);
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin-left: 16px;
  text-decoration: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.22s cubic-bezier(.4,.6,.65,1), color 0.22s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #470C23 0%, #D3A363 100%);
  color: #fff!important;
  outline: none;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #470C23;
  background: none;
  border: none;
  margin-left: 12px;
  cursor: pointer;
  z-index: 40;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D3A363;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #D3A363 15%, #F8F5F0 95%);
  transform: translateX(-100vw);
  transition: transform 0.40s cubic-bezier(.65,.05,.36,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 32px;
  box-shadow: 0 0 60px 10px rgba(71,12,35,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 32px 10px 0;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #470C23;
  cursor: pointer;
  font-weight: normal;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #fff3;
  outline: 2px solid #D3A363;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 32px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: #470C23;
  text-decoration: none;
  padding: 12px 2px;
  border-bottom: 1px solid #470C23;
  transition: color 0.18s;
  width: 100%;
  border-radius: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #D3A363;
  background: #470C2308;
  outline: none;
}

/* HIDING MAIN NAV ON MOBILE */
@media (max-width: 1023px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === SECTIONS & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
/* Feature grid for index, events, etc. */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(71,12,35,0.05);
  border-radius: 16px;
  padding: 28px 20px 20px 24px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 12px;
}
.feature-item:hover {
  box-shadow: 0 8px 36px -4px #D3A36333, 0 2px 8px 0 #470C2308;
  transform: translateY(-2px) scale(1.03);
}
.feature-item h3 {
  font-size: 1.18rem;
  color: #470C23;
  margin-bottom: 5px;
  font-family: 'Merriweather', serif;
}
.feature-item p {
  color: #470C23;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
}
.text-section ul,
.text-section ol {
  margin-bottom: 0;
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 12px 0 #470C2333;
  border-radius: 14px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 700px;
  flex: 1 1 280px;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-style: italic;
  color: #470C23;
}
.testimonial-card span {
  font-size: 1rem;
  color: #D3A363;
  font-family: 'Merriweather', serif;
  margin-top: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px -4px #D3A36344, 0 2px 8px 0 #470C2308;
  transform: scale(1.015);
}

/* === CARDS (GENERIC, CONTENT-GRID) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 20px -4px #470C2325;
  padding: 26px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px -6px #D3A36333,
              0 2px 8px 0 #470C2308;
  transform: translateY(-4px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* === FAQ & DIRECTIONS === */
.faq-summary {
  background: #fff9f3;
  border-radius: 10px;
  box-shadow: 0 3px 12px #470C2312;
  padding: 22px 19px;
  margin-bottom: 18px;
}
.faq-summary h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: #470C23;
}
.directions-link {
  margin-top: 8px;
}
.directions-link a {
  color: #fff;
  background: linear-gradient(90deg, #D3A363 0%, #470C23 100%);
  border-radius: 28px;
  padding: 11px 25px;
  text-decoration: none;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
.directions-link a:hover, .directions-link a:focus {
  background: linear-gradient(90deg, #470C23 0%, #D3A363 100%);
  color: #fff;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: linear-gradient(92deg, #470C23 0%, #D3A363 100%);
  color: #fff;
  padding: 48px 0 15px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav img {
  height: 36px;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
}
.footer-nav li a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.95;
  transition: color 0.19s, opacity 0.15s;
  text-decoration: none;
}
.footer-nav li a:hover, .footer-nav li a:focus {
  color: #D3A363;
  opacity: 1;
  outline: none;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97rem;
  color: #fff;
  opacity: 0.94;
}
.footer-contact p {
  margin-bottom: 4px;
  color: #fff;
}

/* === COOKIE CONSENT BANNER & POPUP === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #D3A363 0%, #F8F5F0 100%);
  color: #470C23;
  padding: 20px 16px 16px 16px;
  box-shadow: 0 -2px 12px #470C2322;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  animation: cookie-banner-slidein 0.6s cubic-bezier(.45,.8,.32,1);
}
@keyframes cookie-banner-slidein {
  from { transform: translateY(64px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
}
.cookie-consent-banner button {
  appearance: none;
  border: none;
  border-radius: 24px;
  padding: 10px 26px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #470C230b;
  transition: background 0.17s, color 0.17s;
}
.cookie-consent-banner .accept {
  background: #470C23;
  color: #fff;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #D3A363;
  color: #fff;
}
.cookie-consent-banner .reject {
  background: #fff;
  color: #470C23;
  border: 1px solid #D3A363;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #F8F5F0;
  color: #470C23;
}
.cookie-consent-banner .settings {
  background: #D3A363;
  color: #470C23;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #470C23;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 3100;
  left: 0;
  top:0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(71,12,35,0.22);
  animation: fade-in 0.22s;
}
@keyframes fade-in {
  from { opacity: 0 }
  to   { opacity: 1 }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 60px #470C231a;
  max-width: 420px;
  width: 92vw;
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  color: #470C23;
}
.cookie-modal-content h3 {
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.cookie-category-row label {
  font-size: 1.03rem;
  color: #470C23;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 20px;
  background: #D3A363;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  border: none;
}
.cookie-toggle[aria-checked="true"], .cookie-toggle.active {
  background: #470C23;
}
.cookie-toggle-thumb {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 1px;
  top: 1px;
  box-shadow: 0 1px 2px #a89a8f33;
  transition: left 0.2s cubic-bezier(.65,.05,.36,1);
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-thumb,
.cookie-toggle.active .cookie-toggle-thumb {
  left: 21px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-actions button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 0;
  border: none;
  background: #D3A363;
  color: #470C23;
  box-shadow: 0 2px 8px #470C230b;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-actions .close {
  background: #fff;
  border: 1px solid #D3A363;
}
.cookie-modal-actions .close:hover {
  background: #F8F5F0;
}
.cookie-modal-actions .save {
  background: #470C23;
  color: #fff;
}
.cookie-modal-actions .save:hover {
  background: #D3A363;
  color: #470C23;
}

/* --- END COOKIE --- */

/* === MEDIA QUERIES (RESPONSIVE FLEX/STACK) === */
@media (max-width: 1150px) {
  .feature-item { max-width: 100%; }
}

@media (max-width: 900px) {
  .container { max-width: 98vw; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  section {
    padding: 30px 6px;
    margin-bottom: 44px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    max-width: 99vw;
  }
  .testimonial-card {
    width: 100%;
    min-width: unset;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
}

/* === UTILITY === */
.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* ================
   MODERN MICRO-INTERACTIONS
================= */
.cta-btn,
.directions-link a,
.cookie-consent-banner button,
.cookie-modal-actions button {
  transition: background 0.18s, color 0.18s, transform 0.17s;
}
.cta-btn:active,
.directions-link a:active,
.cookie-consent-banner button:active,
.cookie-modal-actions button:active {
  transform: scale(0.96);
}

/* Loader, Modal overlays, focus/hover highlight, animation helpers */
[tabindex]:focus, button:focus, .cta-btn:focus, a:focus, input:focus, select:focus {
  outline: 2px solid #D3A363;
  outline-offset: 2px;
}

/* ================
   PRINT STYLES
================= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  main, section { padding: 0 !important; }
}
