/* ------------------------------------------------------------
   CSS RESET & NORMALIZATION
-------------------------------------------------------------*/
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;
}

html { height: 100%; }
body { min-height: 100%; }

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.55;
  background: #F5F5F2;
  color: #2A2A2A;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #25496B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AAB800;
  text-decoration: underline;
}

ul, ol { list-style-position: inside; margin-left: 0; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

/* ------------------------------------------------------------
   BRAND COLORS & FONTS
-------------------------------------------------------------*/
:root {
  --primary: #25496B;
  --secondary: #AAB800;
  --accent: #F5F5F2;
  --serif: 'Georgia', 'Times New Roman', Times, serif;
  --sans: 'Open Sans', Arial, sans-serif;
  --display: 'Montserrat', 'Georgia', serif;
  --text: #2A2A2A;
  --muted: #76819B;
  --bg: #F5F5F2;
  --white: #fff;
  --shadow: 0 4px 16px 0 rgba(37, 73, 107, 0.08);
  --radius: 12px;
  --radius-sm: 6px;
}

/* ------------------------------------------------------------
   TYPOGRAPHY (Elegant Classic)
-------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 { font-size: 1rem; }

p, li, blockquote, address {
  font-family: var(--serif);
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 18px;
  color: var(--muted);
  font-style: italic;
  margin: 32px 0 24px 0;
}

strong {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--display);
}

/* Typography scale (for consistent sizes) */
.display-1 { font-size: 3rem; }
.display-2 { font-size: 2.25rem; }
.display-3 { font-size: 1.5rem; }
.text-muted { color: var(--muted); }

/* ------------------------------------------------------------
   CONTAINERS & LAYOUTS
-------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  justify-content: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Cards and Grids (Flex Only, No CSS Grid) */
.card-container, .feature-grid, .tip-grid, .activity-tip-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

.card,
.service-cards > div,
.tip-grid > div,
.feature-grid > div,
.activity-tip-grid > div {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 270px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-cards > div:hover, .feature-grid > div:hover, .tip-grid > div:hover, .activity-tip-grid > div:hover {
  box-shadow: 0 6px 24px rgba(37,73,107,0.12);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}

.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 24px 24px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  max-width: 370px;
  min-width: 230px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: var(--secondary);
  font-family: var(--display);
  font-size: 1rem;
}
.testimonial-card img {
  width: 18px; height: 18px;
  vertical-align: middle;
  margin-left: 8px;
}

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

.service-detail, .service-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--accent);
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(37,73,107,0.07);
}

.workshop-schedule {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.faq-snippets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.faq-snippets > div {
  background: var(--bg);
  border-left: 3px solid var(--secondary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  color: var(--muted);
}

.map-snippet {
  margin: 14px 0 0 0;
  padding: 16px 20px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  color: var(--text);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  margin: 15px 0 0 0;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info img {
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------------------*/
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 14px 0 rgba(37,73,107,0.04);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 18px;
  min-height: 64px;
}
header a img {
  min-width: 140px;
  max-width: 190px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  font-family: var(--display);
  font-size: 1.10rem;
}
nav a {
  color: var(--primary);
  font-weight: 500;
  padding: 4px 2px;
  border-radius: 2px;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background: rgba(170,184,0,0.07);
  text-decoration: none;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  margin-left: 10px;
  box-shadow: 0 2px 12px rgba(170,184,0,0.07);
  cursor: pointer;
  min-width: 120px;
  transition: background 0.2s, color 0.18s, box-shadow 0.2s, transform 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,73,107,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* ------------------------------------------------------------
   MOBILE BURGER MENU (with animation)
-------------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 110;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border: none;
  border-radius: 50%;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(37, 73, 107,0.07);
  transition: background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--white);
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 73, 107, 0.93);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.28s, transform 0.38s cubic-bezier(.17,.67,.78,.56);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 30px 22px 0 0;
  background: none;
  color: var(--secondary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  z-index: 1;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--white);
}

.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
  gap: 26px;
}
.mobile-nav a {
  font-family: var(--display);
  color: var(--white);
  font-size: 1.35rem;
  padding: 13px 0 13px 0;
  width: 100%;
  text-align: center;
  border-radius: 0;
  background: transparent;
  transition: background 0.16s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(34, 34, 34, 0.07);
}

@media (max-width: 1100px) {
  nav {
    gap: 18px;
  }
}

@media (max-width: 850px) {
  header .container {
    flex-direction: column;
    gap: 10px;
    padding: 16px 12px;
  }
  nav {
    flex-wrap: wrap;
    gap: 11px;
  }
}

@media (max-width: 768px) {
  header nav,
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ------------------------------------------------------------
   MAIN CONTENT & SECTION STYLES
-------------------------------------------------------------*/
main {
  width: 100%;
  min-height: 60vh;
  padding: 28px 0 38px 0;
  background: var(--bg);
}
section {
  margin-bottom: 42px;
}

/* Ensures minimum gap between each main section  */
.section + .section,
section + section {
  margin-top: 26px;
}

/* Featured Grids (e.g. Index Services) */
.feature-grid, .tip-grid, .activity-tip-grid {
  width: 100%;
  margin: 0 0 2px 0;
  justify-content: flex-start;
}

.feature-grid img, .tip-grid img, .activity-tip-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: grayscale(17%);
}

.service-cards {
  margin-top: 10px;
  margin-bottom: 16px;
}

.service-cards > div strong {
  margin-top: 14px;
  display: block;
  color: var(--secondary);
  font-size: 1.1em;
}

/* Testimonial Slider (could be improved via JS, but visually flex) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

/* ------------------------------------------------------------
   LISTS, BLOCKQUOTES, ADDRESS
-------------------------------------------------------------*/
ul li, ol li {
  font-size: 1rem;
  color: var(--text);
  padding-left: 2px;
  margin-bottom: 10px;
}

address {
  font-family: var(--serif);
  font-size: 0.99rem;
  color: var(--muted);
  margin-top: 7px;
  margin-bottom: 0;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   FOOTER
-------------------------------------------------------------*/
footer {
  width: 100%;
  background: var(--white);
  border-top: 1px solid #e7e8e9;
  padding: 38px 0 16px 0;
  margin-top: 60px;
  box-shadow: 0 -1px 10px 0 rgba(37,73,107,0.025);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a img {
  width: 55px;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 7px;
}
.footer-links a {
  color: var(--primary);
  font-size: 1rem;
}
.footer-links a:hover {
  color: var(--secondary);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 440px) {
  footer {
    padding: 28px 0 7px 0;
  }
}

/* ------------------------------------------------------------
   BUTTONS & INTERACTION
-------------------------------------------------------------*/
button {
  outline: none;
  border: none;
  cursor: pointer;
  font-family: var(--display);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}

/* Focus Outline for Accessibility */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Secondary Button Style */
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 11px 23px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ------------------------------------------------------------
   RESPONSIVE DESIGN (Mobile First Approach)
-------------------------------------------------------------*/
@media (max-width: 1000px) {
  .container { max-width: 99vw; }
  .feature-grid, .tip-grid, .activity-tip-grid, .testimonial-slider { gap: 18px; }
}

@media (max-width: 900px) {
  .service-cards, .feature-grid, .tip-grid, .activity-tip-grid, .testimonial-slider {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 7px;
    max-width: 98vw;
  }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.45rem; }
  .card, .service-cards > div, .feature-grid > div, .tip-grid > div, .activity-tip-grid > div {
    min-width: 180px;
    padding: 16px 11px 14px 11px;
  }
  .testimonial-card {
    padding: 16px 12px 16px 12px;
    max-width: 96vw;
  }
  .content-wrapper, .service-detail, .service-info {
    gap: 13px;
    padding: 11px 2px;
  }
  .faq-snippets {
    gap: 12px;
  }
  .feature-grid, .tip-grid, .activity-tip-grid, .service-cards, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-info, .workshop-schedule {
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .card, .service-cards > div, .feature-grid > div, .tip-grid > div, .activity-tip-grid > div {
    min-width: 96px;
    max-width: 99vw;
    font-size: 0.97rem;
  }
  .testimonial-card { padding: 10px 5px 11px 7px; }
  .service-cards > div strong {
    font-size: 1em;
  }
  .faq-snippets > div {
    padding: 5px 7px;
    font-size: 0.96em;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.12rem; }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -4px 24px 0 rgba(37,73,107,0.11);
  border-top: 1px solid #e3e4e5;
  z-index: 200;
  padding: 22px 18px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: transform 0.34s, opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 9px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 7px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--display);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 600;
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn.settings {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  font-weight: 500;
  padding: 10px 16px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 73, 107, .92);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 32px 0 rgba(37,73,107,0.22);
  min-width: 310px;
  max-width: 96vw;
  padding: 38px 28px 28px 32px;
  font-size: 1.06rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 301;
  transition: transform 0.34s;
  transform: translateY(-20px);
}
.cookie-modal .modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cookie-modal .modal-header h2 {
  margin-bottom: 0;
  font-size: 1.2rem;
  color: var(--primary);
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2em;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 9px;
  gap: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--text);
  font-family: var(--serif);
}
.cookie-modal .toggle {
  margin-right: 9px;
  width: 34px;
  height: 20px;
  border-radius: 10px;
  background: #E7E7E0;
  position: relative;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-modal .toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .toggle .slider {
  position: absolute;
  left: 2px; top:2px;
  width: 16px; height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.19s, background 0.19s;
}
.cookie-modal .toggle input[type="checkbox"]:checked + .slider {
  left: 16px;
  background: var(--primary);
}
.cookie-modal .cookie-category[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  margin-top: 17px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  margin: 0;
}

@media (max-width: 540px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 17px 8px 14px 11px;
    font-size: 0.98rem;
  }
}

/* ------------------------------------------------------------
   UTILITIES
-------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-2 { margin-top: 14px !important; }
.mt-4 { margin-top: 28px !important; }
.mb-2 { margin-bottom: 14px !important; }
.mb-4 { margin-bottom: 28px !important; }
.gap-2 { gap: 14px !important; }
.hidden { display: none !important; }
.visible { display: block !important; }

/* ------------------------------------------------------------
   PRINT STYLES
-------------------------------------------------------------*/
@media print {
  * { background: none !important; color: #222 !important; box-shadow:none !important; }
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  body, .container, .section, main, section { margin: 0; padding: 0; box-shadow: none !important; }
}
