/*!
 * domysyrovice.cz – sloučené a pročištěné styly
 * (základ: UpConstruction template, BootstrapMade.com – nepoužité styly odstraněny)
 * main.css (purged) + custom.css
 */

/* ============================================================
   1) ZÁKLAD ŠABLONY (pročištěno)
   ============================================================ */
:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Work Sans", sans-serif; }
:root {
  --color-default: #364d59;
  --brand: #e98d26;
  --brand-dark: #d47d1a;
  --color-primary: var(--brand); 
  --color-secondary: #52565e;
  /* stavy prodeje v tabulce nemovitostí */
  --tnem-volne:     #8fd19e;
  --tnem-rezervace: #ffce6a;
  --tnem-prodano:   #cfcfcf;
  --tnem-etapad:    #d9ead3; }
:root {
  scroll-behavior: smooth; }
body {
  font-family: var(--font-default);
  color: var(--color-default);
  overflow-x: hidden; }
a {
  color: var(--color-primary);
  text-decoration: none; }
a:hover {
  color: #ffc732;
  text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary); }
section {
  padding: 80px 0;
  overflow: hidden; }
.section-bg {
  background-color: #f5f6f7; }
.section-header {
  text-align: center;
  padding-bottom: 70px; }
.section-header h2, .section-header h1 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: #2e3135; }
.section-header h2:before, .section-header h2:after, .section-header h1:before, .section-header h1:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block; }
.section-header h2:before, .section-header h1:before {
  margin: 0 15px 10px 0; }
.section-header h2:after, .section-header h1:after {
  margin: 0 0 10px 15px; }
.section-header h1 { font-size: 40px; }
.section-header p {
  margin: 0 auto 0 auto; }
@media (min-width: 1199px) {
.section-header p {
    max-width: 80%; }
}
.breadcrumbs {
  padding: 140px 0 60px 0;
  min-height: 30vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; }
.breadcrumbs:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0; }
.breadcrumbs h2 {
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-secondary); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary); }
.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s; }
.breadcrumbs ol a:hover {
  text-decoration: underline; }
.breadcrumbs ol li+li {
  padding-left: 10px; }
.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #fff;
  content: "/"; }
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s; }
.scroll-top i {
  font-size: 24px;
  color: var(--color-secondary);
  line-height: 0; }
.scroll-top:hover {
  background: #ffc732;
  color: #fff; }
.scroll-top.active {
  visibility: visible;
  opacity: 1; }
@media screen and (max-width: 768px) {
[data-aos-delay] {
    transition-delay: 0 !important; }
}
.header {
  z-index: 997;
  position: absolute;
  padding: 15px 0 30px 0;
  top: 0;
  left: 0;
  right: 0; }
.header .logo img {
  max-height: 60px;
  margin-right: 6px; }
.header .logo .logo-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  font-family: var(--font-primary); }
.header .logo .logo-title span {
  color: var(--color-primary); }
@media (min-width: 1280px) {
.navbar {
    padding: 0; }
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center; }
.navbar li {
    position: relative; }
.navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px; }
.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
    position: relative; }
.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px; }
.navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s; }
.navbar a:hover:before, .navbar li:hover>a:before, .navbar .active:before {
    visibility: visible;
    width: 100%; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a {
    color: #fff; }
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s; }
.navbar .dropdown ul li {
    min-width: 200px; }
.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--color-default);
    font-weight: 400; }
.navbar .dropdown ul a i {
    font-size: 12px; }
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover>a {
    color: var(--color-primary); }
.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible; }
.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden; }
.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible; }
}
@media (min-width: 1280px) and (max-width: 1366px) {
.navbar .dropdown .dropdown ul {
    left: -90%; }
.navbar .dropdown .dropdown:hover>ul {
    left: -100%; }
}
@media (min-width: 1280px) {
.mobile-nav-show, .mobile-nav-hide {
    display: none; }
}
@media (max-width: 1279px) {
.navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997; }
.navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998; }
.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s; }
.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a {
    color: #fff; }
.navbar .dropdown ul, .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid #222428; }
.navbar .dropdown>.dropdown-active, .navbar .dropdown .dropdown>.dropdown-active {
    display: block; }
.mobile-nav-show {
    position: relative;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    padding-right: 10px; }
.mobile-nav-hide {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999; }
.mobile-nav-active {
    overflow: hidden; }
.mobile-nav-active .navbar {
    right: 0; }
.mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9996; }
}
@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.alt-services h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative; }
.alt-services h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0; }
.contact .info-item {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 20px 0 30px 0; }
.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: var(--color-primary);
  border-radius: 50%;
  border: 2px dotted #ffd565; }
.contact .info-item h3 {
  font-size: 20px;
  color: #6c757d;
  font-weight: 700;
  margin: 10px 0; }
.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0; }
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.hero {
  overflow-x: hidden;
  padding: 0;
  position: relative; }
.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  margin: 0;
  position: relative; }
.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  transition-duration: 0.4s; }
.hero .carousel-item::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  inset: 0; }
.hero .info {
  position: absolute;
  inset: 0;
  z-index: 2; }
@media (max-width: 768px) {
.hero .info {
    padding: 0 50px; }
}
.hero .info h2 {
  color: #fff;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 56px;
  font-weight: 700;
  position: relative; }
.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto; }
@media (max-width: 768px) {
.hero .info h2 {
    font-size: 36px; }
}
.hero .info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px; }
.hero .carousel-control-prev {
  justify-content: start; }
@media (min-width: 640px) {
.hero .carousel-control-prev {
    padding-left: 15px; }
}
.hero .carousel-control-next {
  justify-content: end; }
@media (min-width: 640px) {
.hero .carousel-control-next {
    padding-right: 15px; }
}
.hero .carousel-control-next-icon, .hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center; }
.hero .carousel-control-prev, .hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s; }
.hero .carousel-control-prev:focus, .hero .carousel-control-next:focus {
  opacity: 0.5; }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover {
  opacity: 0.9; }
.footer {
  color: #fff;
  background: #37423b url("../../img/footer-bg.webp") top center no-repeat;
  background-size: cover;
  font-size: 14px;
  padding: 80px 0 60px 0;
  position: relative; }
.footer:before {
  content: "";
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  inset: 0; }
.footer .footer-content .footer-info {
  margin-bottom: 30px; }
.footer .footer-content .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase; }
.footer .footer-content .footer-info h3 span {
  color: var(--color-primary); }
.footer .footer-content .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: #fff; }
.footer .footer-content .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: 0.3s; }
.footer .footer-content .social-links a:hover {
  background: var(--color-primary);
  text-decoration: none; }
.footer .footer-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px; }
.footer .footer-content .footer-links {
  margin-bottom: 30px; }
.footer .footer-content .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0; }
.footer .footer-content .footer-links ul li {
  padding: 8px 0; }
.footer .footer-content .footer-links ul li:first-child {
  padding-top: 0; }
.footer .footer-content .footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  display: inline-block;
  line-height: 1; }
.footer .footer-content .footer-links ul a:hover {
  color: #fff; }
.footer .footer-legal .copyright {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15); }

/* ============================================================
   2) VLASTNÍ ÚPRAVY (custom)
   ============================================================ */
/* ===== domysyrovice.cz – vlastní úpravy nad šablonou (bez animací) ===== */

/* Logo jako text */
.logo .logo-title { font-size: 28px; margin: 0; font-weight: 700; color: #364d59; }
.logo .logo-title span { color: #e98d26; }

/* Statický hero (jeden obrázek, bez carouselu) */
.hero .carousel { min-height: 70vh; }
@media (min-width: 1200px) { .hero .carousel { min-height: 80vh; } }

/* Sekce s běžným světle šedým pozadím */
.bg-light-gray { background-color: #f5f6f7; }

/* Blok "Nové rodinné domy" – text + obrázek */
.intro-text p { font-size: 17px; color: #52565e; }

/* Placeholder pro obrázek (dokud nedodáte fotku) */
.img-placeholder {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 1 / 1;
  background-color: #e9ecef;
  border: 2px dashed #b7bcc2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6c757d;
  font-size: 15px;
  margin: 0 auto;
}
.img-800 { width: 100%; max-width: 800px; height: auto; display: block; margin: 0 auto; }

/* Karty nemovitostí */
.property-card {
  border: 1px solid #e4e6e9;
  background: #fff;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.property-card:hover { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12); }
.property-card .card-img-top { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.property-card .card-body { padding: 22px; }
.property-card h3 { font-size: 22px; font-weight: 600; color: #364d59; margin-bottom: 12px; }
.property-features { list-style: none; padding: 0; margin: 0 0 16px; }
.property-features li { padding: 6px 0; border-bottom: 1px solid #eef0f2; color: #52565e; font-size: 15px; }
.property-features li:last-child { border-bottom: 0; }
.property-features li i { color: #e98d26; margin-right: 8px; }
.property-price {
  font-size: 20px; font-weight: 700; color: #364d59;
}
.property-price small { display:block; font-size: 13px; font-weight: 400; color: #6c757d; }

/* Kontaktní mapa na celou šířku bloku */
.map-full iframe { width: 100%; height: 500px; border: 0; display: block; }

/* Sekce "Proč vybrat" – ikonové boxy */
.why-box { text-align: center; padding: 24px; height: 100%; }
.why-box .why-icon {
  width: 76px; height: 76px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fef1e4; color: #e98d26; font-size: 34px;
}
.why-box h4 { font-size: 20px; color: #364d59; font-weight: 600; }
.why-box p { color: #52565e; margin-bottom: 0; }

/* Galerie – klasické rámečky */
.gallery-frame {
  background: #fff;
  border: 1px solid #dfe2e6;
  padding: 6px;
}
.gallery-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* YouTube video – responzivní 16:9 */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Call-to-action sekce (Najděte svůj nový domov) */
.cta-section { background-color: #cbf7ff; }

/* Karty týmu (na šedém pozadí sekce) */
.team-card {
  background: #fff;
  border: 1px solid #e4e6e9;
  padding: 30px 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 .25rem .9rem rgba(22,58,70,.07);
}
.team-card .why-icon { margin-bottom: 16px; }
.team-card h4 { font-size: 20px; color: #364d59; font-weight: 600; margin-bottom: 4px; }
.team-card p { color: #52565e; margin-bottom: 0; }
.team-card a { color: #52565e; text-decoration: none; }
.team-card a:hover { color: #e98d26; }

/* Fotka člena týmu (kruhový avatar) */
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid #fef1e4;
}

/* ============================================================
   3) DETAIL DOMU (eko31.php a další)
   ============================================================ */
.house-lead { font-size: 17px; color: #52565e; }
.house-img { width: 100%; height: auto; display: block; box-shadow: 0 .5rem 1.5rem rgba(22,58,70,.10); }

/* Tabulka parametrů */
.params-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e4e6e9; }
.params-table th, .params-table td { padding: 13px 18px; border-bottom: 1px solid #eef0f2; text-align: left; font-size: 15px; }
.params-table tr:last-child th, .params-table tr:last-child td { border-bottom: 0; }
.params-table th { width: 46%; color: #364d59; font-weight: 600; background: #f8f9fa; }
.params-table td { color: #52565e; }

/* Cenový box */
.price-box { background: #10233b; color: #fff; padding: 28px 26px; height: 100%; }
.price-box h4 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.price-box .price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.price-box .price-row:last-of-type { border-bottom: 0; }
.price-box .price-row .label { color: rgba(255,255,255,.8); font-size: 15px; }
.price-box .price-row .val { font-weight: 700; font-size: 19px; color: #f2b705; white-space: nowrap; }
.price-box .price-note { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.price-box .price-note i { color: #f2b705; margin-right: 6px; }

/* Tlačítko – akcentní (oranžová šablony) */
/* Barva značky (brand) – jedna proměnná --brand, sada pomocných tříd */
.text-brand   { color: var(--brand) !important; }
.bg-brand     { background-color: var(--brand) !important; }
.border-brand { border-color: var(--brand) !important; }

.btn-brand { background-color: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { background-color: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* Hlavička tabulky v barvě značky */
.table-brand th { background-color: var(--brand); color: #fff; border-color: var(--brand); }

/* Tým – kontakty pod skupinovou fotkou (vždy 3 vedle sebe, responzivní text) */
.team-contacts h4 { font-size: clamp(0.92rem, 2.4vw, 1.25rem); color: #364d59; font-weight: 600; margin-bottom: .25rem; }
.team-contacts .role { color: var(--brand); margin-bottom: .4rem; }
.team-contacts p { font-size: clamp(0.72rem, 2vw, 0.95rem); color: #52565e; margin-bottom: .2rem; overflow-wrap: anywhere; line-height: 1.35; }
.team-contacts a { color: #52565e; text-decoration: none; }
.team-contacts a:hover { color: var(--brand); }

/* Možnosti výstavby – varianty A/B/C */
.variant-badge {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: 1.35rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.variant-title { font-size: 1.2rem; font-weight: 700; color: var(--brand); line-height: 1.25; }
.variant p { color: #52565e; }

/* Karty domů – ceny variant */
.price-variants { margin-top: 6px; }
.price-variants > div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-top: 1px solid #eef0f2; font-size: 15px; color: #52565e; }
.price-variants .val { color: #364d59; white-space: nowrap; }
.price-variants .valb { font-weight: 700; color: #364d59; white-space: nowrap; }

/* Tabulka prodeje pozemků a domů */
.prodej-table { font-size: 15px; }
.prodej-table th[scope="row"] { font-weight: 700; }
.prodej-table .stav { text-align: center; font-weight: 600; }

/* Barva celého řádku podle stavu prodeje.
   Nastavuje se bootstrapová proměnná --bs-table-bg na <tr>, buňky ji zdědí –
   proto není potřeba !important a funguje i table-hover (odstín jen ztmavne). */
.prodej-table tbody tr.stav-volne       { --bs-table-bg: var(--tnem-volne); }
.prodej-table tbody tr.stav-rezervovano { --bs-table-bg: var(--tnem-rezervace); }
.prodej-table tbody tr.stav-prodano     { --bs-table-bg: var(--tnem-prodano); }
.prodej-table tbody tr.stav-etapy       { --bs-table-bg: var(--tnem-etapad); }

/* Text v tabulce vždy černý – barevné je jen pozadí řádku. */
.prodej-table tbody { color: #000; }
