/* Serenová Vrba, warm_friendly style, full Flexbox responsive CSS */

/* ======== CSS RESET/BASE ======== */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFF;
  color: #2E4D3D;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
a {
  color: #7F4B24;
  text-decoration: none;
  transition: color 0.2s, box-shadow 0.2s;
  outline: none;
}
a:focus, a:hover {
  color: #2E4D3D;
  text-decoration: underline;
}
button, .btn, .cta-btn {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ======== BRAND COLORS & FONTS ======== */
:root {
  --brand-primary: #2E4D3D;
  --brand-secondary: #D9C7B7;
  --brand-accent: #F2F2F2;
  --warm-coral: #FFD2B3;
  --warm-peach: #FFEFE2;
  --warm-yellow: #FFEED4;
  --warm-orange: #FFB066;
  --brand-shadow: rgba(46, 77, 61, 0.10);
  --brand-font-display: 'Merriweather', serif;
  --brand-font-body: 'Open Sans', Arial, sans-serif;
  --radius-large: 18px;
  --radius-medium: 12px;
  --radius-small: 8px;
  --shadow-main: 0 4px 20px var(--brand-shadow);
  --shadow-subtle: 0 2px 8px rgba(223, 156, 80, 0.07);
}

/* ======== TYPOGRAPHY ======== */
h1, .h1 {
  font-family: var(--brand-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: var(--brand-font-display);
  font-size: 2rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: var(--brand-font-display);
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--brand-font-display);
  color: var(--brand-primary);
  font-weight: 500;
}
p, li {
  font-family: var(--brand-font-body);
  font-size: 1rem;
  color: #3C2620;
  line-height: 1.65;
}
strong {
  font-weight: bold;
}
.subheadline {
  font-size: 1.1rem;
  color: #664C3A;
  margin-bottom: 16px;
}

/* ======== LAYOUT & SPACING ======== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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: 20px;
  background: var(--warm-peach);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: 24px 18px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-item:hover {
  box-shadow: 0 6px 30px rgba(255, 176, 102, 0.11);
  background: var(--warm-coral);
}

/* Responsive spacing on smaller screens */
@media (max-width: 600px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .section { margin-bottom: 38px; padding: 26px 10px; }
  .content-wrapper { gap: 18px; }
  .card { padding: 16px 8px; }
  .feature-item { padding: 16px 8px; }
  .testimonial-card { padding: 14px 7px; }
}

/* ======== HEADER & NAVIGATION ======== */
header {
  width: 100%;
  background: var(--brand-secondary);
  box-shadow: 0 2px 12px rgba(46,77,61,0.06);
  border-bottom-left-radius: var(--radius-large);
  border-bottom-right-radius: var(--radius-large);
  position: relative;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  max-width: 1120px;
  margin: 0 auto;
 }
nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
nav ul li a {
  font-family: var(--brand-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 8px 14px;
  border-radius: var(--radius-small);
  transition: background 0.15s, color 0.15s;
}
nav ul li a:focus, nav ul li a:hover {
  background: var(--brand-accent);
  color: #A3642A;
}
.logo img { height: 38px; }
.cta-btn {
  display: inline-block;
  background: #FFB066;
  color: #2E4D3D;
  font-family: var(--brand-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 26px;
  border: none;
  border-radius: var(--radius-large);
  box-shadow: 0 2px 8px rgba(223,156,80,0.11);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.13s;
  cursor: pointer;
  outline: none;
  margin-left: 12px;
}
.cta-btn:focus, .cta-btn:hover {
  background: #FFD2B3;
  color: #2E4D3D;
  box-shadow: 0 4px 22px rgba(223,156,80,0.14);
  transform: translateY(-2px);
}

/* ======== MOBILE MENU ======== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #FFF;
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-medium);
  padding: 6px 14px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 1060;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A3642A;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #FFF6ED;
  z-index: 1100;
  transition: transform 0.34s cubic-bezier(0.33,1,0.68,1);
  box-shadow: 0 6px 38px rgba(46, 77, 61, 0.18);
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
  overflow-y: auto;
  transform: translateX(-100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--brand-primary);
  border: none;
  font-size: 2.6rem;
  align-self: flex-end;
  margin-right: 16px;
  margin-top: 2px;
  cursor: pointer;
  z-index: 1200;
  border-radius: var(--radius-small);
  transition: background 0.10s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFB066;
  color: #2E4D3D;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding-left: 28px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: var(--brand-primary);
  padding: 14px 10px 14px 0;
  border-radius: var(--radius-small);
  transition: background 0.11s, color 0.11s;
  font-weight: 500;
  width: 90vw;
  max-width: 400px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD2B3;
  color: #A3642A;
}

@media (max-width: 960px) {
  nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 960px) {
  header nav {
    flex-wrap: wrap;
    padding: 10px 0;
  }
}

/* ======== MAIN HERO & PROMO ======== */
.hero-section {
  background: linear-gradient(135deg, #FFD2B3 60%, #FFF6ED 100%);
  border-radius: var(--radius-large);
  padding: 56px 0 40px 0;
  margin-bottom: 40px;
  box-shadow: 0 6px 30px var(--brand-shadow);
}
.hero-section h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.hero-section .cta-btn {
  margin-top: 18px;
}

.promo-section {
  background: linear-gradient(94deg,#FFB066 10%, #FFD2B3 100%);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-main);
  margin-bottom: 60px;
  padding: 38px 0 33px 0;
}
.promo-banner {
  background: var(--warm-yellow);
  color: #784218;
  font-weight: bold;
  border-radius: var(--radius-medium);
  padding: 15px 24px;
  text-align: center;
  margin: 20px 0 26px 0;
  font-size: 1.13rem;
  box-shadow: 0 2px 10px rgba(255, 176, 102, 0.15);
}

@media (max-width: 600px) {
  .hero-section, .promo-section {
    padding: 25px 0 15px 0;
  }
  .hero-section h1 { font-size: 1.45rem; }
  .promo-banner { font-size: 1rem; padding: 8px 4px; }
}

/* ======== FEATURES & CARDS ======== */
.features-section .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.features-section .feature-item img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-small);
}
.features-section .feature-item h3 {
  margin-bottom: 4px;
}
.features-section .feature-item p {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .features-section .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-item {
    max-width: 100%;
    min-width: unset;
    width: 100%;
  }
}

/* ======== TESTIMONIALS ======== */
.testimonials-section {
  margin-bottom: 60px;
}
.testimonials-section h2 {
  margin-bottom: 18px;
}
.testimonial-card {
  background: var(--warm-peach);
  color: #32251A;
  box-shadow: var(--shadow-main);
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #473925;
  font-family: var(--brand-font-body);
  line-height: 1.6;
}
.testimonial-card .author {
  color: #7F4B24;
  font-size: 0.97rem;
  font-style: italic;
  font-weight: 600;
  text-align: right;
  align-self: flex-end;
}

/* Contrast accessibility enforcement */
@media (prefers-color-scheme: light) {
  .testimonial-card { background: #FFF7EF; color: #32251A; }
}

/* ======== GENERIC LISTS & LINKS ======== */
ul { margin-bottom: 16px; margin-top: 4px; }
li {
  margin-bottom: 8px;
  list-style-position: outside;
}
ol {
  padding-left: 23px;
  margin-bottom: 16px;
}

/* ======== BOOK LISTINGS & CATALOGUE ======== */
.catalogue-section .filters {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  border-radius: var(--radius-small);
  background: var(--warm-peach);
  padding: 12px 18px;
}
.book-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 30px;
}
.book-item {
  background: var(--brand-accent);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: 20px 16px;
  min-width: 220px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.book-item:hover {
  box-shadow: 0 4px 16px rgba(255,176,102,0.12);
  background: #FFF6ED;
}
.btn-detail {
  display: inline-block;
  background: var(--warm-coral);
  color: #52361C;
  font-family: var(--brand-font-body);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-medium);
  margin-top: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.12s;
  box-shadow: 0 1px 3px rgba(223,156,80,0.11);
}
.btn-detail:focus, .btn-detail:hover {
  background: #FFD2B3;
  color: #2E4D3D;
}
.price-highlights ul {
  background: var(--warm-yellow);
  border-radius: var(--radius-small);
  padding: 14px 20px;
  box-shadow: var(--shadow-subtle);
  color: #704919;
  margin-top: 10px;
  margin-bottom: 4px;
}
.price-highlights li {
  margin-bottom: 5px;
}

/* ======== ABOUT & TEXT BLOCKS ======== */
.about-section, .legal-section, .thank-you-section, .contact-section, .services-section {
  background: #FFF;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-main);
  padding: 46px 0 38px 0;
  margin-bottom: 55px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.highlight-box {
  background: var(--warm-coral);
  padding: 18px 22px;
  border-radius: var(--radius-medium);
  color: #784218;
  font-size: 1.1rem;
  margin-top: 16px;
  box-shadow: var(--shadow-subtle);
}
.service-highlights {
  background: var(--warm-yellow);
  border-radius: var(--radius-medium);
  padding: 12px 18px;
  color: #664C3A;
  margin-top: 10px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-subtle);
}
.cta-box {
  background: var(--warm-peach);
  border-radius: var(--radius-small);
  padding: 16px 18px;
  margin-top: 14px;
}
.cta-box a {
  margin-left: 8px;
}

/* ======== MAP SECTION ======== */
.map-section {
  background: var(--warm-peach);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-main);
  margin-bottom: 42px;
  padding: 40px 0 30px 0;
}
.map-embed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #FFF;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: 16px 20px;
  margin-top: 14px;
  color: #52361C;
  font-size: 1rem;
}

/* ======== TABLES ======== */
.pricing-section table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--brand-accent);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  margin: 16px 0 14px 0;
}
.pricing-section th, .pricing-section td {
  padding: 11px 12px;
  text-align: left;
  font-size: 1rem;
}
.pricing-section th {
  background: var(--warm-yellow);
  color: #704918;
}
.pricing-section td {
  border-bottom: 1px solid #e7dec5;
}
.pricing-section tr:last-child td {
  border-bottom: none;
}
.pricing-section .note {
  color: #704918;
  margin-top: 8px;
  font-size: 0.98rem;
}

/* ======== FOOTER ======== */
footer {
  background: var(--brand-secondary);
  padding: 35px 0 12px 0;
  border-top-left-radius: var(--radius-large);
  border-top-right-radius: var(--radius-large);
  box-shadow: 0 -1px 12px rgba(46, 77, 61, 0.11);
  margin-top: 54px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.logo-footer img { height: 44px; }
.footer-nav {
  display: flex;
  gap: 28px;
  margin: 8px 0;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 0.98rem;
  font-family: var(--brand-font-body);
  transition: color 0.1s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #A3642A;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #52361C;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-small);
}
.footer-copy {
  color: #B68C56;
  font-size: 0.92rem;
  text-align: center;
  padding-top: 10px;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    gap: 16px;
    padding: 8px 0;
  }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-nav { gap: 13px; flex-wrap: wrap; }
}

/* ======== RESPONSIVE FLEX & ALIGN ======== */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .features-section .feature-grid {
    flex-direction: column !important;
    gap: 16px;
    align-items: stretch;
  }
  .content-wrapper { gap: 14px; }
  .feature-item, .card, .testimonial-card { min-width: unset; max-width: 100%; }
}

/* ======== HOVER EFFECTS & MICRO-INTERACTIONS ======== */
.card, .feature-item, .book-item, .testimonial-card, .promo-banner, .highlight-box, .service-highlights, .cta-box {
  transition: box-shadow 0.22s, background 0.21s, color 0.13s;
}

button:focus-visible, .cta-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible, .btn-detail:focus-visible {
  outline: 2px solid #FFB066;
  outline-offset: 2px;
}

/* ======== COOKIE CONSENT BANNER ======== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #FFF6ED;
  color: #52361C;
  box-shadow: 0 -2px 34px rgba(80,60,30,0.13);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font-size: 1rem;
  border-top-left-radius: var(--radius-large);
  border-top-right-radius: var(--radius-large);
  animation: cookieBannerSlideIn 0.7s;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 250px;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 7px 18px;
  font-family: var(--brand-font-body);
  font-size: 1rem;
  border-radius: var(--radius-medium);
  border: none;
  margin: 0 3px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(223,156,80,0.07);
  transition: background 0.11s, color 0.11s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #FFB066;
  color: #2E4D3D;
  font-weight: 700;
}
.cookie-btn.accept:focus, .cookie-btn.accept:hover {
  background: #FFD2B3;
  color: #783620;
}
.cookie-btn.reject {
  background: #FFEED4;
  color: #7F4B24;
}
.cookie-btn.reject:focus, .cookie-btn.reject:hover {
  background: #ECD6C0;
  color: #A3642A;
}
.cookie-btn.settings {
  background: #FFF;
  color: #2E4D3D;
  border: 1px solid #D9C7B7;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #FFD2B3;
  color: #784218;
  border-color: #FFB066;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.97rem;
    padding: 15px 8px;
    gap: 10px;
  }
  .cookie-actions { gap: 6px; width: 100%; justify-content: flex-start; }
}

.cookie-modal {
  position: fixed;
  z-index: 2500;
  left: 0; top: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,41,19,0.20);
  animation: cookieModalOpen 0.33s;
}
@keyframes cookieModalOpen {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF;
  padding: 38px 30px 28px 30px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-main);
  width: 97vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookiePopupSlideIn 0.42s;
}
@keyframes cookiePopupSlideIn {
  from { transform: translateY(32px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.25rem;
  font-family: var(--brand-font-display);
  color: #2E4D3D;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px; accent-color: #FFB066;
  border-radius: 6px;
}
.cookie-category label {
  font-size: 1rem;
  color: #3C2620;
}
.cookie-category.essential label { font-weight: 700; color: #2E4D3D; }
.cookie-category.essential input[type=checkbox] {
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 20px;
  background: none;
  border: none;
  color: #7F4B24;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.13s;
  border-radius: 6px;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #FFB066;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 14px 7px;
  }
}

/* ======== UTILITY CLASSES ======== */
.mb-12 { margin-bottom: 12px; }
.mb-20 { margin-bottom: 20px; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.flex-grow { flex-grow: 1; }

/* ======== ACCESSIBILITY ======== */
.sr-only {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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