/* =========================
   VIP Living – sdílené styly
   Přesunuto z inline <style> bloků
   ========================= */

/* --- Hero sekce s videem na pozadí (jen hlavní stránky) --- */
.auf:has(.hero-video) {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.auf-center {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 550px;
}

/* --- Hero text --- */
.auf .main-heading,
.auf h1.main-heading,
.auf h1 {
  color: #fff !important;
  font-size: 2.5em !important;
  line-height: 1.15em !important;
  font-weight: 700 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.auf .main-subheading {
  color: #fff !important;
  font-size: 1.15em !important;
  line-height: 1.4em !important;
  font-weight: 500 !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.auf .horizontal-bar {
  background-color: #fff !important;
  width: 60px;
  height: 3px;
  margin: 20px auto;
}

/* --- Hero tlačítko --- */
.auf .button {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #fbb03b 0%, #f9a825 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 26px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95em;
  box-shadow: 0 4px 15px rgba(251, 176, 59, 0.3);
  position: relative;
  overflow: hidden;
}

.auf .button:hover {
  background: linear-gradient(135deg, #f9a825 0%, #f57c00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 176, 59, 0.4);
}

.auf .button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(251, 176, 59, 0.3);
}

/* --- Footer --- */
.footer-bg {
  background: #323232;
  width: 100%;
  min-height: 100px;
  position: relative;
  padding-bottom: 48px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer-main-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 16px 0 16px;
  box-sizing: border-box;
}

.footer-bg .main-heading {
  color: #fff;
  font-size: 2.1em;
  margin-bottom: 6px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  text-align: center;
}

.footer-bg .main-subheading {
  color: #c7aa8b;
  font-size: 1.15em;
  margin-bottom: 24px;
  font-family: "Roboto Condensed", sans-serif;
  text-align: center;
  font-weight: 600;
}

.footer-map-iframe {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 36px 0 rgba(0, 0, 0, 0.14);
  margin-bottom: 32px;
  background: #23232d;
  width: 100%;
}

.footer-map-iframe iframe {
  display: block;
  border: 0;
}

.footer-boxes-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-box {
  background: #23232d;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.14);
  padding: 26px 28px 20px 28px;
  flex: 1;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Roboto Condensed", sans-serif;
  box-sizing: border-box;
}

.footer-boxes-row .footer-box {
  margin-bottom: 0;
}

.footer-box-title {
  font-weight: 700;
  font-size: 1.11em;
  color: #c59f62;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-box-content {
  margin-top: 7px;
  line-height: 1.7;
  font-size: 1.06em;
}

.footer-link {
  color: #c7aa8b;
  text-decoration: none;
  transition: color 0.18s;
  font-weight: 500;
}

.footer-link:hover {
  color: #fbb03b;
  text-decoration: underline;
}

.footer-link:focus {
  outline: 2px solid #fbb03b;
  outline-offset: 2px;
}

.footer-social-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 10px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform 0.18s, opacity 0.18s;
  opacity: 1;
  background: transparent;
  display: block;
  object-fit: contain;
}

.footer-social-row a:hover .footer-social-icon {
  opacity: 1;
  transform: scale(1.3);
}

.footer-copyright {
  color: #d1d1d1;
  text-align: center;
  font-size: 1em;
  margin-top: 32px;
  background: transparent;
  padding-bottom: 16px;
  font-family: "Roboto Condensed", sans-serif;
}

/* --- Ceník a půdorys --- */
.section.kotviste {
  padding-top: 20px;
}

.cenik-a-pudory {
  margin-top: 0;
  padding-top: 0;
}

.cenik-a-pudory img.pudorys {
  width: 70%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Tabulka ceníku --- */
table {
  width: auto;
  margin: 0 auto 20px auto;
  border-collapse: collapse;
}

th,
td {
  padding: 4px 8px;
  text-align: left;
  line-height: 1.2;
  white-space: nowrap;
}

th {
  padding-top: 24px;
  font-size: 1.1rem;
}

th:first-of-type {
  padding-top: 12px;
}

/* --- Responzivita: tablet --- */
@media (max-width: 991px) {
  .auf:has(.hero-video) {
    min-height: 80vh;
  }

  .auf .main-heading {
    font-size: 2.2em !important;
  }
}

@media (max-width: 900px) {
  .footer-boxes-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-box {
    flex: 1 1 calc(50% - 8px);
    margin-bottom: 16px;
  }
}

/* --- Responzivita: mobil --- */
@media (max-width: 768px) {
  .cenik-a-pudory img.pudorys {
    width: 90%;
  }

  table {
    width: 90%;
  }

  th {
    font-size: 1rem;
  }

  td {
    font-size: 0.9rem;
    padding: 4px 6px;
  }
}

@media (max-width: 767px) {
  .auf:has(.hero-video) {
    min-height: 100vh;
  }

  .hero-video {
    display: block;
    min-height: 120%;
  }

  .auf .horizontal-bar,
  .auf .main-subheading {
    display: none !important;
  }

  .auf .main-heading,
  .auf h1.main-heading {
    font-size: 1.8em !important;
    line-height: 1.2em !important;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .auf .div-block-2 {
    margin-top: 25px;
  }

  .auf .button {
    min-height: 48px !important;
    padding: 13px 28px !important;
    font-size: 0.95em !important;
    font-weight: 600 !important;
    letter-spacing: 0.025em !important;
    min-width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 140px !important;
    border-radius: 24px !important;
    touch-action: manipulation;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }

  .footer-boxes-row {
    flex-direction: column;
  }

  .footer-box {
    flex: 1 1 100%;
  }
}

/* --- Responzivita: malé mobily --- */
@media (max-width: 480px) {
  .auf .main-heading {
    font-size: 1.5em !important;
  }

  .auf .button {
    font-size: 0.9em !important;
    padding: 12px 24px !important;
    max-width: 130px !important;
    min-height: 44px !important;
  }
}

/* --- Přístupnost: snížený pohyb --- */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: block;
  }
}
