/* =============================================================
   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,
b, u, i, center,
dl, dt, dd, menu, 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #202832;
  color: #F2E9DA;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit; font-size: 100%;
  background: none; border: none; outline: none; color: inherit;
}
button { cursor: pointer; }

/* =============================================================
   BRAND COLORS & FONTS
============================================================= */
:root {
  --color-primary: #223248;
  --color-secondary: #A1C349;
  --color-accent: #F2E9DA;
  --color-metal: #717B8A;
  --color-bg: #202832;
  --color-bg-section: #232C35;
  --color-btn-metal: #636E7D;
  --color-btn-dark: #263441;
  --color-card-bg: #242a32;
  --color-border: #444E58;
  --color-shadow: rgba(90, 100, 120, 0.15);
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =============================================================
   TYPOGRAPHY
============================================================= */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--color-secondary); }
h4 { font-size: 1.1rem; color: var(--color-accent); margin-bottom: 10px; }
p, li, blockquote, cite, dd {
  font-family: var(--font-body);
  font-size: 1rem; color: var(--color-accent);
}
p { margin-bottom: 16px; }
blockquote {
  font-size: 1.15rem; font-style: italic;
  color: var(--color-primary);
  background: var(--color-accent);
  border-left: 5px solid var(--color-secondary);
  margin-bottom: 10px; margin-top: 10px; padding: 14px 18px 14px 24px;
}
cite {
  font-size: 0.98rem; color: var(--color-secondary);
  font-family: var(--font-display);
}
ul, ol {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--color-accent);
}
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1.2em;
  line-height: 1.6;
}
ul li:before {
  content: '\2022';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0.06em;
}
dt { font-weight: bold; color: var(--color-secondary); margin-top: 12px; }
dd { margin-bottom: 10px; }

/* Industrial Font Touch / Letterspacing */
body, p, li, dt, dd { letter-spacing: 0.012em; }
h1,h2,h3,h4 { letter-spacing: 0.015em; }

/* =============================================================
   LAYOUT CONTAINERS  & UTILITY FLEX
============================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 16px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 10px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin: 32px 0 0 0;
  color: var(--color-primary) !important;
  flex-direction: row;
}
.testimonial-card blockquote {
  margin: 0 12px 0 0; color: var(--color-primary); background: none; border: none; padding-left: 0; }
.testimonial-card cite {
  color: var(--color-secondary);
  font-weight: 700;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Margin & Gap Consistency */
.section + .section { margin-top: 40px; }
.card + .card { margin-left: 0; }
.card-container > *,
.content-grid > *,
.tips-grid > *,
.highlight-gallery > *,
.editor-picks > *,
.review-list > * {
  margin: 0 !important;
}

/* =============================================================
   HEADER, NAVIGATION & BRAND
============================================================= */
header {
  width: 100%;
  background: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}
.logo img {
  height: 48px;
  filter: grayscale(20%) contrast(1.2) drop-shadow(1px 1px 0 #10151e60);
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-primary {
  background: linear-gradient(90deg,var(--color-secondary) 90%, #e6dfc9 100%);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 9px;
  padding: 12px 26px;
  margin-left: 10px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1.5px solid var(--color-metal);
  transition: background .20s, box-shadow .20s, transform .15s;
  position: relative;
  text-shadow: 0 1px 0 #fff9;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #b2f270 80%, #cde19c 100%);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px var(--color-shadow);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-btn-metal);
  color: var(--color-accent);
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  transition: box-shadow .17s, background .18s;
  box-shadow: 0 1px 8px rgba(90,100,120,.14);
  margin-left: 22px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 12px var(--color-shadow);
}

/* =============================================================
   MOBILE MENU OVERLAY
============================================================= */
.mobile-menu {
  position: fixed;
  height: 100vh;
  width: 95vw;
  max-width: 410px;
  right: 0;
  top: 0;
  background: var(--color-bg);
  box-shadow: -2px 0 18px var(--color-shadow);
  z-index: 9999;
  transform: translateX(105%);
  transition: transform .42s cubic-bezier(.51,.01,.18,.98);
  display: flex;
  flex-direction: column;
  padding: 24px 18px 22px 28px;
  gap: 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--color-btn-dark);
  color: var(--color-accent);
  font-size: 2rem;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .17s;
  z-index: 10010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2rem;
  font-family: var(--font-display);
  padding: 14px 2px 14px 17px;
  border-radius: 7px;
  transition: background .17s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
}

/* Overlay background for mobile nav */
body.mobile-menu-open::before {
  content: "";
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,22,28,.64);
  z-index: 9998;
}

/* =============================================================
   HERO, SLIDER & HIGHLIGHT
============================================================= */
.hero {
  background: linear-gradient(100deg,#223248 70%, #232C35 100%);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 10px 32px var(--color-shadow);
  padding-bottom: 48px;
  margin-bottom: 30px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding-top: 38px;
}
.hero h1 {
  color: var(--color-secondary);
  font-size: 3rem;
}
.subheadline {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.highlight-slider, .highlight-gallery, .tips-grid, .editor-picks, .review-list, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.highlight-slider > div, .highlight-gallery > div, .editor-picks > div, .review-snippet, .highlight-card, .event-item, .tips-grid > div {
  background: var(--color-card-bg);
  padding: 26px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1px solid var(--color-border);
  min-width: 260px;
  margin-bottom: 0 !important;
}
/* Tips grid icons */
.tips-grid img {
  height: 44px; width: 44px;
  margin-bottom: 10px;
  filter: grayscale(20%) contrast(1.15);
}

/* Call to action rows */
.call-to-action {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 18px 0;
}

/* Review filter */
.review-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 18px 0;
  color: var(--color-secondary);
  font-weight: 600;
}
.review-filter a {
  color: var(--color-accent);
  margin: 0 3px;
  font-family: var(--font-body);
  padding: 2px 3px;
  border-radius: 4px;
  transition: color .13s, background .14s;
}
.review-filter a:hover { color: var(--color-secondary); background: var(--color-btn-dark); }

/* Map Placeholder */
.map-placeholder {
  background: var(--color-border);
  color: var(--color-accent);
  font-style: italic;
  font-size: 1.08rem;
  border-radius: 10px;
  padding: 20px 15px;
  margin-bottom: 12px;
}

/* Support info text */
.support-info {
  background: var(--color-card-bg);
  color: var(--color-accent);
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 1px 8px var(--color-shadow);
}

/* Quick tips */
.quick-tips {
  background: var(--color-border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 20px;
  color: var(--color-accent);
}
.quick-tips h4 { margin-bottom: 8px; color: var(--color-accent); }
.quick-tips ul li:before { color: var(--color-secondary); }

/* =============================================================
   FOOTER STYLE
============================================================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 32px 0 14px 0;
  border-top: 5px solid var(--color-metal);
  box-shadow: 0 -2px 18px var(--color-shadow);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  min-height: 100px;
  padding-bottom: 8px;
}
.footer-logo img {
  height: 48px; width: auto;
  filter: grayscale(18%) contrast(1.12) drop-shadow(1px 1px 0 #202f46);
}
footer nav {
  gap: 12px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.97rem;
  opacity: .82;
  padding: 4px 9px;
  border-radius: 5px;
  font-weight: 500;
  transition: background .16s, color .16s, opacity .14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-primary);
  background: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--color-accent);
  margin-top: 12px;
}
.footer-contact a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 600;
  transition: color .13s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--color-accent);
}

/* =============================================================
   EVENTS / HIGHLIGHTS / CARDS / LIST SECTIONS
============================================================= */
.event-calendar {
  background: var(--color-border);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 18px;
  color: var(--color-accent);
}
.list-sections {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin: 20px 0 8px 0;
  flex-wrap: wrap;
}
.list-sections ul {
  margin-left: 0;
  padding-left: 0;
}

/* Icon alignment in UL */
ul li img, ul li svg {
  height: 1.3em;
  width: 1.3em;
  margin-right: 6px;
  margin-bottom: -3px;
  vertical-align: middle;
  display: inline-block;
  filter: brightness(0.93) contrast(1.05);
}
ul li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0.2em;
  font-size: 1rem;
}

/* =============================================================
   SPECIAL ELEMENTS: NEWSLETTER, BANNERS, ETC
============================================================= */
.newsletter {
  background: linear-gradient(95deg,#232C35 75%, #223248 100%);
  border-radius: 18px;
  box-shadow: 0 4px 22px var(--color-shadow);
  margin-top: 42px;
}
.newsletter .btn-primary {
  margin: 0 0 18px 0;
}

/* =============================================================
   COOKIE CONSENT BANNER & MODAL
============================================================= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  color: var(--color-accent);
  border-top: 3px solid var(--color-secondary);
  padding: 20px 18px 18px 18px;
  z-index: 11111;
  box-shadow: 0 -4px 24px var(--color-shadow);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  transition: transform .35s;
  font-size: 1rem;
}
.cookie-consent-banner.hide { transform: translateY(120%); }
.cookie-consent-text { flex: 1; min-width: 180px; margin-right: 24px; }
.cookie-consent-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.cookie-btn {
  border-radius: 7px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  border: none;
  transition: background .16s, color .17s, box-shadow .15s;
  margin-left: 0;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #b2f270;
}
.cookie-btn.reject {
  background: var(--color-btn-metal);
  color: var(--color-accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-border);
  color: var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,26,34,.7);
  z-index: 11120;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .32s;
}
.cookie-modal {
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 22px var(--color-shadow);
  width: 98vw;
  max-width: 420px;
  padding: 32px 24px 28px 24px;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalAppear .42s cubic-bezier(.13,.9,.56,1.08);
  position: relative;
}
@keyframes cookieModalAppear {
  0% { opacity: 0; transform: scale(0.85) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  color: var(--color-secondary);
  margin-bottom: 0;
  font-size: 1.38rem;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-cat-row label {
  color: var(--color-accent);
  font-size: 1rem;
}
.cat-toggle {
  margin-left: auto;
  width: 38px;
  height: 22px;
  display: flex;
  align-items: center;
  background: var(--color-btn-metal);
  border-radius: 21px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.cat-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cat-toggle .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--color-secondary);
  border-radius: 50%;
  transition: left .23s, background .15s;
}
.cat-toggle input:checked + .toggle-slider {
  left: 18px;
  background: #b2f270;
}

.cookie-modal .cookie-btn {
  margin-top: 18px;
}
.cookie-modal .cookie-btn.accept {
  margin-right: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 15px;
  background: var(--color-btn-dark);
  color: var(--color-accent);
  font-size: 1.5rem;
  border-radius: 7px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* =============================================================
   RESPONSIVE DESIGN - MOBILE FIRST
============================================================= */
@media (max-width: 1000px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  /* NAVIGATION */
  header nav {
    display: none !important;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  /* Mobile menu full width */
  .mobile-menu {
    max-width: 97vw;
    width: 97vw;
    font-size: 1rem;
    padding-left: 14px; padding-right: 10px;
  }
  /* HERO/TEXT */
  .hero .content-wrapper { padding-top: 16px; gap: 10px; }
  .hero h1 { font-size: 2rem; }
  .section { margin-bottom: 34px; padding: 24px 10px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  /* FLEX TO COLUMN */
  .text-image-section, .content-grid, .card-container, .highlight-slider, .highlight-gallery, .editor-picks, .tips-grid, .list-sections {
    flex-direction: column;
    gap: 13px !important;
  }
  .call-to-action { flex-direction: column; gap: 8px; }
  .section + .section { margin-top: 20px; }
  /* Footer column */
  footer .container { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-logo img { height: 38px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.1rem; }
  .logo img { height: 33px; }
  .hero { padding-bottom: 24px; }
}

/* =============================================================
   FOCUS & TRANSITIONS (for accessibility)
============================================================= */
a, button, .btn-primary, .cookie-btn, .mobile-menu-close, .cookie-modal-close {
  outline: none;
  transition: box-shadow .12s, background .17s, color .16s;
}
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  box-shadow: 0 0 0 2.5px var(--color-secondary);
}

/* =============================================================
   SCROLLBAR STYLE (chrome only)
============================================================= */
::-webkit-scrollbar {
  width: 9px; background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 6px;
}
::selection {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* =============================================================
   MICRO-INTERACTIONS
============================================================= */
.card, .highlight-card, .review-snippet, .tips-grid > div, .event-item {
  transition: box-shadow .22s, transform .17s, border .15s;
}
.card:hover, .highlight-card:hover, .review-snippet:hover, .tips-grid > div:hover, .event-item:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
  border: 1.5px solid var(--color-secondary);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
}

img, .btn-primary, .cookie-btn, .mobile-nav a {
  transition: filter .18s, box-shadow .16s, transform .15s;
}
img:active { filter: brightness(.97) contrast(1.16); }

/* =============================================================
   MISC
============================================================= */
hr {
  border: 0; border-top: 1px solid var(--color-border);
  margin: 30px 0; width: 100%;
}
strong { color: var(--color-secondary); }

/* For page background accent on headlines */
.hero, section, footer { position: relative; z-index: 2; }
