/* --- CSS RESET & BASE STYLES (Normalize + Reset + Box Sizing) --- */
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,
main, 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 {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  height: 100%;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f5f8fd;
  color: #263a5c;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #263a5c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1d2c47;
  outline: none;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
}

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #263a5c;
  font-weight: 700;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}

p, li, cite, .price, .text-section, .contact-details-mini, .contact-details-full {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #263a5c;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
cite {
  font-style: normal;
  font-size: 1rem;
  color: #263a5c;
  opacity: 0.8;
}

/* --- CONTAINERS & SECTION SPACING --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(38,58,92, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* --- HEADER / NAVIGATION --- */
header {
  background: #fff;
  padding: 16px 0 0 0;
  border-bottom: 1px solid #e4e8f0;
  position: relative;
  z-index: 50;
  display: flex;
  justify-content: space-around;
}
.logo-link {
  display: block;
  height: 54px;
  width: auto;
  margin-bottom: 8px;
}
.logo-link img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 0;
  margin-bottom: 0;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 0;
  color: #263a5c;
  opacity: 0.92;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #aee7ff44;
  color: #263a5c;
  opacity: 1;
}
.cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: #263a5c;
  border-radius: 28px;
  padding: 12px 28px;
  margin-left: 32px;
  box-shadow: 0 2px 8px 0 rgba(38,58,92, 0.09);
  transition: background 0.17s, color 0.17s, box-shadow 0.22s;
  border: none;
  outline: none;
  letter-spacing: 0.01em;
}
.cta.primary:hover, .cta.primary:focus {
  background: #1d2c47;
  color: #aee7ff;
  box-shadow: 0 4px 12px 0 rgba(38,58,92, 0.14);
}
button.mobile-menu-toggle {
  display: none;
  padding: 10px 16px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #263a5c;
  border-radius: 8px;
  margin-left: auto;
  transition: background 0.2s;
  margin-top: 6px;
}
button.mobile-menu-toggle:focus, button.mobile-menu-toggle:hover {
  background: #aee7ff44;
  outline: none;
}

/* --- MOBILE MENU & SLIDE --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38, 58, 92, 0.97);
  z-index: 9999;
  padding: 24px 18px 0 24px;
  transform: translateX(-104vw);
  transition: transform 0.37s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
button.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 8px 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  transition: background 0.13s;
  cursor: pointer;
}
button.mobile-menu-close:hover,
button.mobile-menu-close:focus {
  background: #aee7ff22;
  color: #aee7ff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #aee7ff44;
  color: #aee7ff;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, #f5f8fd 90%, #aee7ff18 100%);
  padding: 0 0 40px 0;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  min-height: 270px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  align-items: flex-start;
}
.hero h1 {
  color: #263a5c;
}
.hero p {
  color: #263a5c;
  margin-bottom: 28px;
}
.hero .cta {
  margin-top: 8px;
}

/* --- FLEXBOX PATTERNS & CRITICAL LAYOUT CLASSES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgba(38,58,92, 0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 230px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f5f8fd;
  border-radius: 16px;
  box-shadow: 0 1px 7px 0 rgba(38,58,92,0.07);
  color: #263a5c;
  font-size: 1.07rem;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px 0 rgba(38,58,92,0.06);
  min-width: 220px;
  flex: 1 1 210px;
  margin-bottom: 20px;
}
.feature-item h3 {
  margin-bottom: 0;
}

/* --- FEATURES & USP-LISTS --- */
.feature-grid, .usp-list, .benefit-list, .private-guides, .theme-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 12px 0 0 0;
}
.usp-list li, .benefit-list li, .private-guides li, .theme-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f5f8fd;
  border-radius: 10px;
  padding: 18px 16px;
  min-width: 200px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.usp-list img, .benefit-list img, .private-guides img, .theme-highlights img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* --- SERVICES / LISTS / CARDS --- */
.service-list, .tour-list, .workshop-list, .course-list, .event-list, .step-list, .how-it-works {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 0 0;
}
.service-list li, .tour-list li, .workshop-list li, .course-list li, .event-list li {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(38,58,92,0.06);
  padding: 20px 16px 18px 16px;
  margin-bottom: 20px;
  min-width: 220px;
  gap: 12px;
}
.price {
  margin-top: 12px;
  font-weight: 700;
  color: #263a5c;
  font-size: 1.09rem;
  opacity: 0.78;
}

.step-list, .how-it-works {
  flex-direction: column;
  gap: 8px;
  list-style: decimal inside;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 20px;
  margin-left: 0;
}
.step-list li, .how-it-works li {
  background: none;
  padding: 4px 0;
  margin-bottom: 8px;
  border-radius: 0;
  color: #263a5c;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* --- TEXT SECTIONS, CONTACT & DETAILS --- */
.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details-mini, .contact-details-full {
  margin-top: 6px;
  font-size: 1rem;
  color: #263a5c;
}
.contact-details-mini a, .contact-details-full a {
  color: #263a5c;
  text-decoration: underline;
  transition: color 0.16s;
}
.contact-details-mini a:hover, .contact-details-full a:hover {
  color: #197ca1;
}

/* --- BUTTONS & CTA STYLES --- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #263a5c;
  background: #aee7ff;
  border-radius: 24px;
  padding: 10px 24px;
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: center;
  border: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.cta:hover, .cta:focus {
  background: #263a5c;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(38,58,92, 0.09);
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  padding: 32px 0 24px 0;
  border-top: 1px solid #e4e8f0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  font-size: 1rem;
  color: #263a5c;
  opacity: 0.75;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #aee7ff55;
  color: #263a5c;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.footer-brand img {
  height: 36px;
  width: auto;
}
.footer-brand span {
  color: #263a5c;
  opacity: 0.7;
  font-size: 0.97rem;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10100;
  background: #ffffffee;
  box-shadow: 0 -4px 16px 0 rgba(38,58,92,0.10);
  padding: 24px 20px 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  border-radius: 24px 24px 0 0;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.54,0,.27,1);
}
.cookie-consent-banner.hide {
  transform: translateY(105%);
}
.cookie-consent-banner p {
  flex: 2 1 320px;
  margin: 0;
  color: #263a5c;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 2px 8px 0 rgba(38,58,92, 0.05);
}
.cookie-btn.accept {
  background: #263a5c;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #197ca1;
}
.cookie-btn.reject {
  background: #fff;
  color: #263a5c;
  border: 1px solid #aee7ff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #aee7ff;
  color: #263a5c;
}
.cookie-btn.settings {
  background: #aee7ff;
  color: #263a5c;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e4e8f0;
}

/* --- COOKIE-MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(38,58,92, 0.30);
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 34px 0 rgba(38,58,92,0.12);
  padding: 35px 26px 30px 26px;
  min-width: 320px;
  max-width: 90vw;
  max-height: 93vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInScale 0.32s cubic-bezier(.36,1.68,.38,.99);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-setting-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-setting-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-setting-row label {
  font-weight: 500;
  min-width: 150px;
  color: #263a5c;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 16px;
  background: #e4e8f0;
  position: relative;
  transition: background 0.19s;
  cursor: pointer;
}
.cookie-toggle.checked {
  background: #aee7ff;
}
.cookie-toggle-dot {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(38,58,92,0.08);
  transition: left 0.17s;
}
.cookie-toggle.checked .cookie-toggle-dot {
  left: 22px;
  background: #197ca1;
}
.cookie-modal-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}

/* --- RESPONSIVE / BREAKPOINTS --- */
@media (max-width: 1100px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .usp-list, .benefit-list, .private-guides, .theme-highlights,
  .service-list, .tour-list, .workshop-list, .course-list, .event-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .main-nav {
    display: none;
  }
  .cta.primary {
    margin-left: 0;
  }
  button.mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 24px;
  }
  header {
    padding: 10px 0 0 0;
    min-height: 56px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .feature-grid, .usp-list, .benefit-list, .private-guides, .theme-highlights,
  .service-list, .tour-list, .workshop-list, .course-list, .event-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    gap: 12px;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 14px;
  }
  .footer {
    padding: 24px 0 14px 0;
  }
  .footer-brand img {
    height: 28px;
  }
  .section {
    border-radius: 10px;
    padding: 12px 0;
  }
  .cookie-consent-banner, .cookie-modal {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* --- ANIMATIONS & INTERACTIONS --- */
.card, .feature-item, .testimonial-card, .service-list li, .tour-list li, .workshop-list li, .event-list li, .course-list li {
  transition: box-shadow 0.23s, transform 0.19s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .service-list li:hover, .tour-list li:hover, .workshop-list li:hover, .event-list li:hover, .course-list li:hover {
  box-shadow: 0 8px 24px 0 rgba(38,58,92, 0.15);
  transform: translateY(-3px) scale(1.014);
}
.testimonial-card {
  transition: box-shadow 0.18s, background 0.16s;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  background: #aee7ff15;
  box-shadow: 0 4px 18px 0 rgba(38,58,92,0.14);
}
.cta, .cookie-btn {
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.14s;
}
.cta:active, .cookie-btn:active {
  transform: scale(0.95);
}

/* --- MISC GLOBAL UTILITY CLASSES IF NEEDED --- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.hide { display: none !important; }

/* --- VISUAL DIVIDERS & SCANDINAVIAN ELEMENTS --- */
hr, .divider {
  border: none;
  border-top: 1.5px solid #e4e8f0;
  margin: 32px 0;
}

/* --- NATURAL MATERIALS / TEXTURE HINTS --- */
.section, .card, .feature-item, .testimonial-card, .cookie-modal {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(38,58,92,0.06);
}

/* Hide scroll on mobile menu when open (for backdrop UX) */
body.menu-open {
  overflow: hidden;
}

/* --- END CSS --- */
