/* Vägäventyr Sverige – NATURE ORGANIC STYLE CSS */

/* =====================
   CSS RESET & BASE
===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8F9FA;
  color: #2E3A29;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #29527A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3B7D4B;
}

/* =====================
   COLORS & ORGANIC PALETTE
===================== */
:root {
  --primary: #29527A;
  --secondary: #F4B942;
  --accent: #F8F9FA;
  --earth-brown: #8D6748;
  --forest-green: #3B7D4B;
  --moss-green: #A3B18A;
  --sand: #F6E7C1;
  --stone: #E5E3D6;
  --shadow: rgba(41, 82, 122, 0.08);
  --shadow-strong: rgba(41, 82, 122, 0.16);
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #29527A;
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}
p, ul, ol, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2E3A29;
  font-size: 1rem;
}
strong {
  color: var(--primary);
}

/* =====================
   LAYOUT CONTAINERS
===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px 32px 24px 24px/40px 40px 24px 24px;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
}

/* =====================
   HEADER & NAVIGATION
===================== */
header {
  background: linear-gradient(90deg, #F6E7C1 0%, #A3B18A 100%);
  box-shadow: 0 2px 12px var(--shadow);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 4px 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--forest-green);
  color: #fff;
}
.cta-btn {
  background: linear-gradient(90deg, var(--forest-green) 60%, var(--secondary) 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px 32px 24px 32px/32px 24px 32px 24px;
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 12px var(--shadow-strong);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--forest-green) 100%);
  transform: translateY(-2px) scale(1.03);
}

/* =====================
   MOBILE NAVIGATION
===================== */
.mobile-menu-toggle {
  display: none;
  background: var(--forest-green);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 30;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  box-shadow: 0 2px 8px var(--shadow-strong);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #F6E7C1 60%, #A3B18A 100%);
  box-shadow: 0 8px 32px var(--shadow-strong);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
  z-index: 100;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--forest-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  padding: 16px 0;
  width: 80%;
  text-align: center;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--forest-green);
  color: #fff;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================
   HERO & ORGANIC SECTIONS
===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px 32px 24px 24px/40px 40px 24px 24px;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
}

/* =====================
   FLEXBOX LAYOUTS
===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px 32px 24px 32px/32px 24px 32px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =====================
   FEATURES & ORGANIC CARDS
===================== */
.feature-grid, .destination-cards, .route-cards, .blog-preview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-item, .destination-card, .route-card, .blog-preview-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 24px 32px 24px 32px/32px 24px 32px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 24px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-item:hover, .destination-card:hover, .route-card:hover, .blog-preview-card:hover {
  box-shadow: 0 6px 24px var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* =====================
   TESTIMONIALS
===================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(90deg, #F6E7C1 60%, #A3B18A 100%);
  border-radius: 32px 24px 32px 24px/24px 32px 24px 32px;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 20px;
  color: #2E3A29;
  font-size: 1.1rem;
  font-style: italic;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card p {
  color: #2E3A29;
  margin: 0 0 0.5em 0;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 500;
  font-style: normal;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px var(--shadow-strong);
  transform: translateY(-2px) scale(1.01);
}

/* =====================
   IMAGE SLIDER & GALLERY
===================== */
.image-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.image-slider > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 24px 32px 24px 32px/32px 24px 32px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 12px 12px 8px 12px;
  min-width: 180px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.image-slider > div:hover {
  box-shadow: 0 6px 24px var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}
.image-slider img {
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 8px;
}
.image-slider span {
  font-size: 0.95rem;
  color: var(--forest-green);
  font-weight: 500;
}

/* =====================
   MAPS & PARTNER LOGOS
===================== */
.map-overview, .map, .partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.partner-logos img {
  height: 48px;
  width: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 4px 8px;
}

/* =====================
   LISTS & FILTERS
===================== */
.feature-list, .category-filters, .tip-list, .checklist, .route-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.feature-list li, .category-filters li, .tip-list li, .checklist li, .route-highlights li {
  background: #fff;
  color: var(--forest-green);
  border-radius: 18px 24px 18px 24px/24px 18px 24px 18px;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 1px 6px var(--shadow);
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
}
.category-filters li {
  cursor: pointer;
  border: 2px solid var(--moss-green);
}
.category-filters li:hover, .category-filters li.active {
  background: var(--forest-green);
  color: #fff;
}

/* =====================
   TEAM PHOTOS
===================== */
.team-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.team-photos img {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--shadow);
}

/* =====================
   FOOTER
===================== */
footer {
  background: linear-gradient(90deg, #A3B18A 0%, #F6E7C1 100%);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px var(--shadow);
  padding: 40px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-menu a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--forest-green);
  color: #fff;
}
.brand-logo img {
  height: 40px;
  width: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 2px 6px;
}
.contact-short {
  color: #2E3A29;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 8px;
}
.newsletter-signup p {
  color: var(--forest-green);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.social-links a {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 6px var(--shadow);
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--forest-green);
  color: #fff;
}

/* =====================
   COOKIE CONSENT BANNER
===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #F6E7C1 60%, #A3B18A 100%);
  color: #2E3A29;
  box-shadow: 0 -2px 16px var(--shadow-strong);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  z-index: 200;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  font-size: 1rem;
  color: #2E3A29;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 18px 24px 18px 24px/24px 18px 24px 18px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 1px 6px var(--shadow);
}
.cookie-btn.accept {
  background: var(--forest-green);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--forest-green);
  border: 2px solid var(--forest-green);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--earth-brown);
  color: #fff;
  border-color: var(--earth-brown);
  transform: scale(1.04);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: #2E3A29;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--forest-green);
  color: #fff;
  transform: scale(1.04);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41, 82, 122, 0.18);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 32px 32px 24px 24px/40px 40px 24px 24px;
  box-shadow: 0 8px 32px var(--shadow-strong);
  padding: 36px 32px 28px 32px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookieModalIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(60px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #2E3A29;
  font-weight: 500;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: var(--sand);
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--forest-green);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 4px var(--shadow);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal .cookie-category.essential label {
  color: var(--earth-brown);
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: var(--moss-green);
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential .cookie-toggle:before {
  background: #fff;
}
.cookie-modal .cookie-category.essential .cookie-toggle:checked {
  background: var(--moss-green);
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: var(--forest-green);
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .feature-grid, .destination-cards, .route-cards, .blog-preview-cards, .image-slider {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature-item, .destination-card, .route-card, .blog-preview-card, .image-slider > div {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .section, section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 24px 24px 18px 18px/28px 28px 18px 18px;
  }
  .container {
    padding: 0 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .footer-menu, .social-links {
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: stretch;
  }
  .cookie-modal {
    padding: 24px 8px 18px 8px;
    max-width: 98vw;
  }
}

/* =====================
   MICRO-INTERACTIONS
===================== */
.card, .feature-item, .destination-card, .route-card, .blog-preview-card, .testimonial-card, .image-slider > div {
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .feature-item:hover, .destination-card:hover, .route-card:hover, .blog-preview-card:hover, .testimonial-card:hover, .image-slider > div:hover {
  box-shadow: 0 6px 24px var(--shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* =====================
   ORGANIC SHAPES (DECORATIVE)
===================== */
/* For decorative absolute shapes, e.g. leaves, waves, etc. */
.organic-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
}

/* =====================
   ACCESSIBILITY
===================== */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* =====================
   MISCELLANEOUS
===================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--sand);
}
::-webkit-scrollbar-thumb {
  background: var(--moss-green);
  border-radius: 8px;
}

/* =====================
   SPACING & FLEXBOX ENFORCEMENT
===================== */
/* All content cards/sections must have minimum 20px margin between them */
.card, .feature-item, .destination-card, .route-card, .blog-preview-card, .testimonial-card, .image-slider > div {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .destination-cards, .route-cards, .blog-preview-cards, .image-slider, .content-grid, .team-photos, .map-overview, .partner-logos, .footer-menu, .social-links {
  gap: 20px;
}

/* =====================
   PRINT STYLES (OPTIONAL)
===================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .section { box-shadow: none !important; background: #fff !important; }
}
