/*
 * Moderní styl pro sekci O nás - Rovnátka Cheb
 */

/* Styl pro kontejner O nás */
.about-container {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.about-container:hover {
  box-shadow: 0 15px 35px rgba(68, 88, 144, 0.15);
  transform: translateY(-5px);
}

/* Styl pro obrázek týmu */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 15px;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  border-radius: 25px;
  display: block;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Styl pro textový obsah */
.about-content {
  padding: 25px 20px;
  border-radius: 0 0 15px 15px;
}

.about-content h3 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 15px;
  color: #1e4356;
  font-weight: 600;
}

.about-content h3:after {
  content: '';
  position: absolute;
  display: block;
  width: 80px;
  height: 3px;
  background: #68A4C4;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.about-content:hover h3:after {
  width: 120px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-content a {
  color: #68A4C4;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about-content a:hover {
  color: #45beff;
  text-decoration: none;
}

/* Responzivní design */
@media (max-width: 992px) {
  .about-image {
    margin-bottom: 20px;
  }
}