/* =====================================================================
   Rudolf Kóňa – Čalúnnictvo  ·  daibau.css
   Vlastná nadstavba nad šablónou Grand.
   Drží pôvodné písmo, farby a animácie šablóny a pridáva:
   – mac-OS tiene a animácie obrázkov
   – komponenty pre remeselný/servisný web (proces, cenník, referencie, FAQ)
   – dôkladný responzívny dizajn pre tablet a mobil
   ===================================================================== */

:root {
  --gold: #c2a773;
  --gold-dark: #b7984f;
  --gold-soft: #e8dcc1;
  --ink: #2e2d25;
  --text: #4a4a44;
  --muted: #8a8a82;
  --cream: #f7f4ee;
  --line: #ece7dd;
  --mac-shadow: 0 18px 40px -12px rgba(46, 45, 37, .28), 0 8px 16px -8px rgba(46, 45, 37, .18);
  --mac-shadow-hover: 0 34px 60px -16px rgba(46, 45, 37, .38), 0 12px 22px -10px rgba(46, 45, 37, .22);
}

body { color: var(--text); }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', 'Lato', Arial, sans-serif; color: var(--ink); }
a { transition: color .25s ease; }
a:hover { color: var(--gold-dark); }

/* ---------- Pomocné triedy ---------- */
.bg-cream { background: var(--cream); }
.text-gold { color: var(--gold-dark) !important; }
.mt-gap { margin-top: 30px; }

/* ---------- Tlačidlá ---------- */
.btn-gold,
a.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 13px 34px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(183, 152, 79, .8);
  transition: all .3s ease;
}
.btn-gold:hover,
a.btn-gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(183, 152, 79, .9); }

.btn-outline,
a.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 11px 30px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all .3s ease;
}
.btn-outline:hover,
a.btn-outline:hover { background: var(--gold); color: #fff; }

/* =====================================================================
   mac-OS TIENE A ANIMÁCIE OBRÁZKOV
   ===================================================================== */
.product-img img,
.single-service .service-img,
.blog-img img,
.single-banner img,
.about-img img,
.gallery-item img,
.static-slider-img img,
.process-photo img,
.mac-shadow img,
.mac-img {
  border-radius: 12px;
  box-shadow: var(--mac-shadow);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.product-img:hover img,
.blog-img:hover img,
.single-banner:hover img,
.about-img:hover img,
.gallery-item:hover img,
.process-photo:hover img,
.mac-shadow:hover img,
.mac-img:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--mac-shadow-hover);
}

/* jemné zaoblenie a tieň aj na rámcoch kariet */
.single-new-product,
.single-blog,
.single-service { transition: transform .4s ease; }

/* galéria – zachová pomer strán pekne orezaný */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; display: block; }
.gallery-item .gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 16px; color: #fff;
  background: linear-gradient(to top, rgba(46,45,37,.82), rgba(46,45,37,0));
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
  opacity: 0; transform: translateY(10px); transition: all .4s ease;
  border-radius: 0 0 12px 12px;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

/* =====================================================================
   HLAVIČKA – horný kontaktný pruh
   ===================================================================== */
.header-top-area { background: var(--ink); }
.topbar-info { margin: 0; padding: 0; list-style: none; display: flex; gap: 26px; align-items: center; }
.topbar-info li { color: #d8d3c8; font-size: 13px; letter-spacing: .3px; }
.topbar-info li i { color: var(--gold); margin-right: 7px; }
.topbar-info a { color: #d8d3c8; }
.topbar-info a:hover { color: var(--gold); }
.topbar-social { margin: 0; padding: 0; list-style: none; display: flex; gap: 14px; justify-content: flex-end; align-items: center; }
.topbar-social a { color: #b6b1a6; font-size: 14px; }
.topbar-social a:hover { color: var(--gold); }

/* centrované logo (Home 2) */
.logo img, .logo2 img { max-height: 64px; width: auto; }
.header-bottom-area.home-page-2 { border-bottom: 1px solid var(--line); }

/* pravý blok v hlavičke – telefón CTA */
.header-cta { text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.header-cta .call-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.header-cta .call-txt span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.header-cta .call-txt strong { font-size: 19px; color: var(--ink); font-family: 'Montserrat', sans-serif; }

/* navigácia – svetlý, dobre čitateľný pruh */
.mainmenu-area.home-page-2 { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 6px 22px -14px rgba(46,45,37,.45); }
.mainmenu-area.home-page-2 .mainmenu { text-align: center; }
.mainmenu nav > ul > li > a { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: .6px; }
/* prebije šablónové .mainmenu-area.home-page-2 .mainmenu ul li a (#444 / aktívna #e73b49) */
.mainmenu-area.home-page-2 .mainmenu ul li a { color: var(--ink); font-weight: 600; }
.mainmenu-area.home-page-2 .mainmenu ul li.active > a,
.mainmenu-area.home-page-2 .mainmenu ul li a:hover { color: var(--gold-dark); }
#main_h.sticky { background: #fff; }

/* =====================================================================
   SLIDER – text cez fotky čalúnenia
   ===================================================================== */
.slider-area .nivo-caption,
.slider-area-2 .nivo-caption { background: transparent; }
.nivoSlider img { object-fit: cover; }
.slider-area .nivoSlider, .slider-area-2 .nivoSlider { height: 580px; }
.slider-area .nivoSlider img, .slider-area-2 .nivoSlider img { height: 580px; }
/* tmavý prechod pre čitateľnosť textu cez fotku */
.slider-area .nivoSlider:after, .slider-area-2 .nivoSlider:after {
  content: ""; position: absolute; inset: 0; z-index: 7; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,17,13,.78) 0%, rgba(18,17,13,.55) 34%, rgba(18,17,13,.12) 66%, rgba(18,17,13,0) 100%);
}
.nivo-controlNav { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; z-index: 9; }
.nivo-controlNav a { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); margin: 0 5px; text-indent: -9999px; overflow: hidden; cursor: pointer; transition: all .3s ease; }
.nivo-controlNav a.active { background: var(--gold); width: 28px; border-radius: 6px; }
#scrollUp { background: var(--gold); color: #fff; border-radius: 8px; width: 46px; height: 46px; line-height: 46px; text-align: center; right: 22px; bottom: 22px; font-size: 22px; box-shadow: var(--mac-shadow); }
#main_h.sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 999; box-shadow: 0 6px 20px -8px rgba(0,0,0,.3); animation: slideDownH .4s ease; }
@keyframes slideDownH { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (max-width: 991px) { .slider-area .nivoSlider, .slider-area-2 .nivoSlider, .slider-area .nivoSlider img, .slider-area-2 .nivoSlider img { height: 440px; } }
@media (max-width: 767px) {
  .slider-area .nivoSlider, .slider-area-2 .nivoSlider, .slider-area .nivoSlider img, .slider-area-2 .nivoSlider img { height: 380px; }
  .slider-area .nivoSlider:after, .slider-area-2 .nivoSlider:after { background: linear-gradient(90deg, rgba(18,17,13,.82) 0%, rgba(18,17,13,.6) 60%, rgba(18,17,13,.4) 100%); }
}
.slide_all_1 h1, .slide_all_2 h1,
.slide_all_1.home-2 h1, .slide_all_2.home-2 h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  color: #ffffff !important;
  font-size: 48px !important;
  line-height: 1.12 !important;
  margin-bottom: 8px;
  text-shadow: 0 3px 22px rgba(0,0,0,.8), 0 1px 4px rgba(0,0,0,.65);
}
.slide-kicker {
  display: inline-block; background: var(--gold); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; padding: 7px 16px; border-radius: 3px;
  margin-bottom: 16px;
}
.slide-lead { color: #fbf9f4; font-size: 17px; max-width: 470px; line-height: 1.65; margin: 6px 0 22px; text-shadow: 0 2px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.slider-btn.home-2 a, .slider-btn a {
  background: var(--gold); border-radius: 4px; font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.4px; transition: all .3s ease;
}
.slider-btn.home-2 a:hover, .slider-btn a:hover { background: var(--gold-dark); transform: translateY(-3px); }

/* =====================================================================
   SEKCIA NADPISOV
   ===================================================================== */
.section-title h2 {
  position: relative; font-weight: 800; text-transform: capitalize;
  font-size: 32px; margin-bottom: 14px;
}
.section-title.center { text-align: center; }
.section-title .pre {
  display: block; color: var(--gold-dark); font-family: 'Montserrat', sans-serif;
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 13px; margin-bottom: 10px;
}
.section-title p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.title-rule { width: 64px; height: 3px; background: var(--gold); border-radius: 3px; margin: 16px auto 0; }
.section-title:not(.center) .title-rule { margin-left: 0; }

/* =====================================================================
   HOME 2 – ikonové prednosti
   ===================================================================== */
.service-area.home-page-2 { background: var(--cream); }
.service-wrapper {
  background: #fff; border-radius: 12px; padding: 26px 24px; display: flex; align-items: center; gap: 18px;
  box-shadow: 0 12px 30px -16px rgba(46,45,37,.25); transition: all .35s ease; height: 100%;
}
.service-wrapper:hover { transform: translateY(-6px); box-shadow: var(--mac-shadow); }
.service-wrapper .feat-ico {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.service-wrapper .service-content h4 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
.service-wrapper .service-content span { color: var(--muted); font-size: 13px; letter-spacing: .5px; }

/* =====================================================================
   KARTY SLUŽIEB (na báze product card)
   ===================================================================== */
.svc-card {
  background: #fff; border-radius: 14px; overflow: hidden; height: 100%;
  box-shadow: 0 14px 34px -18px rgba(46,45,37,.3); transition: all .4s ease; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--mac-shadow-hover); }
.svc-card .svc-photo { overflow: hidden; }
.svc-card .svc-photo img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); border-radius: 0; box-shadow: none; }
.svc-card:hover .svc-photo img { transform: scale(1.07); }
.svc-card .svc-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.svc-card .svc-body h3 { font-size: 19px; margin: 0 0 10px; }
.svc-card .svc-body p { color: var(--text); font-size: 14.5px; line-height: 1.7; margin: 0 0 16px; }
.svc-card .svc-more { margin-top: auto; color: var(--gold-dark); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .8px; text-transform: uppercase; }
.svc-card .svc-more i { transition: transform .3s ease; }
.svc-card:hover .svc-more i { transform: translateX(5px); }

/* =====================================================================
   PROCES PRÁCE
   ===================================================================== */
.process-area { background: var(--ink); color: #e9e4d8; }
.process-area .section-title h2 { color: #fff; }
.process-area .section-title p { color: #b9b3a6; }
.process-step { text-align: center; padding: 18px 16px; position: relative; }
.process-step .step-num {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 24px; background: rgba(194,167,115,.08);
}
.process-step h4 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.process-step p { color: #b9b3a6; font-size: 14px; line-height: 1.7; }

/* =====================================================================
   O NÁS – split
   ===================================================================== */
.about-split { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.about-split .about-img, .about-split .about-text { flex: 1 1 380px; }
.about-text h2 { font-size: 30px; margin-bottom: 8px; }
.about-text p { line-height: 1.85; margin-bottom: 16px; }
.about-stats { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.about-stats .stat strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 34px; color: var(--gold-dark); line-height: 1; }
.about-stats .stat span { font-size: 13px; color: var(--muted); letter-spacing: .5px; }
.tick-list { list-style: none; padding: 0; margin: 0 0 22px; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 12px; line-height: 1.6; }
.tick-list li:before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 1px; color: var(--gold-dark); }

/* =====================================================================
   REFERENCIE
   ===================================================================== */
.testimonial-area { background: var(--cream); }
.testimonial-card {
  background: #fff; border-radius: 14px; padding: 34px 30px; height: 100%;
  box-shadow: 0 14px 34px -18px rgba(46,45,37,.25); position: relative;
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 14px; font-size: 14px; }
.testimonial-card .quote { font-size: 15.5px; line-height: 1.8; color: var(--text); font-style: italic; margin-bottom: 22px; }
.testimonial-card .who { display: flex; align-items: center; gap: 14px; }
.testimonial-card .who .av { width: 48px; height: 48px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 800; }
.testimonial-card .who strong { display: block; color: var(--ink); font-size: 15px; }
.testimonial-card .who span { font-size: 13px; color: var(--muted); }

/* =====================================================================
   CENNÍK
   ===================================================================== */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 34px -18px rgba(46,45,37,.25); }
.price-table th { background: var(--ink); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; text-align: left; padding: 16px 22px; font-size: 14px; letter-spacing: .5px; }
.price-table td { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table td:last-child { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--cream); }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; line-height: 1.7; }

.price-card { background: #fff; border-radius: 14px; padding: 36px 30px; text-align: center; box-shadow: 0 14px 34px -18px rgba(46,45,37,.25); transition: all .4s ease; height: 100%; border: 1px solid var(--line); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--mac-shadow); border-color: var(--gold-soft); }
.price-card .pc-ico { font-size: 36px; color: var(--gold-dark); margin-bottom: 14px; }
.price-card h4 { font-size: 18px; margin-bottom: 8px; }
.price-card .pc-price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 26px; color: var(--ink); margin: 6px 0; }
.price-card .pc-price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .3s ease; }
.faq-item.open { box-shadow: 0 14px 30px -18px rgba(46,45,37,.3); }
.faq-q { cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--ink); font-size: 16px; }
.faq-q i { color: var(--gold-dark); transition: transform .3s ease; flex: 0 0 auto; margin-left: 16px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }
.faq-a p { color: var(--text); line-height: 1.8; margin: 0; }

/* =====================================================================
   PAGE BANNER / DROBČEKY
   ===================================================================== */
.page-banner {
  background: linear-gradient(rgba(46,45,37,.72), rgba(46,45,37,.72)), url('../img/pexels/workshop.jpg') center/cover no-repeat;
  padding: 90px 0; text-align: center; color: #fff;
}
.page-banner h1 { color: #fff; font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-banner .crumbs { color: #e6e1d5; font-size: 14px; letter-spacing: .5px; }
.page-banner .crumbs a { color: var(--gold); }
.page-banner .crumbs span { margin: 0 8px; color: #b6b1a6; }

/* =====================================================================
   CTA / FORMULÁR
   ===================================================================== */
.cta-strip { background: var(--gold); }
.cta-strip .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 0; }
.cta-strip h2 { color: #fff; font-size: 28px; margin: 0; }
.cta-strip p { color: #fff8ec; margin: 6px 0 0; }
.cta-strip .btn-white { background: #fff; color: var(--gold-dark); padding: 14px 36px; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; font-size: 13px; transition: all .3s ease; }
.cta-strip .btn-white:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

.quote-form { background: #fff; padding: 36px; border-radius: 14px; box-shadow: var(--mac-shadow); }
.quote-form .form-row { display: flex; gap: 18px; flex-wrap: wrap; }
.quote-form .form-row > div { flex: 1 1 200px; }
.quote-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-family: 'Montserrat', sans-serif; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; margin-bottom: 18px;
  font-family: 'Lato', sans-serif; color: var(--ink); background: var(--cream); transition: border-color .25s ease, background .25s ease;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.quote-form textarea { min-height: 120px; resize: vertical; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer-area { background: var(--ink); }
.footer-logo img { max-height: 66px; }
.footer-area p, .footer-area li { color: #b9b3a6; }
.footer-area .footer-wrapper > p { line-height: 1.8; font-size: 14px; }
.footer-area ul li span { color: var(--gold); font-weight: 600; }
.footer-title h3 { color: #fff; font-size: 17px; position: relative; padding-bottom: 12px; margin-bottom: 18px; }
.footer-title h3:after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.usefull-link li a { color: #b9b3a6; }
.usefull-link li a:hover { color: var(--gold); padding-left: 5px; }
.footer-social li a { background: rgba(255,255,255,.06); color: #cfc9bc; }
.footer-social li a:hover { background: var(--gold); color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.5; }
.footer-contact li i { color: var(--gold); margin-top: 3px; }
.footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.1); padding: 7px 0; font-size: 14px; }
.copyright-area { background: #25241e; }
.copyright p { color: #9a958a; }
.copyright a { color: var(--gold); }

/* mapa */
.map-wrap { border-radius: 14px; overflow: hidden; box-shadow: var(--mac-shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* kontaktné dlaždice */
.contact-card { background: #fff; border-radius: 14px; padding: 30px; text-align: center; box-shadow: 0 14px 34px -18px rgba(46,45,37,.25); height: 100%; transition: all .35s ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--mac-shadow); }
.contact-card .cc-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.contact-card h4 { font-size: 17px; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--text); font-size: 15px; line-height: 1.6; }
.contact-card a:hover { color: var(--gold-dark); }

/* blog */
.blog-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.blog-meta i { color: var(--gold-dark); margin-right: 5px; }
.single-blog .blog-info { padding-top: 18px; }
.single-blog .blog-info h2 { font-size: 19px; line-height: 1.4; }

/* Blog – rovnako vysoké, horizontálne zarovnané karty */
.blog-grid { display: flex; flex-wrap: wrap; }
.blog-grid > [class*="col-"] { display: flex; }
.blog-grid .single-blog {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(46,45,37,.28); transition: transform .4s ease, box-shadow .4s ease;
}
.blog-grid .single-blog:hover { transform: translateY(-8px); box-shadow: var(--mac-shadow-hover); }
.blog-grid .single-blog .blog-img { overflow: hidden; }
.blog-grid .single-blog .blog-img img { width: 100%; height: 230px; object-fit: cover; border-radius: 0; box-shadow: none; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.blog-grid .single-blog:hover .blog-img img { transform: scale(1.07); }
.blog-grid .single-blog .blog-info { flex: 1; display: flex; flex-direction: column; padding: 22px 26px 26px; }
.blog-grid .single-blog .blog-info h2 { min-height: 54px; }
.blog-grid .single-blog .blog-info > a:last-child { margin-top: auto; padding-top: 14px; color: var(--gold-dark); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-body h2 { font-size: 26px; margin: 34px 0 14px; }
.article-body h3 { font-size: 20px; margin: 26px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body blockquote { border-left: 4px solid var(--gold); background: var(--cream); padding: 18px 24px; margin: 24px 0; font-style: italic; border-radius: 0 8px 8px 0; }

/* =====================================================================
   RESPONZÍVNY DIZAJN – tablet a mobil (dôkladne)
   ===================================================================== */

/* Tablet a menej */
@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section-title h2 { font-size: 28px; }
  .about-split { gap: 34px; }
  .header-cta { justify-content: center; margin-top: 14px; }
  .logo2 { text-align: center; }
  .cta-strip .cta-inner { flex-direction: column; text-align: center; }
}

/* Mobil */
@media (max-width: 767px) {
  .section-title h2 { font-size: 24px; }
  .section-title p br { display: none; }
  .pt-80 { padding-top: 50px !important; }
  .pb-80 { padding-bottom: 50px !important; }
  .ptb-80 { padding-top: 50px !important; padding-bottom: 50px !important; }
  .ptb-40 { padding-top: 30px !important; padding-bottom: 30px !important; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 240px; }
  .gallery-item .gallery-cap { opacity: 1; transform: none; }

  /* slider menší a čitateľný */
  .slide_all_1, .slide_all_2, .slide_all_1.home-2, .slide_all_2.home-2 { padding: 0 18px; }
  .slide_all_1 h1, .slide_all_2 h1,
  .slide_all_1.home-2 h1, .slide_all_2.home-2 h1 { font-size: 26px !important; line-height: 1.2; }
  .slide_all_1 h2, .slide_all_2 h2, .slide_all_1 h3, .slide_all_2 h3 { font-size: 16px !important; }
  .slide-lead { font-size: 14px; margin-bottom: 16px; }
  .slide-kicker { font-size: 10px; padding: 5px 12px; margin-bottom: 10px; }

  .page-banner { padding: 56px 0; }
  .page-banner h1 { font-size: 28px; }

  .about-stats { gap: 22px; }
  .about-stats .stat strong { font-size: 26px; }

  .quote-form { padding: 24px; }
  .cta-strip h2 { font-size: 22px; }

  .price-table th, .price-table td { padding: 12px 14px; font-size: 13.5px; }

  .header-cta { gap: 12px; }
  .footer-area { text-align: center; }
  .footer-contact li, .footer-social { justify-content: center; }
  .footer-title h3:after { left: 50%; transform: translateX(-50%); }

  /* obrázky – jemnejší tieň na malých displejoch */
  .product-img img, .blog-img img, .single-banner img, .gallery-item img, .mac-img { box-shadow: 0 12px 26px -14px rgba(46,45,37,.3); }
  .map-wrap iframe { height: 320px; }
}

@media (max-width: 479px) {
  .service-wrapper { flex-direction: column; text-align: center; }
  .header-cta { flex-direction: column; }
  .about-stats { justify-content: center; text-align: center; }
}

/* =====================================================================
   PREPÍNAČ TÉMY  +  TMAVÁ TÉMA
   ===================================================================== */
.theme-toggle {
  position: fixed; left: 22px; bottom: 22px; z-index: 998;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--ink); color: var(--gold); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.5); transition: transform .3s ease, background .3s ease, color .3s ease;
}
.theme-toggle:hover { transform: translateY(-3px) rotate(-12deg); }
@media (max-width: 767px) { .theme-toggle { left: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* --- TMAVÁ TÉMA --- */
html.theme-dark {
  --cream: #1e1d17;
  --line: #34322a;
  --text: #d3cec1;
  --muted: #b6b0a2;
  background: #15140f;
  color: var(--text);
}
/* podnadpisy sekcií a drobné texty v tmavej téme – jasne čitateľné */
html.theme-dark .section-title p,
html.theme-dark .section-title p strong { color: #cbc5b8; }
html.theme-dark .blog-meta,
html.theme-dark .price-note,
html.theme-dark .about-stats .stat span,
html.theme-dark .svc-card .svc-body p,
html.theme-dark .testimonial-card .quote,
html.theme-dark .contact-card p { color: #c4beb1; }
html.theme-dark .theme-toggle { background: var(--gold); color: #15140f; }

/* nadpisy a tmavo-zafarbené texty späť do svetla */
html.theme-dark h1, html.theme-dark h2, html.theme-dark h3,
html.theme-dark h4, html.theme-dark h5, html.theme-dark .section-title h2 { color: #f3efe7; }
html.theme-dark .faq-q, html.theme-dark .pc-price,
html.theme-dark .testimonial-card .who strong,
html.theme-dark .header-cta .call-txt strong,
html.theme-dark .header-cta .call-txt strong a,
html.theme-dark .price-table td { color: #f3efe7; }

/* navigácia + sticky */
html.theme-dark header { background: #15140f; }
html.theme-dark .header-top-area { background: #100f0b; }
html.theme-dark .header-bottom-area.home-page-2 { background: #15140f; border-bottom-color: #2a2820; }
html.theme-dark .header-cta .call-ico { background: #20201a; }
html.theme-dark .mainmenu-area.home-page-2 { background: #1b1a14; border-top-color: #2a2820; box-shadow: 0 6px 22px -14px rgba(0,0,0,.7); }
html.theme-dark #main_h.sticky { background: #1b1a14; }
/* nadradí šablónové pravidlo .mainmenu-area.home-page-2 .mainmenu ul li a (#444) */
html.theme-dark .mainmenu-area.home-page-2 .mainmenu ul li a { color: #f5f1e8; }
html.theme-dark .mainmenu-area.home-page-2 .mainmenu ul li.active > a,
html.theme-dark .mainmenu-area.home-page-2 .mainmenu ul li a:hover { color: var(--gold); }
html.theme-dark .mainmenu-area.home-page-2 .mainmenu ul li ul { background: #23221b; box-shadow: 0 8px 24px -6px rgba(0,0,0,.6); }
html.theme-dark .mainmenu-area.home-page-2 .mainmenu ul li > ul li > a { color: #d8d3c8; }

/* karty a plochy, ktoré boli biele */
html.theme-dark .service-wrapper,
html.theme-dark .svc-card,
html.theme-dark .testimonial-card,
html.theme-dark .price-card,
html.theme-dark .faq-item,
html.theme-dark .quote-form,
html.theme-dark .contact-card,
html.theme-dark .price-table,
html.theme-dark .blog-grid .single-blog { background: #20201a; }
html.theme-dark .faq-item { border-color: #34322a; }
html.theme-dark .price-card { border-color: #34322a; }

/* formuláre */
html.theme-dark input, html.theme-dark select, html.theme-dark textarea,
html.theme-dark .menu-search-box input { background: #15140f; color: #e9e4d8; border-color: #34322a; }
html.theme-dark .quote-form input:focus, html.theme-dark .quote-form select:focus, html.theme-dark .quote-form textarea:focus { background: #1b1a14; }

/* jemné tiene v tmavej téme zosilníme */
html.theme-dark .svc-card, html.theme-dark .testimonial-card, html.theme-dark .price-card,
html.theme-dark .contact-card, html.theme-dark .blog-grid .single-blog, html.theme-dark .service-wrapper { box-shadow: 0 16px 36px -18px rgba(0,0,0,.7); }

/* =====================================================================
   FEATURES: kalkulačka · foto-dopyt · rezervácia · mapa realizácií
   ===================================================================== */

/* --- Cenová kalkulačka --- */
.calc-box { background: #fff; border-radius: 16px; box-shadow: var(--mac-shadow); overflow: hidden; display: flex; flex-wrap: wrap; }
.calc-fields { flex: 1 1 400px; padding: 34px; }
.calc-fields .cf-row { display: flex; gap: 16px; flex-wrap: wrap; }
.calc-fields .cf-row > div { flex: 1 1 180px; }
.calc-fields label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; color: var(--ink); }
.calc-fields select, .calc-fields input[type="number"] { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); margin-bottom: 18px; color: var(--ink); font-family: 'Lato', sans-serif; font-size: 14px; }
.calc-fields select:focus, .calc-fields input:focus { outline: none; border-color: var(--gold); }
.calc-check { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.calc-check input { width: auto; margin: 0; }
.calc-check label { margin: 0; font-weight: 500; color: var(--text); }
.calc-result { flex: 1 1 280px; background: var(--ink); color: #fff; padding: 42px 34px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.calc-result .cr-label { letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.calc-result strong { font-family: 'Montserrat', sans-serif; font-size: 34px; color: #fff; margin: 10px 0; display: block; }
.calc-result p { color: #b9b3a6; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }

/* --- Foto-dopyt --- */
.foto-drop { border: 2px dashed var(--gold); border-radius: 12px; padding: 32px 20px; text-align: center; background: var(--cream); cursor: pointer; transition: all .25s ease; }
.foto-drop:hover, .foto-drop.drag { background: #fff; border-color: var(--gold-dark); }
.foto-drop i { font-size: 36px; color: var(--gold-dark); }
.foto-drop p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.foto-drop input[type="file"] { display: none; }
.foto-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.foto-thumbs .thumb { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); }

/* --- Rezervácia obhliadky --- */
.book-box { background: #fff; border-radius: 16px; box-shadow: var(--mac-shadow); padding: 34px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.slot { padding: 9px 17px; border: 1px solid var(--line); border-radius: 30px; cursor: pointer; font-size: 14px; transition: all .2s ease; background: var(--cream); }
.slot:hover { border-color: var(--gold); }
.slot.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.ui-datepicker { border-radius: 12px; box-shadow: var(--mac-shadow); border: 1px solid var(--line); padding: 10px; font-family: 'Lato', sans-serif; z-index: 9999 !important; background: #fff; }
.ui-datepicker .ui-datepicker-header { background: transparent; border: none; color: var(--ink); font-family: 'Montserrat', sans-serif; }
.ui-datepicker td .ui-state-default { border: none; background: transparent; text-align: center; padding: 6px; border-radius: 6px; color: var(--text); }
.ui-datepicker td .ui-state-active, .ui-datepicker td .ui-state-hover { background: var(--gold) !important; color: #fff !important; }

/* --- Mapa realizácií --- */
#realizacie-map { height: 460px; border-radius: 16px; box-shadow: var(--mac-shadow); overflow: hidden; z-index: 1; }
.leaflet-popup-content { font-family: 'Lato', sans-serif; font-size: 13.5px; }
.leaflet-popup-content strong { font-family: 'Montserrat', sans-serif; color: var(--ink); }
@media (max-width: 767px) { #realizacie-map { height: 340px; } .calc-result strong { font-size: 28px; } }

/* tmavá téma pre nové komponenty */
html.theme-dark .calc-box, html.theme-dark .book-box { background: #20201a; }
html.theme-dark .foto-drop { background: #1b1a14; }
html.theme-dark .foto-drop:hover, html.theme-dark .foto-drop.drag { background: #20201a; }
html.theme-dark .slot { background: #15140f; }
html.theme-dark .ui-datepicker { background: #20201a; border-color: #34322a; }
html.theme-dark .ui-datepicker td .ui-state-default { color: #cdc8ba; }

/* prepínanie loga podľa témy – čisto cez CSS, bez preblikávania */
.logo .logo-dark, .logo2 .logo-dark { display: none; }
html.theme-dark .logo .logo-default, html.theme-dark .logo2 .logo-default { display: none; }
html.theme-dark .logo .logo-dark, html.theme-dark .logo2 .logo-dark { display: inline-block; }

/* hero nadpis ako h2 (slidy 2–3) – rovnaký vzhľad ako h1 */
.slide_all_1 h2, .slide_all_2 h2, .slide_all_1.home-2 h2, .slide_all_2.home-2 h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 800; color: #ffffff !important;
  font-size: 48px !important; line-height: 1.12 !important; margin-bottom: 8px;
  text-shadow: 0 3px 22px rgba(0,0,0,.8), 0 1px 4px rgba(0,0,0,.65);
}
@media (max-width: 767px) { .slide_all_1 h2, .slide_all_2 h2 { font-size: 26px !important; line-height: 1.2; } }

/* =====================================================================
   TMAVÁ TÉMA – globálna čitateľnosť textov
   (šablóna má p{color:#333}, čo prebíja dedenie farby – preto explicitne)
   ===================================================================== */
html.theme-dark p { color: var(--text); }
html.theme-dark li,
html.theme-dark .tick-list li { color: var(--text); }
html.theme-dark .about-text p { color: var(--text); }
html.theme-dark .article-body,
html.theme-dark .article-body p,
html.theme-dark .article-body li { color: var(--text); }
html.theme-dark .article-body blockquote { background: #20201a; color: #e0dbce; }
/* outline tlačidlo – svetlý text na tmavom pozadí */
html.theme-dark a.btn-outline,
html.theme-dark .btn-outline { color: #f3efe7; }
html.theme-dark a.btn-outline:hover,
html.theme-dark .btn-outline:hover { color: #fff; }
/* CTA pruh (zlaté pozadie) ostáva svetlý */
html.theme-dark .cta-strip p { color: #fff8ec; }
html.theme-dark .cta-strip h2 { color: #fff; }
