/* ===============================
   RESET & BASELINE NORMALIZATION
   =============================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F8F3EC;
  color: #47362B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
a {
  color: #285656;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.55,.07,1,.44);
}
a:hover, a:focus {
  color: #7C5C48;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 20px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #47362B;
}
h1 {
  font-size: 2.4rem;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(124,92,72,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 600px) {
  section {
    padding: 48px 42px;
  }
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .content-wrapper {
    gap: 32px;
  }
  .text-section {
    gap: 24px;
  }
}

/* ===============================
   VINTAGE RETRO COLOR PALETTE
   =============================== */
:root {
  --c-primary: #7C5C48;
  --c-primary-dark: #5c4537;
  --c-secondary: #285656;
  --c-secondary-dark: #1a3535;
  --c-accent: #EDE7DD;
  --c-background: #F8F3EC;
  --c-border: #D4B393;
  --c-highlight: #FFCF82;
  --c-red: #C2674A;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: var(--c-accent);
  border-bottom: 3px solid var(--c-primary);
  padding: 0;
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img[alt="Domovná Inspirace"] {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--c-primary);
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 7px 15px;
  border-radius: 28px;
  transition: background 0.18s cubic-bezier(.68,.02,.95,.16), color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--c-primary);
  color: #fff;
  text-decoration: none;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--c-secondary);
  box-shadow: 0 2px 12px 0 rgba(40,86,86,0.1);
  outline: none;
}
/* Hide menu toggle on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle {display:none;}
}
/* Hide main nav on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
}

/* ===============================
   MOBILE BURGER MENU STYLES
   =============================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1300;
  background: var(--c-accent);
  box-shadow: 6px 0 30px 0 rgba(124,92,72,.08);
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.47,.22,.73,.99);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--c-primary);
  font-size: 2.2rem;
  padding: 14px 16px 6px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--c-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 0 32px 32px;
  width: 100vw; /* full width touch targets */
}
.mobile-nav a {
  color: var(--c-primary);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.22rem;
  padding: 14px 12px 10px 0;
  border-radius: 0 22px 22px 0;
  transition: background 0.15s, color 0.15s;
  width: calc(100vw - 64px);
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--c-highlight);
  color: var(--c-secondary);
  text-decoration: none;
}
@media (min-width: 1025px) {
  .mobile-menu {display:none;}
}

/* ===============================
   HERO, SECTIONS, and GENERAL LAYOUTS
   =============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .testimonials, .features-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(124,92,72,0.08);
}
.card {
  padding: 24px 18px;
}
.feature {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 18px 18px 18px;
  border: 1.5px dashed var(--c-border);
  margin-bottom: 20px;
  background: var(--c-accent);
  transition: box-shadow 0.22s cubic-bezier(.5,.2,.7,1.1), border-color 0.2s;
}
.feature img {
  width: 54px;
  height: 54px;
  border-radius: 12px 24px 12px 24px;
  background: #ece1d1;
  margin-bottom: 4px;
}
.feature:hover, .feature:focus {
  box-shadow: 0 2px 32px 0 rgba(40,86,86,0.09);
  border-color: var(--c-primary);
  z-index: 1;
}
.features-grid {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
.content-grid {
  justify-content: space-between;
  gap: 20px;
}
.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: 22px;
  }
}

/* ===============================
   CTA BUTTONS
   =============================== */
.cta-primary {
  display: inline-block;
  background: var(--c-primary);
  color: #fff !important;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 34px 14px 24px;
  border-radius: 30px;
  box-shadow: 0 3px 13px 0 rgba(124,92,72,.09);
  border: none;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.3px;
  transition: background 0.17s, box-shadow 0.2s, transform 0.14s;
  position: relative;
  overflow: hidden;
}
.cta-primary::after {
  content: '\2192';
  margin-left: 13px;
  font-size: 1.1em;
  transition: margin-left 0.17s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--c-secondary);
  color: #fff;
  box-shadow: 0 6px 14px 0 rgba(40,86,86,0.18);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}
.cta-primary:hover::after,
.cta-primary:focus::after {
  margin-left: 20px;
}

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fffdf7;
  border-left: 8px solid var(--c-secondary);
  border-radius: 12px;
  box-shadow: 0 3px 20px 0 rgba(124,92,72,0.081);
  padding: 20px 32px 18px 22px;
  color: #36413B;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 280px;
  font-size: 1.08rem;
}
.testimonial-card strong {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  color: var(--c-primary);
  margin-top: 8px;
  letter-spacing: 0.2px;
}
@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    width: 100%;
  }
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: var(--c-primary);
  color: #fff;
  padding: 0;
  border-top: 7px double var(--c-border);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 38px 0 26px 0;
  font-size: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 150px;
  max-width: 300px;
  margin-right: 20px;
}
.footer-links a {
  color: #fff;
  opacity: 0.96;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1px;
  transition: color 0.13s, opacity 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--c-highlight);
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 270px;
}
.footer-contact a {
  color: var(--c-highlight);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  background: #fff6de;
  padding: 7px;
  border-radius: 50%;
  border: 2px solid #EDD1A1;
  transition: border-color 0.15s, box-shadow 0.17s;
}
.footer-social a:hover, .footer-social a:focus {
  border-color: var(--c-highlight);
  box-shadow: 0 2px 8px 0 rgba(255,207,130,0.18);
}
.footer-social img {
  width: 26px;
  height: 26px;
}
@media (max-width: 850px) {
  .footer-content { flex-direction: column; gap: 28px; }
  .footer-links, .footer-contact, .footer-social { max-width: 100%; }
}

/* ===============================
   CONTENT CARDS & PATTERNS
   =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid var(--c-border);
  background: var(--c-accent);
  border-radius: 18px;
  padding: 24px 18px;
  box-shadow: 0 2px 18px 0 rgba(124,92,72,0.10);
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.17s, border 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px 0 rgba(40,86,86,0.11);
  border-color: var(--c-primary);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============================
   TYPOGRAPHY SCALE
   =============================== */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  h3 { font-size: 1.05rem; }
  body, .footer-content { font-size: 15px; }
}
@media (min-width: 900px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.35rem; }
  body { font-size: 17px; }
}

/* ===============================
   BLOCKQUOTES, LISTS, FORMS (Default Styling)
   =============================== */
blockquote {
  background: #f9ecd9;
  color: #5c4537;
  font-style: italic;
  border-left: 6px solid var(--c-primary);
  padding: 1.4em 2em 1.2em 1.6em;
  border-radius: 10px;
  margin-bottom: 22px;
}
input,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(124,92,72,.04);
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-primary);
}
button {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.04rem;
  background: var(--c-secondary);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 rgba(40,86,86,0.07);
}
button:hover, button:focus {
  background: var(--c-secondary-dark);
  box-shadow: 0 3px 10px 0 rgba(40,86,86,0.16);
  outline: none;
}

/* ===============================
   COOKIE CONSENT BANNER STYLES
   =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--c-primary);
  color: #fff;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -2px 30px 0 rgba(124,92,72,.16);
  z-index: 2200;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.05rem;
}
.cookie-banner__text {
  flex: 1 1 260px;
  min-width: 170px;
  font-size: inherit;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-banner button {
  background: var(--c-highlight);
  color: var(--c-primary);
  border: none;
  border-radius: 24px;
  font-family: 'Merriweather', Georgia, serif;
  padding: 11px 22px;
  font-size: 1rem;
  margin-right: 6px;
  cursor: pointer;
  font-weight: 500;
  min-width: 90px;
  transition: background 0.14s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 1px 7px 0 rgba(255,207,130,.13);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff6de;
  color: var(--c-secondary);
  box-shadow: 0 2px 12px 0 rgba(255,207,130,.19);
  outline: none;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--c-red);
  border: 2px solid var(--c-red);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--c-red);
  color: #fff;
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2300;
  transform: translate(-50%, -50%) scale(1);
  background: #fffdf9;
  border: 3px solid var(--c-primary);
  border-radius: 18px;
  box-shadow: 0 12px 64px 0 rgba(124,92,72,0.21);
  min-width: 87vw;
  max-width: 420px;
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.31s, transform 0.31s cubic-bezier(.53,.07,.76,1.25);
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -55%) scale(.93);
}
.cookie-modal__header {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.17rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1rem;
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 7px;
}
.cookie-modal__toggle {
  appearance: none;
  width: 35px;
  height: 22px;
  background: var(--c-border);
  border-radius: 14px;
  border: 1.5px solid var(--c-primary);
  position: relative;
  transition: background 0.14s;
  outline: none;
  cursor: pointer;
}
.cookie-modal__toggle:before {
  content: '';
  width: 17px;
  height: 17px;
  background: var(--c-primary);
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 1.5px;
  transition: transform .20s cubic-bezier(.52,0,.75,1.3), background .22s;
}
.cookie-modal__toggle:checked:before {
  background: var(--c-highlight);
  transform: translateX(13px);
}
.cookie-modal__toggle[disabled], .cookie-modal__toggle[aria-disabled=true] {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal__label {
  font-size: 1.09em;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--c-secondary-dark);
}
.cookie-modal__desc {
  color: #735c4a;
  margin-top: -9px;
  font-size: 0.97em;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  min-width: 77px;
}
@media (max-width: 700px) {
  .cookie-modal { padding: 24px 11vw 20px 11vw; min-width: 96vw; }
  .cookie-banner { flex-direction: column; font-size: 0.98rem; }
}

/* ===============================
   MISCELLANEOUS / ANIMATIONS
   =============================== */
@media (max-width: 600px) {
  .footer-content, .content-wrapper {
    padding-left: 0; padding-right: 0;
  }
  .footer-links, .footer-contact, .footer-social {
    margin-left: 0; margin-right: 0;
  }
  .features-grid, .card-container, .testimonials, .content-grid {
    flex-direction: column;
    gap: 20px !important;
  }
  section, .section { padding: 28px 8px; }
}
@media (max-width: 500px) {
  section, .section { padding: 19px 1vw; }
}

/* Microinteractions */
.card, .feature, .testimonial-card, .cta-primary, button, .main-nav a, .footer-links a, .footer-social a, .mobile-nav a {
  transition: box-shadow 0.17s, border 0.15s, background 0.17s, color 0.13s, transform 0.14s;
}
.card:hover, .feature:hover, .testimonial-card:hover {
  transform: scale(1.025) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(124,92,72,0.20);
  z-index: 2;
}

/* Retro details – dotted lines, ornaments */
hr {
  border: none;
  border-top: 3px dotted var(--c-border);
  margin: 32px 0 28px 0;
}
.pattern-border {
  border-bottom: 5px double var(--c-border);
  padding-bottom: 13px;
}

/* ===============
   PRINT STYLE
   =============== */
@media print {
  header,.main-nav, .mobile-menu, .cookie-banner, .cookie-modal, footer { display:none !important; }
  section, .section { box-shadow:none !important; border:none !important; background:#fff !important; }
}

/* ================
   UTILITY CLASSES
   ================ */
.d-none { display: none !important; }
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* ================
   END OF CSS
   ================ */
