/* ==== 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9F6F0;
  color: #25313F;
  min-height: 100vh;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; border: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #25313F;
  letter-spacing: -0.01em;
}
p, li, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #25313F;
}

/* ==== Brand Colors and Style ==== */
:root {
  --color-primary: #25313F;
  --color-secondary: #82C5E6;
  --color-accent: #F9F6F0;
  --color-dark: #19202b;
  --color-light: #fff;
  --color-muted: #E5EAED;
  --color-shadow: rgba(37,49,63,0.06);
}

body {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* ==== Typography Scale ==== */
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p, li, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
}
.subheadline {
  color: var(--color-secondary);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 17px;
}

/*===== HEADER & NAVIGATION =====*/
header {
  background: var(--color-light);
  border-bottom: 1px solid var(--color-muted);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
}
.main-nav a {
  padding: 6px 0;
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
.main-nav .cta {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 7px 20px;
  font-weight: 700;
  border-radius: 26px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-left: 10px;
  transition: background 0.17s, color 0.17s, transform 0.16s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-3px) scale(1.04);
}

/* Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 24px;
  padding: 7px 18px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-muted);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-light);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none; /* Disabled by default */
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 0px 0px 20px rgba(50,60,80,0.13);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.15rem;
  margin: 24px 26px 0 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-muted);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 50px 36px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0;
  display: block;
  width: 100%;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-nav a.cta {
  background: var(--color-secondary);
  color: var(--color-light);
  font-weight: 700;
  margin-top: 12px;
  border-radius: 26px;
  padding: 14px 36px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-muted);
}
.mobile-nav a.cta:hover, .mobile-nav a.cta:focus {
  background: var(--color-primary);
  color: var(--color-light);
}


/* ==== HERO ==== */
.hero {
  background: var(--color-accent);
  padding: 48px 0 36px 0;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto 0 0;
}

/* ==== PAGE SECTIONS ==== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== CARD STYLES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.card {
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 3px 18px var(--color-shadow);
  padding: 34px 26px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 3px 16px var(--color-shadow);
  padding: 40px 0;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-left: 5px solid var(--color-secondary);
  box-shadow: 0 2px 7px var(--color-shadow);
  padding: 20px 24px;
  border-radius: 12px;
  transition: box-shadow 0.17s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 16px rgba(37,49,63,0.11);
  border-left: 5px solid var(--color-primary);
}
.testimonial-card p {
  color: var(--color-dark);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0;  /* remove default spacing for tightness */
}
.testimonial-user {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ==== BUTTONS ==== */
.cta, .content-wrapper a.cta {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 13px 36px;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-top: 16px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.21s, color 0.21s, box-shadow 0.14s, transform 0.15s;
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: var(--color-light);
  transform: scale(1.035) translateY(-2px);
  box-shadow: 0 6px 14px var(--color-shadow);
}

/* ==== ICONS IN LISTS ==== */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li img, ol li img {
  height: 22px;
  width: 22px;
  flex: 0 0 22px;
  margin-right: 6px;
  border-radius: 2px;
}

/* ==== MAP PLACEHOLDER & OPENING HOURS ========== */
.map-placeholder {
  background: var(--color-muted);
  color: var(--color-primary);
  border-radius: 12px;
  padding: 18px 28px;
  box-shadow: 0 2px 6px var(--color-shadow);
  margin: 16px 0;
}
.opening-hours {
  background: var(--color-light);
  padding: 14px 26px;
  border-radius: 12px;
  border-left: 6px solid var(--color-secondary);
  margin-top: 10px;
  color: var(--color-primary);
  box-shadow: 0 2px 6px var(--color-shadow);
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-light);
  border-top: 1px solid var(--color-muted);
  padding: 34px 0;
  position: relative;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  margin-bottom: 9px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 1.01rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
}
.footer-contact {
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.78;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  width: 100vw;
  background: var(--color-light);
  border-top: 2px solid var(--color-muted);
  box-shadow: 0 -2px 14px rgba(37,49,63,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 20px;
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  font-size: 1.03rem;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-banner__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-primary);
}
.cookie-consent-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 99px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-primary);
}
.cookie-btn.reject {
  background: #e6e6e9;
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ccbfc2;
}
.cookie-btn.settings {
  background: transparent;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 9px 18px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}

/* ==== COOKIE CONSENT MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,49,63, 0.18);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-light);
  padding: 36px 26px 26px 26px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 32px rgba(37,49,63,0.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1210;
}
.cookie-modal h2 {
  font-size: 1.36rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #f5fafd;
  border-radius: 9px;
  padding: 11px 13px;
}
.cookie-category-row label {
  font-weight: 600;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  width: 38px;
  height: 22px;
  background: var(--color-muted);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-secondary);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
  box-shadow: 0 1px 3px #bfd9ec55;
}
.toggle-switch input:checked + .toggle-slider:before {
  left: 17px;
}

/* ==== SHADOWS & RADIUS GLOBALLY ==== */
section, .content-wrapper, .card, .map-placeholder, .testimonial-card {
  border-radius: 14px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1100px) {
  .container { max-width: 99vw; }
}

@media (max-width: 950px) {
  .main-nav { gap: 13px; font-size: 0.97rem; }
  .hero h1 { font-size: 2.05rem; }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  .content-wrapper { padding-left: 0; padding-right: 0; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero { padding: 32px 0; }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; gap: 20px; }
  .container { padding-left: 7px; padding-right: 7px; }
  .card { min-width: 0; padding: 22px 13px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  .hero, section { padding: 18px 0; }
  .section { padding: 16px 7px; }
  .footer-contact { font-size: 0.9rem; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 19px 12px; font-size: 0.96rem; }
}

/* ==== ANIMATIONS ==== */
.card, .testimonial-card, .cta, .mobile-nav a, .cookie-btn, .toggle-slider {
  transition: box-shadow 0.14s, background 0.17s, color 0.17s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 18px rgba(50,55,70,0.10);
  transform: translateY(-3px) scale(1.01);
}

/* ==== MISCELLANEOUS ==== */
::-webkit-input-placeholder { color: #b5c0cc; opacity: 1; }
::-moz-placeholder { color: #b5c0cc; opacity: 1; }
:-ms-input-placeholder { color: #b5c0cc; opacity: 1; }
::placeholder { color: #b5c0cc; opacity: 1; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid var(--color-muted);
  padding: 11px 10px;
  margin-bottom: 14px;
}

/* ==== ERROR + SUCCESS MESSAGES ==== */
.form-success, .form-error {
  font-size: 1.04rem;
  margin-bottom: 12px;
  margin-top: 9px;
  border-radius: 6px;
  padding: 9px 15px;
  font-weight: 600;
}
.form-success { background: #e9f9ea; color: #287935; }
.form-error { background: #ffe9e9; color: #BF2F2F; }

/* ========== Scandinavian Natural Effect ========== */
section, .testimonials, .card, .map-placeholder, .opening-hours, .cookie-modal {
  /* a subtle paper/fabric background for "natural materials" touch */
  background: linear-gradient(135deg, #fffefb 88%, #f7f4ee 100%);
}

/* === Prevent Overlapping === */
section, .section, .content-wrapper, .card-container, .card, .testimonial-card, .map-placeholder, .opening-hours {
  margin-bottom: 20px;
}

/* ==== SCROLLBAR STYLES ==== */
body::-webkit-scrollbar {
  width: 11px;
  background: var(--color-accent);
}
body::-webkit-scrollbar-thumb {
  background: #e1e7eb;
  border-radius: 6px;
}

/* ==== Z-INDEX LAYERING ==== */
header, .mobile-menu, .mobile-menu-close, .cookie-consent-banner, .cookie-modal-overlay { z-index: 1000; }

/* ==== END ==== */
