.showroom-section {
  margin: 0; 
  padding: 0;
  overflow: hidden;
}

/* Blue header */
.blue-header {
  padding: 40px 20px;
  text-align: left;
}
.blue-header h2 {
  font-size: 2.2em;
  font-weight: 400;
  margin-bottom: 20px;
}
.blue-header p {
  font-size: 1.1em;
  margin-bottom: 15px;
}
.blue-header .phone-btn,
.blue-header .navigate-btn {
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.blue-header .phone-btn:hover,
.blue-header .navigate-btn:hover {
  background-color: transparent;
}
.blue-header .divider {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  height: 120px;
  margin: 0 auto;
}

/* Obrázek */
.building-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;  /* zajistí, že bude střed obrázku vždy viditelný */
  background-size: cover;
  background-position: center;
}

/* Kontejner obrázku */
.building-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Levá a pravá strana – stejné rozložení */
.left-side,
.right-side {
  flex: 1; /* oba sloupce mají stejnou váhu */
}

/* Pravá strana */
.right-side {
  padding: 30px 0;
}
.right-side .containercontact {
  padding: 40px 30px;
}

/* Personál a kontaktní informace */
.staff-member,
.staff-row {
  margin-bottom: 40px;
  text-align: center;
}
.staff-photo-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 15px;
}
.staff-row {
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.staff-row .col-lg-4,
.staff-row .col-md-6,
.staff-row .col-sm-12 {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 280px;
  box-sizing: border-box;
}
.staff-photo-wrapper::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 1px solid #4b60d5;
  border-radius: 50%;
  z-index: 0;
}
.staff-photo {
  width: 100%;
  height: 100%;
  border: 2px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-name {
  color: #4b60d5;
  font-size: 20px;
  margin-bottom: 3px;
  text-align: center;
}
.staff-position {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}
.contact-info {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  justify-content: center;
}
.contact-info a {
  color: #4b60d5;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
.contact-info span {
  font-weight: 700;
  min-width: 70px;
  text-align: center;
  color: #666;
}
.contact-info.small-text {
  font-size: 14px;
}

/* Media Queries */

/* Pro obrazovky do 992px */
@media (max-width: 992px) {
  .left-side,
  .right-side {
    min-height: auto;
  }
  .blue-header {
    text-align: center;
    padding: 30px 15px;
  }
  .blue-header h2 {
    font-size: 1.8em;
  }
  /* Nastavení výšky pro obrázkový blok pro střední obrazovky */
  .building-frame {
    height: 350px;
  }
  .staff-photo-wrapper {
    width: 120px; 
    height: 120px;
  }
  .staff-name {
    font-size: 17px;
  }
  .staff-position, 
  .contact-info.small-text {
    font-size: 13px;
  }
}

/* Pro obrazovky do 768px */
@media (max-width: 768px) {
  /* Přepnutí rozložení na vertikální */
  .showroom-section .row {
    flex-direction: column;
  }
  .blue-header {
    text-align: center;
    padding: 20px 10px;
  }
  /* Zkrácená výška obrázkového bloku pro malé obrazovky */
  .building-frame {
    height: 250px;
  }
  .staff-row .col-md-4 {
    margin-bottom: 40px;
  }
  .contacts-header-section {
    padding: 40px 15px;
  }
  .contacts-header-section h1 {
    font-size: 2rem;
  }
  .contacts-header-section p {
    font-size: 1rem;
  }
  .staff-position, 
  .contact-info.small-text {
    font-size: 12px;
  }
}

/* Pro velmi malé obrazovky (do 576px) */
@media (max-width: 576px) {
  /* Další zkrácení výšky a úprava textů */
  .building-frame {
    height: 200px;
  }
  .blue-header {
    padding: 15px 10px;
  }
  .blue-header h2 {
    font-size: 1.6em;
  }
  .blue-header p {
    font-size: 1em;
  }
  .staff-position, 
  .contact-info.small-text {
    font-size: 12px;
  }
}
