/* =============================
   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,
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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background: #faf8f5;
  color: #18405a;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
}
a {
  color: #225e82;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffa930;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}

/* =============================
   FONTS & SCANDINAVIAN TYPO
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #18405a;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.13; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }

p, li, ul, ol {
  font-size: 1rem;
  color: #18405a;
  font-family: 'Open Sans', Arial, sans-serif;
}

strong, b {
  font-weight: bold;
  color: #225e82;
}

/* =============================
   COLOR SYSTEM
   ============================= */
:root {
  --primary: #225e82;
  --secondary: #f2e9dc;
  --accent: #ffa930;
  --dark: #18405a;
  --text-dark: #18405a;
  --text-body: #18405a;
  --white: #fff;
  --card-bg: #fff;
  --gray-light: #eaf0f3;
  --shadow: 0 1px 6px rgba(34,94,130,0.06);
  --radius: 14px;
}

/* =============================
   CONTAINER & LAYOUTS (FLEXBOX ONLY)
   ============================= */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Card Containers */
.card-container, .feature-grid, .tips-cards, .ideas-grid, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card, .tip-card, .idea-card, .testimonial-card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e4e7ea;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 0;
}
.card:hover, .tip-card:hover, .idea-card:hover {
  box-shadow: 0 4px 20px rgba(34,94,130,0.11);
  transform: translateY(-3px) scale(1.01);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.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;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(34,94,130,0.11);
  border-left: 4px solid var(--primary);
  padding: 20px 24px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 240px;
  max-width: 370px;
  color: var(--text-dark);
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #637282;
  font-size: 0.92rem;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: var(--white);
  padding: 0;
  box-shadow: 0 2px 15px rgba(34,94,130,0.073);
  position: relative;
  z-index: 998;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
header img {
  height: 42px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #225e82;
  padding: 4px 11px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--white);
}

/* =================================
   MOBILE MENU
   ================================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #225e82;
  margin-left: 12px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #ffa930;
}
.mobile-menu {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242,233,220,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.72,0,.17,1);
  box-shadow: 0 0 16px rgba(34,94,130,0.05);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #225e82;
  margin: 18px 18px 0 22px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 28px 34px;
}
.mobile-nav a {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 8px 0;
  color: var(--primary);
  transition: color 0.18s;
  min-width: 100px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: none;
}

@media (max-width: 980px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  nav {
    gap: 8px;
  }
}
@media (max-width: 780px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}

/* =============================
   BUTTONS & CTAS
   ============================= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  padding: 13px 34px;
  border-radius: 9px;
  border: none;
  background: var(--primary);
  color: var(--white);
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(34,94,130,0.10);
  text-decoration: none;
  transition: background 0.19s, box-shadow 0.2s, color 0.2s;
  margin-top: 4px;
  margin-bottom: 4px;
  min-width: 128px;
}
.cta.primary {
  background: var(--primary);
  color: var(--white);
}
.cta.primary:hover, .cta.primary:focus {
  background: #18405a;
  color: var(--accent);
}
.cta.accent {
  background: var(--accent);
  color: #18405a;
}
.cta.accent:hover, .cta.accent:focus {
  background: #ffd6a5;
  color: #18405a;
}

button:focus-visible, .cta:focus-visible {
  outline: 2px solid #ffa930;
  outline-offset: 1px;
}

/* =============================
   LISTS & ICONS (Features/Filters)
   ============================= */
.features-list, .activities-list, .category-filters ul, .filters ul, .local-guides ul, .easy-filters ul, .outfit-tips ul, .wettersensitive-activities ul, .info-alerts ul, .contact-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
.features-list li, .activities-list li, .category-filters ul li, .filters ul li, .local-guides ul li, .easy-filters ul li, .outfit-tips ul li, .wettersensitive-activities ul li, .info-alerts ul li, .contact-info ul li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 5px rgba(34,94,130,0.07);
  border: 1px solid #eaeaea;
  padding: 16px 16px 12px 13px;
  min-width: 160px;
  max-width: 240px;
  gap: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1rem;
}
.features-list img, .activities-list img, .category-filters ul img, .filters ul img, .local-guides ul img, .contact-info ul img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}
.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.filters ul {
  flex-direction: row;
  gap: 16px;
}
.category-filters ul {
  gap: 18px;
  flex-direction: row;
  flex-wrap: wrap;
}

/* =============================
   MISC CARDS & GRIDS
   ============================= */
.feature-grid, .ideas-grid {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.tip-card, .idea-card {
  min-width: 230px;
  max-width: 350px;
}
.live-weather-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f2e9dc;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #18405a;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #eaf0f3;
  padding: 40px 0 0 0;
  border-top: 2px solid #e3e6e3;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0 20px 20px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}
.footer-nav a {
  color: #225e82;
  transition: color 0.2s;
  padding: 5px 0;
  font-weight: 500;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #ffd6a5;
  color: #18405a;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  max-width: 260px;
}
.footer-contact img {
  width: 58px;
  margin-bottom: 7px;
}
.footer-contact p, .footer-contact a {
  font-size: 0.98rem;
  color: #18405a;
  margin-bottom: 2px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 10px;
}
.footer-social a img {
  width: 29px;
  height: 29px;
  display: block;
  filter: grayscale(20%) contrast(92%) brightness(1.09);
  transition: filter 0.16s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0%) drop-shadow(0 2px 2px #ffa93060);
}

/* =============================
   CONTACT / SOCIAL
   ============================= */
.contact-info ul {
  gap: 10px;
  flex-direction: column;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 7px;
}
.social-links a img {
  width: 31px;
  height: 31px;
  filter: grayscale(24%) contrast(102%) opacity(0.85);
  transition: filter 0.18s, opacity 0.19s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
  opacity: 1;
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: rgba(242,233,220,1);
  color: #18405a;
  border-top: 2px solid #e6dfc6;
  box-shadow: 0 -4px 20px #18405a12;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 24px 18px;
  gap: 32px;
  font-size: 1rem;
  animation: cookieBannerIn 0.7s cubic-bezier(.72,0,.17,1);
  min-height: 54px;
}
@keyframes cookieBannerIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 500px;
  line-height: 1.44;
  color: #18405a;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 23px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
  margin: 0 4px;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #18405a;
  color: var(--accent);
}
.cookie-btn.reject {
  background: var(--accent);
  color: #18405a;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffe5c7;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: #18405a;
  border: 1.5px solid #d9cbb6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #eedcc7;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  background: rgba(24,64,90,0.16);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.28s cubic-bezier(.57,0,.36,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 38px #18405a29;
  min-width: 320px;
  max-width: 480px;
  padding: 36px 30px 24px;
  color: #18405a;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: cookieModalPop 0.15s cubic-bezier(.57,0,.36,1);
}
@keyframes cookieModalPop {
  from { transform: translateY(24px) scale(0.95); }
  to { transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #18405a;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #eee6dd;
  color: #ffa930;
}
.cookie-modal-content h2 {
  font-size: 1.32rem; margin-bottom: 11px;
}
.cookie-modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-switch {
  width: 36px;
  height: 21px;
  display: inline-block;
  position: relative;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #eaeaea;
  border-radius: 16px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #ffa930;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(15px);
}
.cookie-category-label {
  font-weight: 500;
  color: #225e82;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 7px;
}

/* =============================
   TEXT SECTION & ALERTS
   ============================= */
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.info-alerts ul li {
  border-left: 4px solid #ffa930;
  background: #ffe3bc;
  padding-left: 11px;
  color: #18405a;
  font-size: 1rem;
}

/* =============================
   UTILITY CLASSES
   ============================= */
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* =============================
   RESPONSIVE BREAKPOINTS
   ============================= */
@media (max-width: 1120px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .card-container, .feature-grid, .ideas-grid, .tips-cards, .testimonials {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 4px; }
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .content-wrapper { gap: 20px; }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .tip-card, .idea-card {
    min-width: 90vw;
    max-width: 98vw;
  }
  .feature-grid, .ideas-grid, .tips-cards, .testimonials {
    flex-direction: column;
    gap: 13px;
  }
  .features-list, .activities-list, .category-filters ul, .filters ul, .local-guides ul, .easy-filters ul {
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 14px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 18px 7px;
    min-height: 80px;
  }
}
@media (max-width: 540px) {
  .tip-card, .idea-card, .testimonial-card {
    padding: 17px 9px;
    font-size: 0.98rem;
  }
  .feature-grid, .ideas-grid, .card-container {
    gap: 10px;
  }
  .live-weather-widget {
    flex-direction: column;
    padding: 10px 6px;
    font-size: 0.98rem;
  }
}

/* Remove grid/column/absolute position per spec */
[class*='grid'], [class*='column'], [class*='col-'] {
  display: flex !important;
  flex-wrap: wrap;
}
/* Prevent absolute for content cards */
.card, .tip-card, .idea-card, .testimonial-card {
  position: relative;
}

/* =============================
   MICRO-INTERACTIONS/ANIMATIONS
   ============================= */
.card, .tip-card, .idea-card {
  transition: box-shadow 0.17s, transform 0.19s;
}
.cta, .cookie-btn {
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
}

::-webkit-input-placeholder { color: #b2b9c2; }
::-moz-placeholder { color: #b2b9c2; }
:-ms-input-placeholder { color: #b2b9c2; }
::placeholder { color: #b2b9c2; }

/* =============================
   PRINT STYLES
   ============================= */
@media print {
  header, nav, .mobile-menu, .cookie-banner, footer { display: none; }
  body { background: #fff; }
  section, .card, .tip-card, .idea-card { box-shadow: none !important; border: none !important; }
}
