/* Mazlíček Arcadie – style.css: Vintage Retro Responsive UI
   Author: proweb / 2024
------------------------------------------------------------
*/
/* --- 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; scroll-behavior: smooth;}
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FAFAF3; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; cursor: pointer; transition: color 0.2s; }

/* --- VINTAGE RETRO BRAND PALETTE --- */
:root {
  --color-primary: #2462A4;
  --color-secondary: #4C9B56;
  --color-accent: #FAFAF3;
  --color-bg: #F9ECD7;   /* retro vanilla */
  --color-brown: #A27244;/* muted brown accent */
  --color-highlight: #FFD372; /* retro yellow */
  --color-orange: #FF834A; /* retro orange accent */
  --color-border: #E1C899;
  --color-text-main: #453626; /* dark warm brown for readability */
  --color-text-muted: #7F7259;
  --color-btn-ghost: #FFF6E4;
  --color-shadow: rgba(126, 74, 28, 0.10);
  --color-shadow-hover: rgba(36, 98, 164, 0.15);
}

/* --- VINTAGE RETRO TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@800;700;400&family=Roboto:wght@400;500;700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-text-main);
  font-size: 16px;
  background: var(--color-bg);
}
h1, h2, h3, h4 {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-shadow: 1px 3px 0 #FFD372;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--color-brown);
  text-shadow: 1px 1px 0 var(--color-highlight);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-secondary);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-orange);
}
p, li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-text-main);
}
strong { font-weight: 700; }

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  background: var(--color-accent);
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 32px var(--color-shadow);
  border: 2px dashed var(--color-border);
}

/* UI Card Layouts */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: #FFF6E4;
  border: 2px solid var(--color-border);
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 18px var(--color-shadow);
  padding: 28px 24px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--color-brown);
  box-shadow: 0 6px 32px var(--color-shadow-hover);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
}

.feature-grid, .service-list, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.feature-grid li, .service-list li, .contact-details li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-btn-ghost);
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 18px 17px 16px 17px;
  min-width: 220px;
  min-height: 140px;
}
.feature-grid img,
.service-list img,
.contact-details img {
  width: 38px; height: 38px;
  margin-bottom: 8px;
}

.usp-icons {
  display: flex;
  gap: 22px;
  margin: 12px 0 15px 0;
}
.usp-icons img {
  width: 44px;
  height: 44px;
}


/* --- TESTIMONIALS & SPECIAL CARD STYLES --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF6E4;
  border: 2px dotted var(--color-border);
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 280px;
  margin-right: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  color: #2C1810;
}
.testimonial-card blockquote {
  font-family: 'Nunito', serif;
  font-size: 1.14rem;
  font-style: italic;
  margin-bottom: 0;
  color: var(--color-brown);
}
.testimonial-meta {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 500;
}
.testimonial-card:hover {
  background: #FFEBC7;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--color-shadow-hover);
}


/* --- BUTTONS & CALL TO ACTIONS --- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 13px 38px;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  color: var(--color-accent);
  background: linear-gradient(90deg,#2462A4 85%, #FFD372 100%);
  border: 2px solid var(--color-primary);
  border-radius: 30px;
  box-shadow: 0 3px 10px var(--color-shadow);
  cursor: pointer;
  text-shadow: 1px 2px 0 var(--color-primary), 0 1px 0 var(--color-brown);
  letter-spacing: 0.06em;
  transition: background 0.22s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(120deg, #FFD372 60%, #FF834A 100%);
  color: var(--color-primary);
  border-color: var(--color-orange);
  box-shadow: 0 8px 36px var(--color-shadow-hover);
  transform: translateY(-2px) scale(1.04);
}

/* Ghost/secondary retro button for cookies and dialogs */
.btn-ghost {
  background: var(--color-btn-ghost);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 28px;
  padding: 10px 22px;
  font-weight: bold;
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-left: 9px; margin-right: 9px;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--color-highlight);
  color: var(--color-orange);
  border-color: var(--color-orange);
}


/* --- HEADER & NAVIGATION --- */
header {
  background: #FFF6E4;
  border-bottom: 3px solid var(--color-border);
  padding: 0;
  box-shadow: 0 2px 14px var(--color-shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px !important;
  margin-left: 18px;
}
header nav a {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 9px;
  border-radius: 17px;
  transition: background 0.13s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-highlight);
  color: var(--color-orange);
}
header a img {
  height: 54px;
  width: auto;
  margin-right: 18px;
}

/* --- MOBILE MENU (BURGER) --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 14px;
  padding: 8px 16px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
  z-index: 402;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-orange);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 90vw; max-width: 310px;
  background: #FFF6E4;
  box-shadow: 2px 0 44px var(--color-shadow-hover);
  z-index: 99990;
  transform: translateX(-115%);
  transition: transform 0.28s cubic-bezier(.53,1.12,.48,.92);
  opacity: 0.99;
  padding: 0 0 32px 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 2px 0 64px var(--color-shadow-hover);
}
.mobile-menu-close {
  border: none;
  background: transparent;
  color: var(--color-brown);
  font-size: 2rem;
  font-weight: 700;
  margin: 24px 19px 0 12px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 99996;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  padding: 12px 18px;
  background: transparent;
  color: var(--color-primary);
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  text-align: left;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-orange);
}

/* ---- OVERLAY, when menu is open (responsible from JS) ---- */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;width:100vw;height:100vh;
  background: rgba(40,24,6,0.26);
  z-index: 99989;
  transition: opacity 0.2s;
  opacity: 1;
}

/* --- MAIN CONTENT --- */
main {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 25px;
  margin-bottom: 24px;
}
section:not(:last-child) {
  margin-bottom: 44px;
}

/* --- FOOTER --- */
footer {
  background: #eadcc1;
  border-top: 3px solid var(--color-border);
  padding: 31px 0 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px 14px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-brand img {
  width: 42px;
  height: auto;
  margin-bottom: 6px;
}
.footer-brand strong {
  font-family: 'Nunito';
  font-size: 1.17rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.footer-menu {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-menu a {
  color: var(--color-brown);
  font-size: 0.98rem;
  transition: color 0.18s;
  font-family: 'Roboto';
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-orange);
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a img {
  width: 28px; height: 28px;
  filter: sepia(0.55) hue-rotate(-20deg) brightness(0.95);
  opacity: 0.88;
  transition: opacity 0.16s;
}
.footer-social a:hover img { opacity: 1; filter:none; }


/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 12340;
  background: linear-gradient(90deg,#FFF6E4 70%, #FFD372 100%);
  border-top: 3px solid var(--color-border);
  box-shadow: 0 -3px 16px var(--color-shadow);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 19px 24px;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-text-main);
  animation: cookie-banner-in 0.39s cubic-bezier(.74,-0.08,.37,1.23);
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0 12px 0 0;
  flex: 1 1 auto;
  font-size: 1rem;
}
.cookie-banner-btns {
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12341;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(40,24,6,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #FFF6E4;
  border: 2.5px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 30px 29px 32px;
  max-width: 420px;
  min-width: 285px;
  box-shadow: 0 12px 64px var(--color-shadow-hover);
  z-index: 12348;
  animation: modal-in 0.25s cubic-bezier(.43,1.22,.41,.93);
}
@keyframes modal-in {
  from { transform: scale(0.93); opacity: 0; } to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--color-primary);
}
.cookie-modal ul {
  margin: 17px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-toggle {
  width: 32px; height: 18px;
  border-radius: 11px;
  background: var(--color-border);
  position: relative;
  margin-left: 8px;
}
.cookie-toggle input {
  display: none; }
.cookie-toggle:before {
  content:'';
  position:absolute;
  top:2px; left:2px;
  width:14px;height:14px;
  border-radius:50%;
  background: var(--color-highlight);
  transition: left 0.2s, background 0.15s;
}
.cookie-toggle input:checked + .cookie-toggle:before {
  left:16px;
  background: var(--color-secondary);
}
.cookie-modal-btns {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: flex-end;
}

.cookie-modal .btn-accept {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  padding: 10px 23px;
}
.cookie-modal .btn-accept:hover {
  background: var(--color-orange);
  color: var(--color-brown);
}

/* --- FORM FIELD EXAMPLES --- */
input, textarea {
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 13px;
  background: #fff;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 10px;
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* --- RETRO PATTERNS (HEADER, SECTIONS, DECOR) --- */
header, .section, .card, .testimonial-card {
  background: repeating-linear-gradient(90deg, rgba(250,235,215,0.14) 0 4px,transparent 4px 32px), var(--color-accent);
}
.section {
  background: repeating-linear-gradient(135deg, #FFF6E4 0 13px, #F7EBCC 13px 26px);
  background-blend-mode: multiply;
}

/* --- SPECIAL DECORATIVE SHADOWS & RETRO EFFECTS --- */
.card, .testimonial-card, .section {
  box-shadow: 0 3px 16px var(--color-shadow);
  border-radius: 16px;
}

/* --- MISC ELEMENT SPACING RULES --- */
main > section, section > .container, section > .container > .content-wrapper {
  margin-bottom: 16px;
}
.card:not(:last-child) { margin-bottom: 24px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- TABLET & DESKTOP BREAKPOINTS --- */
@media (min-width: 769px) {
  .section { margin-bottom: 60px; padding: 48px 38px; }
  .content-grid, .feature-grid, .service-list, .contact-details {
    gap: 32px;
  }
  .card-container { gap: 32px; }
  .testimonial-card { gap: 32px; padding: 29px; }
  header .container { gap: 36px; }
  header nav { gap: 32px; }
  .text-image-section { flex-direction: row; gap: 48px; }
  footer .container {
    flex-direction: row;
    gap: 40px 38px;
  }
}

/* --- MOBILE-FIRST: STACKED LAYOUTS --- */
@media (max-width: 990px) {
  .container { max-width: 98vw; padding: 0 12px; }
  .feature-grid li, .service-list li, .contact-details li {
    flex: 1 1 140px;
    min-width: 170px;
    padding: 13px 9px 13px 11px;
  }
  .usp-icons img { width: 36px; height: 36px; }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; }
  .container {padding: 0 8px;}
  .section { padding: 27px 6vw; }
  .card-container, .content-grid, .feature-grid, .service-list, .contact-details {
    flex-direction: column;
    gap: 19px;
  }
  .card, .testimonial-card {
    min-width: 0;
    max-width: 98vw;
    padding: 16px 3vw 16px 4vw;
  }
  .text-image-section { flex-direction: column; gap: 19px; }
  footer .container { flex-direction: column; gap: 22px; align-items: flex-start; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .cta-primary { padding: 11px 19px; font-size: 1rem; }
  .card, .testimonial-card, .section {
    padding: 11px 3vw 13px 3vw;
  }
  .cookie-consent-banner { font-size: 0.97rem; padding: 10px 5px; gap: 8px; }
  .cookie-modal { padding: 19px 8px 16px 9px; min-width: 0; }
}

/* --- DETAILS FOR ACCESSIBILITY & HOVER FOCUS --- */
a:focus-visible, .cta-primary:focus-visible, .btn-ghost:focus-visible {
  outline: 2.5px solid var(--color-brown);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #FFD37255;
}

/* --- UTILITIES & RETRO BADGES --- */
.badge, .retro-badge {
  display: inline-block;
  background: var(--color-brown);
  color: #fff;
  font-family: 'Nunito';
  font-size: 0.95rem;
  border-radius: 13px;
  padding: 2px 10px;
  margin-left: 10px;
  box-shadow: 0 2px 6px var(--color-shadow);
}

/* --- PRINT --- */
@media print {  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }   }

/* --- Z-INDEX LAYERS --- */
header { z-index: 940; }
.mobile-menu { z-index: 99990; }
.mobile-menu-overlay { z-index: 99989; }
.cookie-consent-banner { z-index: 12340; }
.cookie-modal-overlay { z-index: 12341; }

/* --- NO GRID, ONLY FLEX --- */
/* All layouts using flex, grid forbidden by config */
/* --- THE END --- */
