/* -------------------------
   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,
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: 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.55;
  background: #FAF7F2;
  color: #254053;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #254053;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9b8457;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.18;
  color: #254053;
  margin-bottom: 16px;
}
h1 { font-size: 2.375rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 16px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; }

p, ul, ol, blockquote, details, summary {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #254053;
  margin-bottom: 16px;
}

strong { font-weight: 700; }
small { font-size: 0.94rem; color: #687482; }
ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

blockquote {
  border-left: 4px solid #254053;
  padding-left: 16px;
  font-style: italic;
  color: #254053;
  background: #f0f2f7;
  margin: 32px 0;
}
details {
  background: #f0f2f7;
  border-radius: 7px;
  padding: 10px 16px 14px 16px;
}
summary {
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 8px;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* FLEX MANDATORY SPACING CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 18px rgba(37,64,83,0.08), 0 1.5px 4px rgba(155,132,87,0.04);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f6fafd;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(37,64,83,0.06);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.map-placeholder {
  background: #e4e9ef;
  color: #7d8897;
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  margin-top: 12px;
  margin-bottom: 20px;
  padding: 18px 10px;
  width: 100%;
}
.text-section {
  margin-bottom: 22px;
}

/* ---------------------------------
   HEADER / MAIN NAVIGATION
--------------------------------- */
header {
  background: #254053;
  color: #fff;
  padding: 0 0;
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.logo {
  height: 56px;
  display: flex;
  align-items: center;
  margin-right: 18px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 11px 6px;
  font-size: 1rem;
  border-radius: 3px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  background: #9b8457;
  color: #fffede;
}
.btn-primary {
  background: #9b8457;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 7px;
  font-size: 1.05rem;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 32px;
  box-shadow: 0 1.5px 6px rgba(37,64,83,0.10);
  transition: background 0.22s, color 0.16s, box-shadow 0.22s;
  display: inline-block;
  letter-spacing: 0.03em;
  text-shadow: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #b59f7b;
  color: #254053;
  box-shadow: 0 4px 18px rgba(37,64,83,0.14), 0 2.5px 9px rgba(155,132,87,0.06);
}
.mobile-menu-toggle {
  border: none;
  background: none;
  color: #fff;
  font-size: 2.0rem;
  padding: 8px 16px;
  border-radius: 7px;
  cursor: pointer;
  margin-left: 24px;
  display: none;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #9b8457;
  color: #fffede;
}

/* ----------------------------------
   MOBILE NAVIGATION MENU
---------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #254053;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.52,.02,.54,1.13);
  z-index: 9999;
  box-shadow: 5px 0 30px rgba(37,64,83,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #b59f7b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px 30px;
  width: 100vw;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  padding: 16px 0;
  border-bottom: 1px solid #37505d;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #b59f7b;
}

/* ------------------------------
   HERO SECTION
-------------------------------*/
.hero {
  background: linear-gradient(120deg, #f0f2f7 65%, #e9eef4 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 46px;
}
.hero .container  {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: #254053;
  font-size: 2.3rem;
  margin-bottom: 18px;
  font-family: 'Merriweather', Georgia, serif;
}
.hero p {
  font-size: 1.13rem;
  color: #254053;
  max-width: 650px;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero .btn-primary {
  margin-top: 9px;
  margin-left: 0;
}

/* ---------------------------------------
   FEATURE GRIDS & LIST PRESENTATIONS
---------------------------------------- */
.features .feature-grid,
.features .benefit-grid,
.features .highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
}
.feature-grid li, .benefit-grid li, .highlights-grid li {
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 2px 8px rgba(37,64,83,0.11);
  font-size: 1rem;
  color: #254053;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 8px;
  border: 1px solid #e0e4ea;
}
.feature-grid img {
  width: 30px;
  height: 30px;
  margin-bottom: 9px;
}

/* VALUE/ PHILOSOPHY CARDS */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 34px 0 24px 0;
  padding: 0;
  width: 100%;
}
.values-grid li {
  background: #f6fafd;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(37,64,83,0.08);
  padding: 20px 16px 18px 16px;
  flex: 1 1 230px;
  font-size: 1rem;
  color: #254053;
  margin-bottom: 20px;
  min-width: 215px;
}

.service-list, .benefits-list, .about-brand ul, .why-us ul, .service-overview ul, .contact-info ul, .directions-features ul{
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-list li, .benefits-list li, .about-brand ul li, .why-us ul li, .service-overview ul li, .contact-info ul li, .directions-features ul li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(37,64,83,0.07);
  padding: 16px 15px;
  font-size: 1rem;
  color: #254053;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #e5e8ee;
}
.service-list li span {
  color: #9b8457;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  margin-top: 4px;
  font-weight: 600;
}

/* ---------------------------------------
   TESTIMONIALS
---------------------------------------- */
.testimonials {
  width: 100%;
  background: #f0f6fb;
  border-radius: 14px;
  padding: 40px 0;
  margin-bottom: 60px;
}
.testimonials h2 {
  margin-bottom: 33px;
}
.testimonials .testimonial-card {
  color: #1e2937;
  background: #fff;
  box-shadow: 0 2.5px 12px rgba(37,64,83,0.14), 0 1.5px 4px rgba(155,132,87,0.04);
  border-radius: 12px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.testimonial-card p {
  font-size: 1.11rem;
  margin-bottom: 10px;
  color: #254053;
}
.testimonial-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  color: #9b8457;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ---------------------------------------
   FORMS, DETAILS, SUMMARY
---------------------------------------- */
details summary::marker, details summary::-webkit-details-marker {
  color: #9b8457;
}
details[open] {
  background: #f6fafd;
}

/* ------------------------------------
   FOOTER
------------------------------------ */
footer {
  background: #254053;
  color: #fff;
  padding: 36px 0 20px 0;
  width: 100%;
  margin-top: 60px;
}
.footer-menu {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #b59f7b;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.16s;
}
.footer-menu a:hover { color: #fffede; }
footer small { color: #bfccd6; font-size: 0.97rem; text-align: center; display: block; margin: 4px 0; }

/* -------------------------------------
   BUTTONS, FORMS, INTERACTIVES
------------------------------------- */
button, .btn-primary {
  transition: background 0.20s, color 0.20s, box-shadow 0.18s;
}
button:focus, .btn-primary:focus {
  outline: 2px solid #b59f7b;
  outline-offset: 1.5px;
}

/* ---------------------------------------
   COOKIE BANNER & COOKIE MODAL
---------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #f6fafd;
  color: #254053;
  border-top: 2px solid #b59f7b;
  box-shadow: 0 -2px 14px rgba(37,64,83,.13);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  gap: 20px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  /* Fade in animation */
  animation: cookiefadein 0.5s ease;
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  max-width: 550px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner__btn {
  appearance: none;
  border: none;
  background: #254053;
  color: #fff;
  border-radius: 5px;
  padding: 8px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  margin-left: 0;
  box-shadow: 0 1.5px 4px rgba(37,64,83,0.12);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
}
.cookie-banner__btn--primary {
  background: #9b8457;
  color: #fff;
}
.cookie-banner__btn--primary:hover { background: #b59f7b; color: #254053; }
.cookie-banner__btn--secondary {
  background: #f6fafd;
  color: #254053;
  border: 1px solid #b59f7b;
}
.cookie-banner__btn--secondary:hover { background: #e4e9ef; }

/* COOKIE PREFERENCE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37,64,83,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100009;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #fff;
  color: #254053;
  border-radius: 11px;
  box-shadow: 0 5px 32px rgba(37,64,83,0.2);
  max-width: 420px;
  width: 93vw;
  padding: 38px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: cookiemodalfadein 0.28s cubic-bezier(.38,.4,.45,1.08);
}
@keyframes cookiemodalfadein {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  font-family: 'Merriweather', Georgia, serif;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.cookie-category label {
  font-weight: 600;
  color: #254053;
  margin-left: 12px;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal__btn {
  padding: 7px 16px;
  border-radius: 5px;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #9b8457;
  color: #fff;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal__btn--secondary {
  background: #f0f2f7;
  color: #254053;
  border: 1px solid #b59f7b;
}
.cookie-modal__btn--secondary:hover { background: #faecd4; }
.cookie-modal__btn--primary:hover { background: #b59f7b; color: #254053; }

/* Custom toggle switch for cookies */
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 42px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background-color: #dce3eb;
  border-radius: 24px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .16s;
}
.cookie-toggle input:checked + .toggle-slider {
  background-color: #9b8457;
}
.toggle-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2.5px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .16s;
  box-shadow: 0 2px 5px rgba(37,64,83,0.08);
}
.cookie-toggle input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

/* --------------------------------
   SECTION-SPECIFIC STYLING
---------------------------------*/
.about-brand, .team-philosophy, .why-us, .services-overview, .service-description, .service-overview, .services, .events-list, .registration, .booking-contact, .signup-contact, .event-booking-contact, .contact-info, .directions-features, .confirmation, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(37,64,83,0.08);
  width: 100%;
}

/* List purification in legal/tight pages */
.legal ul {
  list-style: disc;
  margin-left: 19px !important;
  padding-left: 11px !important;
  margin-bottom: 19px;
}
.legal li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0 0 6px 0;
  margin-bottom: 0;
}


/* -------------------------------------
   RESPONSIVE DESIGN - Mobile First
------------------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 8px;
  }
  .hero {
    padding: 32px 0 27px 0;
  }
  .section {
    padding: 25px 6px;
  }
  .content-wrapper {
    padding: 0;
  }
  .feature-grid, .benefit-grid, .highlights-grid, .values-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .benefit-grid li, .highlights-grid li, .values-grid li {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .about-brand, .team-philosophy, .why-us, .services-overview, .service-description, .service-overview, .services, .events-list, .registration, .booking-contact, .signup-contact, .event-booking-contact, .contact-info, .directions-features, .confirmation, .legal {
    padding: 22px 6px;
    margin-bottom: 42px;
    border-radius: 8px;
  }
  .testimonials, .features {
    padding: 18px 0;
    margin-bottom: 45px;
    border-radius: 9px;
  }
  .testimonial-card {
    padding: 14px 10px;
    margin-bottom: 18px;
  }
  .footer-menu {
    gap: 8px;
    font-size: .98rem;
  }
  footer {
    padding: 19px 0 12px 0;
    margin-top: 30px;
    border-radius: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 8px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .cookie-banner__btn, .cookie-banner__btn--primary, .cookie-banner__btn--secondary {
    width: 100%;
    text-align: center;
    min-width: 134px;
  }
  .cookie-modal {
    padding: 28px 10px 16px 10px;
    max-width: 97vw;
  }
  .cookie-modal__actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}

@media (max-width: 500px) {
  html { font-size: 15px; }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.12rem; }
  .hero h1 { font-size: 1.32rem; }
}

/* -------------------------------------
   FOCUS STATES for Accessibility
------------------------------------- */
a:focus, button:focus, summary:focus {
  outline: 2px solid #b59f7b;
  outline-offset: 1.5px;
  z-index: 3;
}

/* -------------------------------------
   CUSTOM UTILITIES
------------------------------------- */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center   { display: flex; justify-content: center; align-items: center; }
.flex-column   { display: flex; flex-direction: column; }
.flex-row      { display: flex; flex-direction: row; }
.gap-20        { gap: 20px; }
.gap-24        { gap: 24px; }
.gap-32        { gap: 32px; }

/* Hide visually, but keep for a11y */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0);
}

/* For .text-image-section column on mobile */
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Prevent content overlapping on all sections/cards */
.section, .card, .testimonial-card, .feature-grid li, .container, .content-wrapper {
  min-width: 0;
}

/* Prevent image overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Demo: Hide map placeholders if not in use */
.map-placeholder:empty {
  display: none;
}

/* Transition for all interactive elements */
a, button, .btn-primary, .cookie-banner__btn, .cookie-modal__btn {
  transition: background 0.17s, color 0.15s, box-shadow 0.16s, border-color 0.17s;
}

/* Animation for fade-in of sections/cards on load */
.section, .card-container, .testimonial-card, .feature-grid li, .benefit-grid li, .card {
  animation: fadeinsoft 0.50s cubic-bezier(.52,.13,.42,1) both;
}
@keyframes fadeinsoft {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* Z-index for menus and banners */
header           { z-index: 100; }
.mobile-menu     { z-index: 9999; }
.cookie-banner   { z-index: 99999; }
.cookie-modal-overlay { z-index: 100009; }

/* Hide by default for JS-activated components */
.cookie-modal-overlay, .cookie-modal, .cookie-banner {
  display: none;
}

/* Show cookie when active - for JS toggle */
.cookie-banner.is-active {
  display: flex;
}
.cookie-modal-overlay.is-visible {
  display: flex;
}

/* No grid, no columns used anywhere! Only display:flex layouts. */