/* =====================================
   Vintage Retro CSS for Dárkový Svět
   Brand: Dárkový Svět (Gift World)
   Design: Vintage/Retro (mid-century, 60s inspiration)
   Layout: FLEXBOX ONLY
   ===================================== */

/* ============ 1. 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;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #fbf7ef;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #25517a;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #efb810;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
::selection {
  background: #efb810;
  color: #222;
}

/* ========== 2. Brand Colors & Retro Palette ============= */
:root {
  --primary: #25517a;      /* Brand Blue */
  --secondary: #efb810;    /* Brand Yellow */
  --accent: #ffffff;       /* Brand White */
  --retro-red: #b54a38;    /* Accent Retro Red */
  --retro-green: #77ab59;  /* Accent Retro Green */
  --retro-cream: #fbf7ef;  /* Vintage cream bg */
  --retro-brown: #a47c48;  /* Retro brown for borders */
  --retro-gray: #625957;   /* Muted gray for text */
  --shadow: rgba(60, 42, 19, 0.13);
}

/* ============ 3. Typography ============= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

body, html {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  background: var(--retro-cream);
  color: var(--retro-gray);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.375rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 1px 2px 0 var(--secondary), 0 2px 18px rgba(0,0,0,.036);
  line-height: 1.12;
}
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  /* Add retro underline */
}
h2:after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  background: var(--secondary);
  border-radius: 4px;
  margin-top: 6px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.subheadline {
  color: var(--retro-red);
  font-size: 1.17rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.012em;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--retro-gray);
}
blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff8da;
  border-left: 6px solid var(--secondary);
  color: var(--retro-brown);
  font-style: italic;
  padding: 18px 24px 14px 18px;
  margin: 18px 0;
  border-radius: 9px;
  font-size: 1.1rem;
}
strong, b {
  color: var(--retro-brown);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* =========== 4. Containers, Section Spacing & Layout ============= */
.container {
  max-width: 1160px;
  width: 100%;
  padding: 0 18px;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 4px 34px var(--shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
/* For inner splitter layouts:
.feature-grid, .content-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
*/
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 24px;
}
.card {
  background: #fff8da;
  border: 2px solid var(--retro-brown);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 16px var(--shadow);
  transition: transform .18s cubic-bezier(.77,.16,.07,1), box-shadow .18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 10px 32px rgba(194, 121, 35, 0.14);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 2px dashed var(--retro-green);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--shadow);
  position: relative;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px rgba(119,171,89,0.09);
}
.testimonial-card p {
  color: #26201b;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.testimonial-meta {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.012em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============ 5. Header / Navigation / Burger ============= */
header {
  background: var(--primary);
  color: var(--accent);
  position: relative;
  box-shadow: 0 8px 40px var(--shadow);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 0 3px;
  transition: color .16s, text-shadow .14s;
  text-shadow: 0 1px 0 #0b304c;
  letter-spacing: .03em;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  text-shadow: 0 1px 0 #cf9b10, 0 0 8px #fff8da;
}
.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.04rem;
  letter-spacing: 0.05em;
  border: 2px solid var(--primary);
  border-radius: 22px 8px 19px 8px / 16px 18px 8px 22px;
  padding: 11px 28px 12px;
  margin-left: 28px;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(39,81,122,0.08);
  transition: background .18s, color .16s, border-color .18s, transform .13s;
  display: inline-block;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 6px 18px rgba(239,184,16,0.14);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  padding-bottom: 17px;
}
header img[alt="Dárkový Svět"] {
  height: 54px;
  width: auto;
  margin-right: 28px;
  filter: drop-shadow(0 2px 8px #1b334c33);
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  padding: 5px 16px;
  border-radius: 10px;
  position: absolute;
  right: 16px;
  top: 21px;
  cursor: pointer;
  z-index: 14;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 8px 44px var(--shadow);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 44px 34px;
  transform: translateX(-120%);
  transition: transform .32s cubic-bezier(.22,.74,.43,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 7px 15px;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 14px;
  z-index: 100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-red);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  padding: 17px 0 8px 0px;
  border-bottom: 2px dashed var(--secondary);
  border-radius: 2px;
  width: 92%;
  transition: background .16s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-green);
  background: #17445e;
}

@media (max-width: 1050px) {
  header .container {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cta-btn { margin-left: 0; }
  .main-nav { gap: 20px; }
}
@media (max-width: 800px) {
  header .container { flex-direction: column; gap: 2px; padding: 10px 8px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 1rem; }
}
@media (max-width: 720px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== 6. Section, Card & Retro Decorations ========== */
section {
  position: relative;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 1.5rem;
  box-shadow: 0 4px 34px var(--shadow);
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 8px;
    border-radius: 1.2rem;
  }
  .content-wrapper { gap: 14px; }
}

/* ========== 7. Flex Utility (Mandated Classes) ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 315px;
  background: #fff8da;
  border: 2px solid var(--retro-brown);
  border-radius: 18px;
  padding: 22px 26px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 2px dashed var(--retro-green);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--shadow);
  position: relative;
  transition: box-shadow .2s;
}

@media (max-width: 595px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ========== 8. Lists, Links, Chips ========== */
ul, ol {
  padding-left: 22px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding: 4px 8px;
  margin: 0 4px 0 0;
  border-radius: 5px;
  transition: background .14s, color .14s;
}
nav a:hover, nav a:focus {
  background: #fff8da;
  color: var(--retro-red);
}
.footer-nav a {
  color: var(--retro-brown);
  font-size: .98rem;
  font-weight: 600;
  text-shadow: none;
  padding: 2px 5px;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #ebddc6;
  color: var(--primary);
}

/* ========== 9. Footer ========== */
footer {
  background: #eddbb2;
  color: var(--retro-brown);
  padding: 40px 0 18px 0;
  border-top: 3px solid var(--secondary);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-contact {
  font-size: 0.97rem;
  color: var(--retro-brown);
  opacity: .9;
  text-align: center;
}
.footer-copy {
  margin-top: 10px;
  color: var(--retro-brown);
  font-size: 0.97rem;
  opacity: 0.92;
}

@media (max-width: 700px) {
  footer .container {
    gap: 13px;
    padding: 0 3px;
  }
  .footer-nav {
    gap: 9px;
    flex-direction: column;
    align-items: center;
  }
}

/* ========== 10. Miscellaneous ========== */
.text-section {
  padding: 12px 0;
  color: var(--retro-gray);
}
.team-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-snippet {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8da;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 12px rgba(37,81,122,0.05);
}

/* ========== 11. Forms ========== */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.7px solid var(--primary);
  padding: 10px 12px;
  background: #fff8da;
  color: #333;
  transition: border-color .2s;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
}
button {
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border: none;
  transition: background .14s;
}
button:hover, button:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* ========== 12. Animations/Transitions ========== */
.section,
.card, .testimonial-card, .cta-btn, .mobile-menu, .cookie-banner {
  transition: box-shadow .18s, transform .13s, background .16s, color .16s, border-color .15s, opacity .22s, border-radius .27s;
}
.cta-btn, .main-nav a, .card, .testimonial-card, .mobile-menu-toggle {
  transition: background .16s, color .14s, box-shadow .18s, border-color .12s, transform .13s;
}

/* ========== 13. Retro Patterns & Decorative Elements ========== */
/* Simple repeating dot pattern for sections */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -18px;
  top: 16px;
  width: 14px;
  height: 70px;
  background: repeating-linear-gradient(
    to bottom, var(--retro-brown), var(--retro-brown) 3px, transparent 4px, transparent 14px
  );
  opacity: .13;
  pointer-events: none;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -20px;
  bottom: 14px;
  width: 18px;
  height: 63px;
  background: repeating-linear-gradient(
    to bottom, var(--retro-green), var(--retro-green) 3px, transparent 3px, transparent 12px
  );
  opacity: .10;
  pointer-events: none;
}

/* ========== 14. Cookie Consent Banner ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8da;
  color: #4a3322;
  border-top: 3px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  font-size: 1rem;
  box-shadow: 0 -4px 32px rgba(167,124,72,0.09);
  z-index: 1200;
  opacity: 1;
  pointer-events: auto;
  transition: transform .36s cubic-bezier(.67,.13,.37,1), opacity .2s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 8px 22px;
  font-size: 1.05rem;
  border-radius: 14px;
  border: 2px solid var(--secondary);
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: var(--secondary);
  color: var(--primary);
  margin-left: 7px;
  margin-right: 2px;
  cursor: pointer;
  transition: background .18s, color .16s, border-color .15s, box-shadow .13s;
  box-shadow: 0 1px 7px rgba(132, 117, 86, 0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.cookie-banner button.reject {
  background: #e1c097;
  color: var(--retro-red);
  border-color: var(--retro-brown);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: var(--retro-red);
  color: #fff;
  border-color: var(--secondary);
}
.cookie-banner button.settings {
  background: #eddbb2;
  color: var(--primary);
  border-color: var(--retro-brown);
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37, 81, 122, 0.41);
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff8da;
  border: 2px solid var(--secondary);
  border-radius: 18px;
  box-shadow: 0 7px 44px var(--shadow);
  padding: 32px 26px 22px 28px;
  color: #4a3322;
  min-width: 300px;
  max-width: 94vw;
  width: 410px;
  position: relative;
  animation: modalPop .42s cubic-bezier(.77,.1,.02,.97);
}
@keyframes modalPop {
  0% { transform: scale(.68) translateY(25px); opacity:0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.22rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--retro-brown);
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff5ce;
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1.2px solid var(--secondary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 17px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 11px;
  font-size: 1.36rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 3px 9px;
  cursor: pointer;
  transition: background .12s;
}
.cookie-modal .close-modal:hover {
  background: var(--retro-red);
  color: #fff;
}

/* ========== 15. Responsive Design ========== */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid { flex-direction: column; gap: 19px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.59rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1rem; }
  nav a, .main-nav a, .footer-nav a { font-size: .97rem; }
  .section, section { padding: 14px 2vw; }
  .cta-btn { font-size: 0.96rem; padding: 10px 13px 11px; border-radius: 14px 7px 11px 7px / 12px 10px 13px 13px; }
  .card, .testimonial-card { padding: 13px 11px; }
  .cookie-banner { flex-direction: column; gap: 15px; padding: 13px 3px; font-size: .98rem; }
  .cookie-modal { padding: 17px 13px 14px 13px; width: 96vw; }
}

/* ========== 16. Retro Icon Styling ========== */
.feature-grid img, .card img, .contact-details img, .map-snippet img {
  height: 40px;
  width: 40px;
  margin-right: 9px;
  filter: sepia(.45) contrast(1.06) brightness(1.06) drop-shadow(0 1px 4px #b6966e15);
  border-radius: 6px;
}

/* ========== 17. Accessibility & Focus ========== */
a, button, .cta-btn, input, select, textarea {
  outline: none;
}
a:focus, button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 2.5px var(--secondary) !important;
  border-radius: 8px;
}

/* END of CSS Style */
