/* === CSS RESET & BASELINE === */
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, menu, 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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F7FAFB;
  color: #174048;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #9B1016;
  text-decoration: none;
  transition: color .15s cubic-bezier(.33,1,.68,1);
}
a:hover, a:focus {
  color: #174048;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* === BRAND FONTS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #174048;
  line-height: 1.1;
}

h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;   /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
strong {
  color: #9B1016;
  font-weight: 600;
}

/* === GENERAL SCANDINAVIAN SECTION DESIGN === */
.section, section {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 10px rgba(27,38,44,0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(27,38,44,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  min-height: 86px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #174048;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom: 2px solid #9B1016;
  color: #9B1016;
}
.cta-btn {
  font-family: 'Roboto', Arial, sans-serif;
  background: #9B1016;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px rgba(155,16,22,0.08);
  border: none;
  cursor: pointer;
  margin-left: 12px;
  transition: background .17s cubic-bezier(.5,.02,0,1), box-shadow .15s;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174048;
  color: #fff;
  box-shadow: 0 4px 18px rgba(27,38,44,0.11);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #9B1016;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  line-height: 1;
  margin-left: 14px;
  transition: background .12s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #174048;
  background: #f4ebe7;
}

/* === HERO SECTION === */
.hero {
  background: #FDF6EC;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 32px rgba(155,16,22,0.07);
  padding: 64px 0 56px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero h1 {
  color: #9B1016;
  margin-bottom: 10px;
}
.hero h2 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 34px;
  color: #174048;
}

/* === SECTIONS & FLEXBOX LAYOUTS === */
.features {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 10px rgba(27,38,44,0.07);
  display: flex;
  flex-direction: column;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid, .tradition-grid, .crafts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid li, .tradition-grid li, .crafts-list li {
  flex: 1 1 calc(300px - 24px);
  min-width: 220px;
  background: #FDF6EC;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(27,38,44,0.10);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
}
.feature-grid li:hover, .tradition-grid li:hover, .crafts-list li:hover {
  box-shadow: 0 4px 24px rgba(155,16,22,0.12);
  transform: translateY(-4px) scale(1.009);
}
.feature-grid li img, .crafts-list li img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.feature-grid li strong, .tradition-grid li strong, .crafts-list li strong {
  font-size: 1.09rem;
  color: #9B1016;
}
.feature-grid li span, .tradition-grid li span, .crafts-list li span {
  font-size: 1rem;
  color: #174048;
  line-height: 1.3;
  margin-top: 5px;
}

/* === CARDS & CARD CONTAINERS === */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(27,38,44,0.07);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 260px;
  transition: box-shadow .15s, transform .13s;
}
.card:hover {
  box-shadow: 0 7px 30px rgba(155,16,22,0.10);
  transform: translateY(-2px) scale(1.007);
}

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

.testimonial-card {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(27,38,44,0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  border-left: 7px solid #9B1016;
  color: #174048;
  min-width: 220px;
  transition: box-shadow .14s, transform .15s;
}
.testimonial-card p {
  font-size: 1.09rem;
  font-style: italic;
  color: #174048;
  margin-bottom: 7px;
}
.testimonial-card strong {
  color: #174048;
  font-weight: 700;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

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

/* === LIST CARDS (RECIPES, SERVICES, ETC) === */
.recipe-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.recipe-cards li, .service-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(27,38,44,0.07);
  padding: 22px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 calc(280px - 24px);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow .16s, transform .14s;
}
.recipe-cards li strong, .service-list li strong {
  font-size: 1.07rem;
  color: #9B1016;
  margin-bottom: 3px;
}
.recipe-cards li span, .service-list li span {
  color: #174048;
}
.recipe-cards li:hover, .service-list li:hover {
  box-shadow: 0 4px 24px rgba(155,16,22,0.12);
  transform: translateY(-4px) scale(1.009);
}

.filter-options {
  margin-top: 16px;
  font-size: 1rem;
  color: #174048;
}
.filter-options strong {
  color: #9B1016;
}

/* === FOOTER STYLES === */
footer {
  background: #FDF6EC;
  margin-top: 60px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 18px rgba(27,38,44,0.04);
  padding: 35px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  color: #9B1016;
  font-size: 1rem;
  font-weight: 500;
  transition: color .14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #174048;
}
.contact-info {
  color: #174048;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
  min-width: 200px;
}
.contact-info img {
  margin-right: 5px;
  width: 18px;
  vertical-align: text-bottom;
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a {
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 1px 5px rgba(27,38,44,0.07);
  transition: box-shadow .15s, background .15s;
}
.social-links a:hover {
  background: #f8eadd;
  box-shadow: 0 2px 14px rgba(155,16,22,0.10);
}
.social-links img {
  width: 26px;
  height: 26px;
}

/* === CALLOUTS & CTA === */
.callout, .cta {
  background: #FDF6EC;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(27,38,44,0.09);
  padding: 36px 20px;
  margin-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.callout strong, .cta strong {
  font-size: 1.3rem;
  color: #9B1016;
}
.callout p, .cta p {
  font-size: 1.125rem;
  color: #174048;
  margin: 10px 0;
}

/* === ABOUT, LEGAL, CONFIRMATION, DETAILS === */
.about-snippet, .about, .legal, .confirmation, .contact-details {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 10px rgba(27,38,44,0.06);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.about-snippet .content-wrapper,
.confirmation .content-wrapper,
.legal .content-wrapper,
.contact-details .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-box {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.contact-box > div {
  flex: 1 1 230px;
  min-width: 200px;
  background: #FDF6EC;
  border-radius: 10px;
  padding: 18px 13px;
  color: #174048;
  font-size: 1rem;
}
.map-snippet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.075rem;
  margin-bottom: 20px;
}
.map-snippet img {
  width: 32px;
}

/* === FAQ & ARTISAN PROFILES === */
.faq .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq .content-wrapper > div {
  background: #fff;
  box-shadow: 0 2px 10px rgba(27,38,44,0.055);
  border-radius: 13px;
  padding: 18px 14px;
  min-width: 230px;
  flex: 1 1 260px;
  transition: box-shadow .11s;
}
.faq .content-wrapper > div h3 {
  margin-bottom: 9px;
  color: #9B1016;
  font-size: 1.08rem;
}
.artisan-profiles {
  background: #F7FAFB;
  border-radius: 12px;
  padding: 24px 16px;
  margin-top: 20px;
  box-shadow: 0 1px 5px rgba(27,38,44,0.05);
  font-size: 1rem;
}

/* === BUTTONS & INTERACTIONS === */
button, .cta-btn {
  outline: none;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #174048;
}

/* === MOBILE MENU OVERLAY ANIMATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(253,246,236,0.97);
  box-shadow: -4px 0 32px rgba(27,38,44,0.16);
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(.61,1,.88,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #9B1016;
  font-size: 2.2rem;
  padding: 18px;
  align-self: flex-end;
  cursor: pointer;
  margin: 10px 22px 0 0;
  border-radius: 8px;
  transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f4ebe7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 44px 0 0 40px;
  gap: 24px;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: #174048;
  font-weight: 500;
  border-radius: 8px;
  padding: 10px 0;
  transition: color .17s, background .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #9B1016;
  background: #fff;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #174048;
  box-shadow: 0 -2px 26px rgba(27,38,44,0.09);
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 22px 14px;
  font-size: 1rem;
  transition: transform .27s cubic-bezier(.35,1,.92,1);
  border-radius: 18px 18px 0 0;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner__text {
  flex: 1 1 200px;
  margin-right: 24px;
  color: #174048;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex: 0 0 auto;
}
.cookie-btn {
  background: #9B1016;
  color: #fff;
  border-radius: 20px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .15s, box-shadow .14s, color .13s;
  outline: none;
  box-shadow: 0 1px 6px rgba(155,16,22,0.08);
}
.cookie-btn.secondary {
  background: #174048;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #174048;
  border: 2px solid #174048;
  box-shadow: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #174048;
  color: #fff;
  box-shadow: 0 3px 14px rgba(155,16,22,0.13);
}
.cookie-btn.settings:hover {
  background: #fbdcd4;
  color: #9B1016;
  border-color: #9B1016;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,24,47,0.17);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.5,1,.68,1);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 56px rgba(27,38,44,0.17);
  padding: 34px 26px;
  min-width: 300px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #174048;
  animation: popin .36s cubic-bezier(.66,1,.68,1);
}
@keyframes popin {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #9B1016;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-switch-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-switch input[type="checkbox"] {
  accent-color: #9B1016;
  width: 22px;
  height: 22px;
}
.cookie-switch .essent {
  font-weight: 500;
  color: #174048;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 18px;
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
  .feature-grid, .tradition-grid, .crafts-list, .recipe-cards, .service-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer-nav, .contact-box {
    flex-direction: column;
    gap: 15px;
  }
  .footer-nav {
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 0 8px;
  }
  .hero {
    padding: 38px 0 26px 0;
    border-radius: 0 0 14px 14px;
  }
  .hero .container {
    padding: 0 8px;
  }
  .section, section, .about-snippet, .about, .legal, .confirmation, .contact-details, .features, .callout, .cta {
    padding: 24px 6px;
    border-radius: 10px;
  }
  .features .content-wrapper, .faq .content-wrapper, .recipe-cards, .service-list,
  .feature-grid, .tradition-grid, .crafts-list, .content-grid, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .contact-box {
    flex-direction: column;
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding: 0 4px;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 98vw;
    padding: 0 4px;
  }
  .footer-nav {
    font-size: 0.95rem;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.4rem !important; }
  h2 { font-size: 1.09rem !important; }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 13px 5px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-modal {
    padding: 19px 10px;
    min-width: 0;
  }
}


/* === MISC ADJUSTMENTS === */
::-webkit-input-placeholder { color: #abbcc0; opacity: 1; }
::-moz-placeholder { color: #abbcc0; opacity:1; }
:-ms-input-placeholder { color: #abbcc0; opacity: 1; }
::placeholder { color: #abbcc0; opacity: 1; }

hr {
  border: 0;
  border-top: 1px solid #ede4db;
  margin: 32px 0 24px 0;
}

/* === Hide elements utility === */
.is-hidden { display: none !important; }

/* === TRANSITIONS FOR MICRO-INTERACTIONS === */
.card, .testimonial-card, .feature-grid li, .tradition-grid li, .crafts-list li, .recipe-cards li, .service-list li, .faq .content-wrapper > div {
  transition: box-shadow .17s, transform .18s;
}

a, button, .cta-btn, .cookie-btn, .main-nav a, .footer-nav a {
  transition: color .16s, background .15s, box-shadow .15s;
}

/* === SCROLLBAR (minimalist) === */
body {
  scrollbar-color: #ebe2d6 #f8f5f2;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: #f7fafb;
}
::-webkit-scrollbar-thumb {
  background: #ede4db;
  border-radius: 6px;
}
