/* Converted to roots */

:root {
  --primary-color: #f11f33;
  --secondary-color: #141414;
  --regular-radius: 8px;
}

/* Styly pro stránky poboček Pneu Hájek */
.branch-hero {
  background:
    linear-gradient(rgba(20, 20, 20, 0.85), rgba(20, 20, 20, 0.85)),
    url("https://www.pneuhajek.cz/user/documents/upload/pobocka-tremosna/pneuhajek-pneuservis-budova-tremosna.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--regular-radius);
  padding: 60px 40px;
  color: #fff;
  margin-bottom: 40px;
  text-align: left;
}

.branch-hero h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.service-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: var(--regular-radius);
  border-left: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #141414e6;
  color: #fff;
  padding: 40px;
  border-radius: var(--regular-radius);
  margin-bottom: 50px;
}

.info-box {
  flex: 1;
  min-width: 250px;
}
.info-box h3 {
  color: var(--primary-color);
  border-bottom: 1px solid #f11f3387;
  padding-bottom: 10px;
}

.info-box ul li:not(:last-child) {
  margin-bottom: 1rem;
}

/* Styly pro Lightbox galerii */
#ph-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: 20px;
}

#ph-lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 4px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#ph-lightbox.active {
  display: flex;
}

#ph-lightbox.active img {
  transform: scale(1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 50px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--regular-radius);
  cursor: zoom-in;
  transition: 0.3s;
}

.gallery-grid img:hover {
  filter: brightness(1.2);
}

.faq-section {
  margin-bottom: 50px;
}
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.faq-question {
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  display: block;
  margin-bottom: 5px;
}
.faq-question::before {
  content: "➔ ";
  color: var(--primary-color);
}

.btn-contact {
  display: inline-block;
  background: var(--primary-color);
  color: #fff !important;
  padding: 12px 25px;
  border-radius: var(--regular-radius);
  text-decoration: none;
  font-weight: 700;
  margin-top: 20px;
}

.btn-contact:hover {
  background: #d11a2a;
}

@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
  }
}
