/* ==========================================================
   PáraExpert Luxury Premium CSS
   Mobile-first, flexbox layouts only, luxury_premium aesthetic
   Colors, fonts, spacings, interactive elements per brief
   ========================================================== */

/* ---------- 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size:16px;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display:block; }
body { line-height:1.6; background:#FAFAFA; color:#23262B; min-height:100vh; font-family: 'Roboto', Arial, sans-serif; }
img { max-width:100%; display:block; height:auto; }
ul,ol { list-style:none; }
a { text-decoration:none; color:inherit; transition:color 0.2s; }
button, input, textarea, select { font-family: inherit; font-size:inherit; outline:none; border:none; background:none; }

/*------------------------------------------------------
   Brand Colors (Luxury Premium)
------------------------------------------------------*/
:root {
  --primary: #285178;
  --primary-rgb: 40, 81, 120;
  --secondary: #FAFAFA;
  --body: #23262B;
  --accent: #F2C230;
  --accent-dark: #c19d27;
  --footer: #23262B;
  --card-bg: #FFFFFF;
  --card-shadow: rgba(40,81,120,0.06);
  --input-bg: #F7F7F8;
  --focus-outline: #F2C230;
}

/*------------------------------------------------------
   Typography (Montserrat Display, Roboto Body)
------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--body);
  background: var(--secondary);
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; color: var(--primary); font-weight: 700; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}
p, ul, ol, li, table, label { font-size:1.08rem; color: var(--body); }
strong, b { color: var(--primary); font-weight:700; }
.text-section { margin-bottom: 20px; }

/*------------------------------------------------------
   Container, Wrappers, Alignment Patterns (FLEX ONLY)
------------------------------------------------------*/
.container {
  width:100%; max-width:1240px; margin:0 auto; padding:0 16px;
  display: flex; flex-direction: column; align-items: stretch;
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container, .service-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.card, .service-card {
  background: var(--card-bg);
  border-radius: 19px;
  box-shadow: 0 4px 24px var(--card-shadow);
  padding: 32px 22px 30px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 320px;
  max-width: 420px;
  border: 1px solid #ececec;
}
.service-card:before {
  content: '';
  position: absolute;
  top:0; left:0; width:6px; height:100%;
  background: var(--accent);
  border-radius: 19px 0 0 19px;
  opacity: 0.46;
}
.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;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*------------------------------------------------------
   Header, Nav, Logo
------------------------------------------------------*/
header {
  background: var(--secondary);
  border-bottom: 1.5px solid #eee;
  box-shadow: 0 2px 12px rgba(40,81,120,0.03);
  position: relative;
  z-index: 12;
}
header .container {
  padding: 0 20px;
  min-height: 80px;
}
.content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-left:32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  padding: 6px 0px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(.4,1.8,.6,1.2);
  margin: 0 auto 0 auto;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
/* Logo Sizing */
header img[alt="PáraExpert"] {
  height: 47px;
  width: auto;
}

/* CTA Button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 36px;
  border-radius: 27px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-transform: none;
  background: var(--card-bg);
  color: var(--primary);
  border: 2px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(40,81,120,0.05);
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  margin-left: 18px;
}
.cta.primary {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--accent);
  color: #23262B;
  border-color: var(--accent);
  box-shadow: 0 3px 17px rgba(242,194,48,.10);
}
.cta:not(.primary):hover, .cta:not(.primary):focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
}
.cta:active {
  box-shadow: 0 2px 5px var(--accent-dark);
}

/*------------------------------------------------------
   Service Grid and Cards
------------------------------------------------------*/
.service-grid {
  flex-wrap: wrap;
  display: flex;
  gap: 24px;
  margin: 24px 0 8px 0;
}
.service-card {
  flex: 1 1 290px;
  max-width: 346px;
  position:relative;
  z-index:2;
  overflow: hidden;
}
.service-card h3 {
  color: var(--primary);
  margin-bottom:12px;
}
.service-price {
  display:inline-block;
  font-weight:700;
  color: var(--accent);
  background: #fff7df;
  border-radius: 13px;
  padding: 6px 18px;
  margin-top:14px;
  margin-bottom: 12px;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
}
.service-card .cta {
  margin-top:auto;
}

/*------------------------------------------------------
   Testimonials (High Contrast, Card Layout)
------------------------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(40,81,120,0.09);
  padding: 20px 26px;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
  color: #23262B;
}
.testimonial-card p {
  color: #23262B;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.57;
}
.testimonial-card strong {
  color: var(--primary);
}

/*------------------------------------------------------
   Lists/Checklist Styles
------------------------------------------------------*/
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size:1.09rem;
  letter-spacing: 0.01em;
}
ul li:before {
  content: '\2022';
  color: var(--accent);
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
  font-size:1.24em;
  vertical-align: -0.18em;
}
ol li {
  list-style-type: decimal;
  margin-left:1.3em;
}
ol {
  margin-left: 22px;
}
ul li strong, ol li strong {
  font-weight: 700;
  color: var(--primary);
}

/*------------------------------------------------------
   Text Sections, Map Placeholders
------------------------------------------------------*/
.text-section {
  margin-bottom: 26px;
}
.map-placeholder {
  background: #f7f8fa;
  border: 1.5px dashed #dedede;
  border-radius: 12px;
  padding: 34px 16px;
  text-align: center;
  color: #888b99;
  font-style: italic;
  min-height: 70px;
}

/*------------------------------------------------------
   Footer Styles
------------------------------------------------------*/
footer {
  background: var(--footer);
  color: #fff;
  padding: 44px 0 28px 0;
}
footer .container {
  padding: 0 22px;
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0 0 4px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.foot-contact {
  font-size:1rem;
  line-height:1.56;
  color: #bcbec5;
  margin-top:8px;
}
.foot-contact a {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
  transition: color 0.15s;
}
.foot-contact a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}
footer img[alt="PáraExpert"] {
  width:49px; height:auto;
  margin-bottom: 8px;
}

/*------------------------------------------------------
   Mobile Navigation (Burger Menu)
------------------------------------------------------*/
.mobile-menu-toggle {
  display: inline-flex;
  position: fixed;
  right: 18px;
  top: 20px;
  background: var(--card-bg);
  color: var(--primary);
  font-size: 1.9rem;
  border: 2.5px solid var(--accent);
  border-radius: 45% 30% 45% 30%/45% 60% 45% 60%;
  box-shadow: 0 4px 16px rgba(40,81,120,0.10);
  z-index: 1111;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
  outline: none;
}
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: #23262B;
  box-shadow: 0 2px 12px 0 var(--card-shadow);
}
.mobile-menu {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(40,81,120,0.995); /* Premium blue overlay */
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.41s cubic-bezier(.68,-.55,.25,1.55), opacity 0.23s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--accent);
  background: none;
  border: none;
  margin: 22px 0 0 22px;
  cursor: pointer;
  align-self: flex-start;
  transition: color .19s;
  z-index: 2100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0 0 42px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.38rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing:.02em;
  padding: 7px 0 7px 3px;
  border-radius: 7px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
/* Hide desktop nav on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none !important;
  }
  .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 991px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/*------------------------------------------------------
   Cookie Consent Banner (Fixed Bottom)
------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -3px 32px 0 rgba(40,81,120,0.09);
  border-top: 1.5px solid #ececec;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 16px 19px 16px;
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2a2d32;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 27px;
  border: none;
  font-weight: 700;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.17s;
  margin-right: 2px;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .cookie-btn.accept {
  background: var(--accent);
  color: #23262B;
}
.cookie-banner .cookie-btn.reject {
  background: #ececec;
  color: var(--primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  filter: brightness(1.08);
  box-shadow: 0 2px 8px 0 rgba(242,194,48,.13);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,38,43,0.64);
  z-index:4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events:none;
  transition:opacity 0.19s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events:auto;
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px;
  border-radius: 21px;
  min-width: 310px;
  max-width: 97vw;
  box-shadow: 0 4px 26px 0 rgba(40,81,120,0.09);
  position:relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23262B;
  z-index: 4200;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.29rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-close {
  position:absolute;
  top:12px; right:14px;
  font-size:1.9rem;
  color: var(--primary);
  background: none;
  border:none;
  cursor:pointer;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom:2px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding: 7px 0;
}
.cookie-modal .cookie-category label {
  font-weight:500;
  color: var(--primary);
}
.cookie-modal .cookie-toggle {
  width:42px; height:24px;
  border-radius:20px;
  background:#ececec;
  position:relative;
  transition:background .17s;
  cursor:pointer;
  margin-left:6px;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background:var(--accent);
}
.cookie-modal .cookie-toggle-bar {
  position:absolute; left:3px; top:2.2px;
  width:20px; height:19.6px;
  border-radius:50%;
  background:#fff;
  transition: left .18s;
  box-shadow: 0 1px 5px 0 rgba(40,81,120,0.08);
}
.cookie-modal .cookie-toggle[aria-checked="true"] .cookie-toggle-bar {
  left: 19px;
}
.cookie-modal .cookie-category.essential label:after {
  content:' (nutné)';
  color:#8b8b95;
  font-size:0.97em;
  font-weight: 400;
  margin-left: 4px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 5px;
}

/* ----------------------------------------------------
   Responsive Layouts & Mobile Adjustments
------------------------------------------------------*/
@media (max-width: 1199px) {
  .container { max-width:1000px; }
}
@media (max-width: 991px) {
  .container { max-width: 900px; }
  .content-wrapper { flex-direction: column; align-items: stretch; gap: 18px; }
}
@media (max-width: 820px) {
  .container { max-width: 600px; }
  .service-card { padding: 26px 10px 22px 17px; min-width: 0; }
  .footer-nav {
    gap:5px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 7px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 13px;
  }
  .service-card {
    flex:1 1 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 18px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.02rem; }
  .footer-nav a { font-size:1rem; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav {
    margin-left: 21px;
    margin-top: 20px;
    gap: 14px;
  }
}

/* ----------------------------------------------------
   Utility classes and details
------------------------------------------------------*/
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mb-1 { margin-bottom: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mb-2 { margin-bottom: 20px !important; }

/* Decorative Gold Line (Luxury accent) */
.accent-line {
  width: 60px;
  height: 5px;
  background: var(--accent);
  border-radius: 10px;
  margin: 0 0 22px 0;
}

/*------------------------------------------------------
   Accessible Focus Styles
------------------------------------------------------*/
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--focus-outline);
  outline-offset: 3px;
  box-shadow: 0 0 0 2.5px var(--accent);
}

/*------------------------------------------------------
   Subtle Micro-interactions and Card Shadows
------------------------------------------------------*/
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.18s cubic-bezier(.4,2,.3,1),
              transform 0.18s cubic-bezier(.4,2,.3,1);
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(40,81,120,0.14);
  transform: translateY(-3.5px) scale(1.02);
  z-index: 10;
}

/*------------------------------------------------------
   Forms (in case any added on Kontakt or other pages)
------------------------------------------------------*/
input, textarea, select {
  background: var(--input-bg);
  border: 1.5px solid #d9d9de;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  color: var(--body);
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  background: #fff;
}
label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

/*------------------------------------------------------
   Z-index and Layer Details
------------------------------------------------------*/
header, .mobile-menu-toggle { z-index: 1111; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 4000; }
.cookie-modal-overlay { z-index: 4100; }

/* Hide cookie modal on small devices when off */
@media (max-width: 430px) {
  .cookie-modal { min-width: 0; padding: 20px 7px; }
}

/*------------------------------------------------------
   Miscellaneous (Prevent Overlap/Box Sizing)
------------------------------------------------------*/
* {
  box-sizing: border-box;
}

/* Remove unwanted page spacing */
body > main,
body > footer {
  display: block;
  width:100%;
  min-width:0;
}

/* Prevent text-overlap in tightly spaced cards */
.card *, .service-card *, .testimonial-card * {
  min-width: 0;
  word-break: break-word;
  hyphens: auto;
}

/*--------------------------- END -------------------------*/
