/* ============================
   SUBPAGE BACKGROUND
============================ */

body.sub-page {
  position: relative;
  overflow-x: hidden;
}


/* blurred background layer */

body.sub-page::after {
  content: "";
  position: fixed;
  inset: 0;

  background-size: cover;
  background-position: center;

  filter: blur(8px);
  transform: scale(1.05);

  z-index: -1;
  pointer-events: none;
}

/* ============================
   MAIN WRAPPER
============================ */

.sub-layout {
  padding-top: 80px;
  padding-bottom: 5em;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  padding-left: 1em;
  padding-right: 1em;

}





/* ============================
   CONTENT – TWO COLUMN GRID
============================ */

.sub-content {
  width: 100%;
  max-width: 1300px;

  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3em;

  align-items: start;
  padding: 3em;
  margin-bottom: 4em;

  border-radius: 28px;

  background: rgba(20, 20, 20, .75);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 15px 45px rgba(0, 0, 0, 0.9);

  min-width: 0;
}

.sub-content __gallery {
  grid-template-columns: none;
}

.sub-text {
  line-height: 1.2em;
}

.sub-text h2 {
  line-height: 1.1;
  padding-bottom: 0.5rem;
}

.sub-text .lead {
  font-size: 1.1rem;
  opacity: .9;
  line-height: 1.3;
}



.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: .9em;
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.feature-list.blue li::before {
  color: var(--brand-blue);
}

.feature-list.red li::before {
  color: var(--color-red);
}

.feature-list.green li::before {
  color: var(--brand-green-lighter);
}

.feature-list.yellow li::before {
  color: var(--brand-yellow);
}

.feature-list.purple li::before {
  color: var(--color-purple);
}

.feature-list.orange li::before {
  color: var(--color-orange);
}


.highlight {
  background: rgba(255, 180, 60, .08);
  border-left: 4px solid var(--accent-color);
  padding: .9em 1.2em;
  border-radius: 12px;
}

.highlight.green {
  background: rgba(122, 214, 42, .08);
  border-color: var(--brand-green-lighter);
}

.highlight.red {
  background: rgba(255, 107, 107, .08);
  border-color: var(--color-red);
}

.highlight.blue {
  background: rgba(111, 163, 255, .08);
  border-color: var(--color-blue);
}

.highlight.yellow {
  background: rgba(251, 231, 3, .08);
  border-color: var(--brand-yellow);
}

.highlight.purple {
  background: rgba(132, 0, 255, .08);
  border-color: var(--color-purple);
}

.highlight.orange {
  background: rgba(255, 160, 60, .08);
  border-color: var(--color-orange);
}


.price-tag {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 1.4em;
}

/* ============================
   FULL WIDTH MAP
============================ */

.sub-content.map-section {
  padding: 0;
  overflow: hidden;
  /* override grid layout */
  grid-template-columns: 1fr;
}

.sub-content.map-section iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 28px;
  display: block;
}


.bottom-sub-content {
  padding-top: 1.5rem;


}


.sub-layout.gallery-page {
  padding-top: 0px;
  padding-bottom: 5em;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
}

.sub-content.gallery-page {
  width: 100%;
  max-width: 1300px;
  display: block;

  align-items: start;
}

/* ============================
   CONTACT PAGE
============================ */

.contact-grid {
  max-width: 1300px;
  display: grid;
  gap: 3em;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.sub-content.contact-section {
  grid-template-columns: none;
}

.contact-block {
  display: grid;
  gap: 2.5rem;
  max-width: 100%;
}

.contact-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.contact-item h2 {
  color: white;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-phone {
  font-size: 1.1rem;
  font-weight: 500;
  margin: .4rem 0;
}

.contact-mail a {
  color: var(--accent-color);
  text-decoration: none;
}


.contact-mail a:hover {
  text-decoration: underline;
}

.contact-name {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: .3rem;
}

.company-info {
  grid-template-columns: 1.3fr 1fr;
}

.company-left,
.company-right {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.info-block h3 {
  margin-bottom: .4rem;
  font-size: 1rem;
  opacity: .8;
}

.info-block p {
  margin: 0;
  line-height: 1.4;
}

.mobile-contact-bar {
  display: none;
}

/* ============================
   CONTACT FORM
============================ */

.contact-form {
  display: grid;
  gap: 1.2em;
  margin-top: 1.5em;
}

/* inputs + textarea */

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .9em 1.1em;

  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);

  border-radius: 14px;

  color: #fff;
  font-family: inherit;
  font-size: 1rem;

  outline: none;

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* placeholder */

.contact-form ::placeholder {
  color: rgba(255, 255, 255, .45);
}

/* focus glow */

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, .08);

  box-shadow:
    0 0 0 3px rgba(255, 180, 60, .25),
    0 10px 30px rgba(0, 0, 0, .5);
}

.sub-content.form-section {


  grid-template-columns: 1fr;
}

/* ============================
   BUTTON
============================ */

.contact-form .button {
  margin-top: .5em;

  padding: 1em 1.8em;

  border-radius: 999px;

  background: linear-gradient(135deg,
      var(--accent-color),
      #ff9a2f);

  border: none;

  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

/* hover */

.contact-form .button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, .6),
    0 0 25px rgba(255, 160, 60, .45);
}

/* active */

.contact-form .button:active {
  transform: translateY(0);
  filter: brightness(.95);
}

/* ============================
   HONEYPOT
============================ */

.contact-form .honeypot {
  display: none !important;
}


/* ============================
   RESPONSIVE
============================ */

@media (max-width: 1000px) {

  .sub-content {
    grid-template-columns: 1fr;
    gap: 2em;
  }

}

@media (max-width: 900px) {

  .sub-layout {
    padding-top: 80px;
    padding-inline: 1em;
  }

  .sub-hero {
    margin-bottom: 2em;
  }

  .sub-hero-inner {
    backdrop-filter: none;
    background: rgba(20, 20, 20, .5);
    padding: 1em 1.5em;

  }

  .sub-content {
    backdrop-filter: none;
    background: rgba(20, 20, 20, .5);
  }

  .sub-meta {
    margin-top: .3em;

    font-size: 1rem;

  }


  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }

  .sub-content {
    padding: 1.5rem;
  }


  .contact-item {
    background: rgba(255, 255, 255, .03);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .06);
  }

  .contact-phone a,
  .contact-mail a {
    padding: .6rem 0;
    font-size: 1.1rem;
  }

  .contact-block {
    gap: 1.2rem;
  }

  .company-info {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 120px;

  }

  .mobile-contact-bar {
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111111c7;
    z-index: 999;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    height: 80px;
  }

  .footer {
    margin-bottom: 150px;
  }

  #renovace,
  #lakovna,
  #provozni-informace,
  #mapa {
    scroll-margin-top: 100px;
  }

  .mobile-contact-bar {
    flex-wrap: wrap;
    height: auto;
  }

  .mobile-contact-bar a {
    flex: 1 1 25%;
    padding: .6rem .3rem;
    font-size: .8rem;
  }

  .mobile-contact-bar a {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, .1);
  }


}