/* ------------------------------------
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF9F3;
  color: #2B2726;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }

/* ------------------------------------
    FONTS
------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #FFF9F3;
  color: #2B2726;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #7C4E17;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-top: 32px; }
h3 { font-size: 1.5rem; margin-top: 24px; }
h4 { font-size: 1.1rem; margin-top: 16px; }
h5, h6 { font-size: 1rem; }
p, li, span, a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2B2726;
}
p { margin-bottom: 20px; }
strong { font-weight: bold; }
a{
  color: #7C4E17;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #9C6430;
  outline: none;
}

/* ------------------------------------
    GENERAL CONTAINERS
------------------------------------- */
.container {
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ------------------------------------
    LAYOUT SPACING & FLEX PATTERNS
------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(124,78,23,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #FFF9F3;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(44, 35, 14, 0.07);
  padding: 24px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #FFF9F3;
  border: 1px solid #FFDDAF;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(44, 35, 14, 0.05);
  max-width: 520px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px rgba(124,78,23,0.15);
  transform: translateY(-3px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAF4EC;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}

/* ------------------------------------
    HEADER & NAVIGATION
------------------------------------- */
header {
  background: #FFF;
  box-shadow: 0 2px 10px rgba(124, 78, 23, .05);
}
.brand-logo img {
  height: 54px;
  width: auto;
  margin: 14px 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #7C4E17;
  font-weight: 500;
  padding: 6px 0;
  transition: color .2s, border-bottom .2s;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.02em;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #2B2726;
  border-bottom: 2px solid #FFDDAF;
  outline: none;
}
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  background: #7C4E17;
  color: #fff !important;
  border-radius: 24px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  margin-left: 10px;
  box-shadow: 0 2px 12px rgba(124,78,23,0.11);
  border: none;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .16s, transform .18s;
  text-align: center;
}
.cta-button:hover,
.cta-button:focus {
  background: #9C6430;
  color: #FFDDAF !important;
  box-shadow: 0 8px 32px rgba(124,78,23,0.18);
  transform: translateY(-1px) scale(1.04);
  outline: none;
}

/* Hide mobile menu toggle by default (desktop) */
.mobile-menu-toggle {
  display: none;
  background: #FFDDAF;
  border: none;
  font-size: 2rem;
  color: #7C4E17;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 8px;
  margin-left: 12px;
  transition: background 0.18s, color 0.18s;
  z-index: 1201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFEACF;
  color: #402B13;
  outline: none;
}

/* -----------------
    Mobile Menu
------------------ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF9F3;
  z-index: 1200;
  padding: 24px 32px;
  box-shadow: 0 8px 60px rgba(44,35,14,0.17);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
  animation: mmenu-fadein 0.2s;
}
@keyframes mmenu-fadein {
  from { opacity: 0; transform: translateX(-100%); }
  to   { opacity: 1; transform: translateX(0%); }
}
.mobile-menu-close {
  background: #FFDDAF;
  border: none;
  font-size: 1.7rem;
  color: #7C4E17;
  border-radius: 8px;
  align-self: flex-start;
  margin-bottom: 32px;
  cursor: pointer;
  padding: 6px 16px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFEACF;
  color: #2B2726;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: #7C4E17;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 0;
  border-bottom: 1px solid #FFDDAF;
  transition: color .2s, border-bottom .2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #2B2726;
  background: #FFDDAF;
  outline: none;
  border-radius: 5px;
}

/* Show mobile menu button on mobile */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
}
@media (min-width: 1025px) {
 .mobile-menu { display: none !important; }
}

/* ------------------------------------
   BUTTONS & FORMS
------------------------------------- */
button,
input[type="submit"] {
  font-family: 'Merriweather', serif;
  font-weight: 600;
  border: none;
  background: #7C4E17;
  color: #fff;
  border-radius: 24px;
  cursor: pointer;
  padding: 10px 24px;
  font-size: 1rem;
  transition: background .18s, box-shadow .16s, color .16s, transform .18s;
}
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #9C6430;
  color: #FFDDAF;
  outline: none;
  transform: scale(1.04);
}
input[type="text"],
input[type="email"],
textarea {
  font-family: 'Lato', Arial, sans-serif;
  padding: 8px 14px;
  border: 1px solid #FFDDAF;
  border-radius: 8px;
  background: #FAF4EC;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  transition: border-color .15s, background .13s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #7C4E17;
  background: #fff;
  outline: none;
}

/* ------------------------------------
   UL, LI, FEATURE & ICON LISTS
------------------------------------- */
ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
ul li {
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2B2726;
}
ul li img {
  height: 26px;
  width: auto;
}
.text-section ul,
.text-section ol {
  margin-left: 0;
  padding-left: 0;
  gap: 14px;
}

/* ------------------------------------
   SPECIAL SECTIONS/FEATURE CARDS
------------------------------------- */
.text-section {
  background: #FFF9F3;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(124,78,23,0.05);
  padding: 32px 26px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta-section {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* ------------------------------------
   FOOTER
------------------------------------- */
footer {
  background: #FFF;
  box-shadow: 0 -2px 10px rgba(124, 78, 23, .03);
  padding-top: 32px;
  padding-bottom: 20px;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #7C4E17;
  transition: color .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2B2726;
}
.footer-info {
  text-align: center;
  color: #7C4E17;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ------------------------------------
   TESTIMONIALS
------------------------------------- */
.testimonial-card p {
  font-style: italic;
  font-size: 1.08rem;
  color: #2B2726;
  margin-bottom: 10px;
  margin-top: 8px;
  font-family: 'Merriweather', serif;
}
.testimonial-card span {
  font-family: 'Lato', Arial, sans-serif;
  color: #7C4E17;
  font-size: 1rem;
  font-style: normal;
  margin-left: 0;
}
.testimonial-card strong {
  color: #7C4E17;
  font-weight: 700;
}

/* ------------------------------------
   BLOG SEARCH/CATEGORY
------------------------------------- */
input[type="text"][placeholder] {
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #FFDDAF;
  margin-bottom: 16px;
  background: #FAF4EC;
  color: #2B2726;
}

/* Blog category highlight */
span[class*="Kategoria"] {
  color: #7C4E17;
  background: #FFDDAF;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 0.95rem;
  margin-left: 4px;
}

/* ------------------------------------
   RESPONSIVE DESIGN (mobile first)
------------------------------------- */
@media (max-width: 1024px) {
  .footer-nav { gap: 16px; }
  .header .container, .container { padding: 0 10px; }
}
@media (max-width: 900px) {
  .container { padding: 0 6px; }
  .section, .text-section { padding: 30px 8px; }
  .card, .testimonial-card { padding: 20px 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section { margin-bottom: 40px; padding: 24px 6px; }
  .text-image-section { flex-direction: column; gap: 20px; }
  .card-container, .content-grid { gap: 10px; }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 600px) {
  .brand-logo img { height: 40px; margin: 8px 0; }
  .section, .text-section { padding: 14px 4px; border-radius: 10px; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .container { padding: 0 2px; }
}

/* ------------------------------------
   MISC SPACING & CARD DESIGN
------------------------------------- */
.card, .feature-item, .testimonial-card {
  box-shadow: 0 1px 11px rgba(124,78,23,0.06);
  border-radius: 14px;
  background: #FFF9F3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF7EB;
  border-top: 2px solid #FFDDAF;
  box-shadow: 0 -2px 16px rgba(44, 35, 14, 0.10);
  padding: 20px 14px;
  z-index: 1600;
  font-family: 'Lato', Arial, sans-serif;
  gap: 26px;
  opacity: 1;
  animation: cookie-banner-slidein 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-banner-slidein {
  from { opacity: 0; transform: translateY(120%); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #2B2726;
  font-size: 1rem;
  margin: 0;
  flex: 1 1 0%;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: #7C4E17;
  color: #fff;
  padding: 9px 18px;
  border-radius: 16px;
  font-size: 1rem;
  border: none;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  outline: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #9C6430;
  color: #FFDDAF;
  transform: scale(1.04);
}
.cookie-banner .secondary-btn {
  background: #FFDDAF;
  color: #7C4E17;
  border: 1px solid #FFDDAF;
}
.cookie-banner .secondary-btn:hover, .cookie-banner .secondary-btn:focus {
  background: #FFF2D7;
  color: #7C4E17;
  border: 1px solid #7C4E17;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44, 35, 14, 0.23);
  z-index: 1700;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fadein 0.32s;
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 42px rgba(44,35,14,0.19);
  max-width: 420px;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  margin-bottom: 0;
  color: #7C4E17;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-modal-content label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #FFDDAF;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .17s;
}
.cookie-toggle:checked {
  background: #7C4E17;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 1px 7px rgba(44, 35, 14, 0.10);
  transition: left .17s, background .12s;
}
.cookie-toggle:checked:before {
  background: #FFDDAF;
  left: 18px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #7C4E17;
  position: absolute;
  top: 10px; right: 12px;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px 10px;
  transition: background 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFDDAF;
  color: #2B2726;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 15px;
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; gap: 18px; padding: 14px 2px; }
  .cookie-banner .cookie-buttons { width: 100%; justify-content: center; gap: 8px; }
  .cookie-modal-content { padding: 18px 7px 16px 7px; }
}

/* Hide when not visible */
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}

/* ------------------------------------
   UTILITIES
------------------------------------- */
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.text-center { text-align: center !important; }

/* Subtle fade-in animation for hero & sections */
.section, .text-section {
  opacity: 0;
  transform: translateY(32px);
  animation: section-fadein 0.9s ease-out 0.2s both;
}
@keyframes section-fadein {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------
   DARK MODE for testimonials (not actual dark UI, just strong contrast for testimonials)
------------------------------------- */
.testimonial-card {
  background: #fff;
  color: #2B2726;
  border: 1px solid #FFDDAF;
}

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