/*----------------------------------------------------------
  CSS RESET & NORMALIZE (MOBILE-FIRST)
----------------------------------------------------------*/
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;
  font-family: 'Roboto', serif;
  background: #F3F7FA;
  color: #22303B;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  color: #19567A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2384A0;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  color: inherit;
  box-sizing: border-box;
}
button {
  cursor: pointer;
}

/*----------------------------------------------------------
  VARIABLES (with fallback)
----------------------------------------------------------*/
:root {
  --brand-primary: #19567A;
  --brand-secondary: #F3F7FA;
  --brand-accent: #2384A0;
  --brand-accent-2: #47B2C8;
  --brand-dark: #22303B;
  --text-main: #22303B;
  --text-dark: #0E1B2A;
  --text-muted: #54616D;
  --white: #fff;
  --shadow-soft: 0 2px 8px 0 rgba(25,86,122,0.07);
  --shadow-medium: 0 4px 18px 0 rgba(25,86,122,0.16);
  --radius-main: 10px;
  --radius-btn: 6px;
  --radius-card: 14px;
}

/*----------------------------------------------------------
  TYPOGRAPHY (Elegant + Classic)
----------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:400;500;700&display=swap');

body {
  font-family: 'Roboto', serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--brand-secondary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; color: var(--brand-dark);} 
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p { font-size: 1rem; margin-bottom: 16px; color: var(--text-main); }
ul, ol { margin-bottom: 16px; }
strong, b { font-weight: 700; }

/* Elegant muted colors for section headlines & cards */
.section h2 {
  color: var(--brand-primary);
  border-left: 4px solid var(--brand-accent-2);
  padding-left: 12px;
  margin-bottom: 24px;
  font-family: 'Montserrat', serif;
  font-size: 2rem;
}

/*----------------------------------------------------------
  CONTAINER & LAYOUT FOUNDATION
----------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
footer .container {
  padding-bottom: 32px;
}

/*----------------------------------------------------------
  HEADER / NAVIGATION
----------------------------------------------------------*/
header {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid #E2E7ED;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
}
header nav a {
  color: var(--brand-primary);
  font-family: 'Roboto', serif;
  font-size: 1rem;
  padding: 7px 0;
  transition: color 0.2s;
  position: relative;
}
header nav a:hover, header nav a.active {
  color: var(--brand-accent);
  text-decoration: underline;
}
.cta-btn {
  background: var(--brand-primary);
  color: var(--white);
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-btn);
  padding: 10px 32px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px 0 rgba(25,86,122,0.08);
  transition: background 0.24s, box-shadow 0.24s;
  margin-left: 14px;
  border: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(71,178,200,0.16);
}

/* Burger (mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  border: none;
  transition: background 0.2s;
  margin-left: 16px;
  z-index: 1003;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--brand-accent-2);
  color: var(--white);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28, 52, 68, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.78,.01,.21,1);
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  margin: 30px 30px 0 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 60px 40px 0 40px;
  width: 80vw;
  max-width: 360px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: var(--radius-btn);
  display: block;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(25,86,122,0.15);
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Hide mobile-menu by default for desktop */
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
}

/*----------------------------------------------------------
  MAIN FLEX LAYOUTS & SECTIONS
----------------------------------------------------------*/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: column;
}
.feature-grid {
  flex-wrap: wrap;
  gap: 24px;
  display: flex;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--brand-secondary);
  gap: 15px;
  padding: 30px 24px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 44px; height: 44px;
  margin-bottom: 12px;
  filter: grayscale(0.2) contrast(0.9) opacity(0.92);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px) scale(1.03);
  background: #fff;
}

.services-list ul, .services ul, .pricing-features ul, .about-story ul, .about-snippet ul, .why-us ul, .contact-hero ul, .find-us ul, .our-advantages ul, .privacy-policy ul, .gdpr-info ul, .terms-of-service ul, .cookie-policy ul, .gallery-features ul {
  margin-bottom: 18px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px; 
}

.services-list ul li, .services ul li, .pricing-features ul li, .about-story ul li, .about-snippet ul li, .why-us ul li, .contact-hero ul li, .find-us ul li, .our-advantages ul li, .privacy-policy ul li, .gdpr-info ul li, .terms-of-service ul li, .cookie-policy ul li, .gallery-features ul li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.services-list ul li::before,
.services ul li::before,
.pricing-features ul li::before,
.about-story ul li::before,
.about-snippet ul li::before,
.why-us ul li::before,
.contact-hero ul li::before,
.find-us ul li::before,
.our-advantages ul li::before,
.privacy-policy ul li::before,
.gdpr-info ul li::before,
.terms-of-service ul li::before,
.cookie-policy ul li::before,
.gallery-features ul li::before {
  content: '•';
  position: absolute;
  left: 0; top: 0;
  color: var(--brand-accent);
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.2;
}

/* Hero Section */
.hero {
  min-height: 340px;
  background: linear-gradient(114deg, #F3F7FA 74%, #dbe9f3 100%);
  padding: 64px 0 42px 0;
  margin-bottom: 48px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 16px 0 rgba(25,86,122,0.04);
  display: flex;
  align-items: center;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  gap: 22px;
}

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

/* Testimonials */
.testimonials, .gallery-testimonials {
  background: var(--brand-secondary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 60px;
  padding: 40px 24px;
}
.testimonials .testimonial-card, .gallery-testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(34,48,59,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text-dark);
  min-width: 240px;
  max-width: 430px;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--text-dark);
  font-family: 'Roboto', serif;
  margin-bottom: 5px;
}
.testimonial-card span {
  color: var(--brand-accent);
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-medium);
  background: #f9fbfc;
}

/* Pricing Table */
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 32px;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(25,86,122,0.04);
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 16px 14px;
}
.pricing-table th {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
}
.pricing-table tr:nth-child(even) td {
  background: #F8FAFB;
}
.pricing-table td {
  color: var(--text-main);
  font-size: 1rem;
  border-bottom: 1px solid #E2E7ED;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
footer {
  background: #fff;
  box-shadow: 0 -2px 10px 0 rgba(25,86,122,0.06);
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 12px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 0px;
}
.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-content nav a {
  color: var(--brand-dark);
  font-size: 0.98rem;
  transition: color 0.18s;
}
.footer-content nav a:hover {
  color: var(--brand-accent);
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  align-items: center;
}
.social-links a {
  display: flex;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-secondary);
  align-items: center; justify-content: center;
  box-shadow: 0 1px 4px 0 rgba(25,86,122,0.07);
  transition: background 0.2s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--brand-accent);
}
.social-links img {
  width: 22px; height: 22px;
}
footer .contact-snippet p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 6px;
}
footer .contact-snippet img {
  width: 18px; height: 18px;
}

/*------------------------------
  Content grids & Cards
------------------------------*/
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  max-width: 375px;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
}
.card:hover, .card:focus {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/*----------------------------------------------------------
  SPECIAL SECTIONS & SECONDARY
----------------------------------------------------------*/
.thankyou-hero, .booking-hero, .contact-hero {
  background: linear-gradient(117deg, #F3F7FA 80%, #d6e4f0 100%);
  border-radius: 0 0 24px 24px;
  min-height: 240px;
  padding: 56px 0 40px 0;
  margin-bottom: 34px;
  box-shadow: 0 2px 10px 0 rgba(25,86,122,0.08);
}

/*----------------------------------------------
  CTA BLOCK
----------------------------------------------*/
.cta {
  background: var(--brand-accent-2);
  border-radius: var(--radius-card);
  color: #fff;
  margin-bottom: 40px;
}
.cta h2 {
  color: #fff;
}

/*----------------------------------------------------------
  COOKIE CONSENT BANNER
----------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 -2px 22px 0 rgba(25,86,122,0.13);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  z-index: 19000;
  animation: fadeInCookie 0.4s cubic-bezier(.7,0,.3,1) 1;
}
@keyframes fadeInCookie {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: var(--brand-primary); margin-bottom: 5px; }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
  padding: 8px 26px;
  margin-top: 4px;
  margin-bottom: 0;
  border: none;
  transition: background 0.22s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(25,86,122,0.07);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-banner .settings-btn {
  background: var(--brand-accent);
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,48,59,0.56);
  z-index: 20000;
  display: none;
}
.cookie-modal-backdrop.open { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: var(--brand-primary);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 32px 0 rgba(25,86,122,0.22);
  width: 94vw;
  max-width: 430px;
  padding: 32px 26px;
  z-index: 22000;
  display: none;
  animation: fadeInModal 0.32s cubic-bezier(.7,0,.3,1) 1;
}
.cookie-modal.open { display: block; }
@keyframes fadeInModal {
  from { transform: translate(-50%,-40%) scale(0.9); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--brand-primary);
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--brand-accent);
  width: 18px; height: 18px;
  border-radius: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}

/*----------------------------------------------------------
  RESPONSIVENESS & FLEXBOX MEDIA QUERIES
----------------------------------------------------------*/
@media (max-width: 900px) {
  .feature-grid, .features {
    gap: 18px;
    flex-direction: column;
  }
  .footer-content {
    flex-direction: column;
    gap: 22px;
  }
  .section, section, .testimonials, .gallery-testimonials {
    padding-left: 7px; padding-right: 7px;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .section, section, .testimonials, .gallery-testimonials {
    padding: 22px 4vw;
    margin-bottom: 39px;
  }
  .feature-grid, .features, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    max-width: 98vw;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
  }
  .hero, .thankyou-hero, .booking-hero, .contact-hero {
    padding: 36px 0 26px 0;
    min-height: 128px;
  }
  .card, .feature-item {
    max-width: 100vw;
    min-width: 0;
    padding: 20px 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.19rem; }
  .cta-btn, .cookie-banner button, .cookie-modal .modal-actions button {
    font-size: 1rem;
    padding: 9px 18px;
  }
  .hero, .thankyou-hero, .booking-hero, .contact-hero {
    padding: 22px 0 12px 0;
    min-height: 64px;
  }
}

/*----------------------------------------------------------
  MICRO-INTERACTIONS & FOCUS
----------------------------------------------------------*/
.cta-btn, .cookie-banner button, .cookie-modal .modal-actions button, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: box-shadow 0.14s, background 0.18s;
}
.cta-btn:focus, .cookie-banner button:focus, .cookie-modal .modal-actions button:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 3px var(--brand-accent-2);
}
a:focus {
  outline: 2px solid var(--brand-accent-2);
  outline-offset: 2px;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 2px var(--brand-accent-2);
}

/*--------------------------------------------------
UTMÄRKELSER/FÖRDELAR Short-cards (index, gallery)
--------------------------------------------------*/
.about-snippet, .why-us, .our-advantages, .about-story,
.services, .services-list, .gallery-features, .cookie-policy, .gdpr-info, .privacy-policy, .terms-of-service, .contact-details, .contact-form-info, .find-us {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*-------------------
MISC UTILITIES
--------------------*/
.text-muted {
  color: var(--text-muted);
}
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Hide visually */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Prevent overlapping, spacing rules */
.card, .feature-item, .testimonial-card, .section, section, .about-snippet, .why-us, .contact-snippet, .our-advantages, .gallery-features {
  margin-bottom: 20px;
}
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child), .section:not(:last-child), section:not(:last-child) {
  margin-bottom: 24px;
}

/*-------------------
FORMS (for booking/contact)
--------------------*/
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
input, textarea, select {
  background: #F8FAFC;
  border: 1px solid #D3E1ED;
  border-radius: 4px;
  padding: 10px 13px;
  font-size: 1rem;
  color: var(--text-main);
  width: 100%;
  transition: border 0.18s, box-shadow 0.12s;
  margin-bottom: 7px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-accent-2);
}

/*-------------------
PRINT (optional)
--------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  section, article, .section {
    box-shadow: none !important;
    background: #fff !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
  }
}
