/* ==================================================
   CSS RESET & BASE (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,
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;
  min-height: 100vh;
  background: #FFF9F2;
  color: #1c2d25;
  font-family: 'Roboto', Arial, sans-serif;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ==================================================
   CUSTOM PROPERTIES & TYPOGRAPHY
   ================================================== */
:root {
  --color-primary: #295943;
  --color-secondary: #87BBA2;
  --color-accent: #FFF9F2;
  --color-contrast: #17271F;
  --color-dark: #18352b;
  --color-muted: #eef3ed;
  --color-white: #fff;
  --color-warning: #ffb200;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-contrast);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  line-height: 1.18;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}

p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-contrast);
  margin-bottom: 12px;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Visually bold, geometric btns */
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 34px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .15s;
  box-shadow: 0 2px 16px rgba(41, 89, 67, .06);
  margin: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.button.primary, .button.primary:visited {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-primary);
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 20px rgba(41, 89, 67, 0.17);
}
.button.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-secondary);
}
.button.outline {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.button.outline:hover, .button.outline:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

a.button {
  text-decoration: none;
}

/* ==================================================
   LAYOUT SECTION SPACING & FLEXBOX STRUCTURE
   ================================================== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  max-width: 1170px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.feature-grid, .highlight-cards, .testimonial-cards, .route-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item, .highlight-card, .testimonial-card, .route-card, .team-member {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(41,89,67,.10);
  padding: 24px 24px 20px 24px;
  min-width: 260px;
  flex: 1 1 272px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow .18s, transform .16s;
}
.feature-item:hover, .highlight-card:hover, .route-card:hover, .team-member:hover {
  box-shadow: 0 6px 28px rgba(41,89,67,.16);
  transform: translateY(-2px) scale(1.02);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px 20px 24px;
  background: var(--color-accent);
  box-shadow: 0 2px 18px rgba(41,89,67,.07);
  border-radius: 18px;
  min-width: 260px;
  max-width: 420px;
  color: var(--color-dark);
}
.testimonial-card p {
  font-size: 1.06rem;
  color: var(--color-dark);
  font-style: italic;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.ratings {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.ratings img {
  width: 23px;
  height: 23px;
}
.ratings span {
  margin-left: 12px;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 700;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(41,89,67,.09);
  padding: 22px 18px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FAQ, TEAM, HISTORY blocks */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  flex: 1 1 272px;
  background: var(--color-muted);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(41,89,67,.03);
}
.team-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  min-width: 220px;
  max-width: 360px;
}
.history-block {
  background: var(--color-muted);
  border-radius: 14px;
  padding: 24px;
  margin-top: 12px;
}

/* ==================================================
   HERO, CTA, HIGHLIGHT
   ================================================== */
.hero {
  background: linear-gradient(105deg, var(--color-primary) 74%, var(--color-secondary) 100%);
  color: var(--color-accent);
  border-radius: 0 0 30px 30px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 0;
}
.hero .container, .hero .content-wrapper {
  color: var(--color-accent);
  align-items: flex-start;
}
.hero h1, .hero h2, .hero h3, .hero p {
  color: var(--color-accent);
}
.section-cta {
  background: var(--color-secondary);
  border-radius: 24px;
  text-align: center;
  margin-bottom: 20px;
  padding: 42px 20px;
  box-shadow: 0 2px 16px rgba(41,89,67,.08);
}
.section-cta h2 {
  color: var(--color-primary);
}
.section-cta .button {
  margin-top: 18px;
}

/* ==================
   SPECIAL LIST STYLES
   ================== */
ul.feature-list > li {
  margin-bottom: 28px;
  font-size: 1.08rem;
  color: var(--color-contrast);
  font-weight: 600;
  background: var(--color-muted);
  padding: 18px 18px 6px 24px;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(41,89,67,.03);
}
ul.feature-list ul {
  margin: 10px 0 6px 10px;
}
ul.feature-list ul > li {
  color: var(--color-primary);
  font-weight: 500;
  background: none;
  padding: 3px 0 3px 10px;
  border-radius: 0;
  box-shadow: none;
}

/* Legal/Static pages */
.legal {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(41,89,67,.06);
}
.legal h3 {
  color: var(--color-secondary);
}
.legal ul li {
  margin-bottom: 12px;
  padding-left: 12px;
  color: var(--color-primary);
}

/* Thankyou page */
.thankyou {
  text-align: center;
}
.thankyou h1, .thankyou h2 {
  text-align: center;
  color: var(--color-primary);
}
.thankyou ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin: 24px 0 0 0;
}
.thankyou .button {
  margin-top: 22px;
}

/* ==================================================
   HEADER/NAVIGATION (DESKTOP & MOBILE)
   ================================================== */
header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 28px 24px 18px 24px;
  background: var(--color-white);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1001;
  box-shadow: 0 3px 14px rgba(41,89,67,.08);
}
header a img {
  height: 39px;
  max-width: 140px;
  margin-right: 20px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-right: auto;
  margin-left: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 12px;
  transition: background .12s, color .12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .08s;
  z-index: 1010;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,51,41,0.86);
  z-index: 2010;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .22s, transform .35s cubic-bezier(.8,.17,.15,1.02);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-danger, #ff5252);
  color: var(--color-accent);
  border: none;
  margin: 20px 28px 0 0;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2015;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 40px 0 0 42px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  padding: 9px 0;
  letter-spacing: 0.04em;
  border-radius: 12px;
  transition: color .13s, background .16s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(255,255,255, 0.07);
}

/* Hide nav for mobile - show burger */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 42px 0 0 0;
  margin-top: 40px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 32px 20px 32px;
}
.footer-main > a img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  opacity: 0.92;
  transition: color .09s, opacity .11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--color-accent);
  opacity: .86;
}
.footer-contact p {
  margin-bottom: 7px;
}
.footer-bottom {
  width: 100%;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  padding: 13px 0;
  border-radius: 0 0 20px 20px;
  font-family: var(--font-display);
}

/* ================================
   CONTACT, DIRECTIONS, TEAM ETC.
   ================================ */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-details, .directions {
  min-width: 220px;
  flex: 1 1 320px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 1.12rem;
}
.contact-details img, .directions img {
  width: 22px;
  height: 22px;
  filter: grayscale(0.5) brightness(0.7);
}
.directions h3 {
  color: var(--color-secondary);
}

/* =========================
   TRANSITIONS/ANIMATIONS
   ========================= */
.button, .main-nav a, .mobile-nav a, .feature-item, .highlight-card, .route-card, .card, .faq-item, .team-member {
  transition: box-shadow .18s, background .13s, color .17s, transform .15s;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2140;
  background: var(--color-accent);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 6vw;
  box-shadow: 0 -2px 18px rgba(41,89,67,.13);
  border-top: 2.5px solid var(--color-primary);
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.21s, transform .3s cubic-bezier(.57,.61,.36,1.18);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-msg {
  max-width: 530px;
  font-size: 1.09rem;
  font-family: var(--font-body);
  color: var(--color-primary);
}
.cookie-consent-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: bold;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  margin: 0 7px;
  cursor: pointer;
  transition: background .14s, color .11s;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #ececec;
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-warning);
  color: var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* Cookie settings modal */
.cookie-preference-modal {
  position: fixed;
  inset: 0;
  background: rgba(41,89,67,0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2145;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s cubic-bezier(.44,.79,.44,1.13);
}
.cookie-preference-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-window {
  background: var(--color-accent);
  border-radius: 18px;
  max-width: 420px;
  width: 95vw;
  padding: 40px 34px 32px 34px;
  box-shadow: 0 8px 44px rgba(41,89,67,.21);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ff5252;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.07rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 22px;
  height: 22px;
}
.cookie-category.essential label {
  opacity: .7;
  font-style: italic;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .highlight-cards, .testimonial-cards, .route-cards, .card-container, .team-block {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 97%;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 27px 8px;
  }
  .feature-grid, .highlight-cards, .testimonial-cards, .route-cards, .card-container, .team-block {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid, .card-container, .team-block {
    flex-direction: column;
    gap: 16px;
  }
  .footer-main {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px 15px 10px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .contact-block {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 530px) {
  html {
    font-size: 93.5%;
  }
  .hero {
    padding-top: 29px;
    padding-bottom: 31px;
    border-radius: 0 0 18px 18px;
  }
  .section-cta {
    border-radius: 12px;
    padding: 21px 4px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 19px 3vw 15px 3vw;
    font-size: 0.98rem;
  }
  .cookie-consent-actions {
    gap: 11px;
  }
}

/* ===================
   GEOMETRIC/DECORATIVE ACCENTS
   =================== */
/* Example geometric accent (for thematic geometric style): */
.section::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 50px;
  margin-top: 22px;
  margin-bottom: 0;
}
.hero .container::before {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  background: var(--color-secondary);
  border-radius: 18px 0 52px 18px;
  position: absolute;
  top: -20px;
  left: 30px;
  opacity: 0.13;
  z-index: 0;
}

/* Hide accent on mobile */
@media (max-width:768px) {
  .section::after, .hero .container::before {
    display:none;
  }
}

/*============
  PRINT OVERRIDE
  ============*/
@media print {
  header, .mobile-menu, .cookie-consent-banner, footer {
    display: none !important;
  }
}
