/* ==========================================================================
   Taxi4Tirol – home page
   Hero carousel, booking call-to-action, feature boxes
   ========================================================================== */

/* ---- Hero carousel ---- */
.home-main {
  padding-top: 24px;
}
.t4t-carousel {
  position: relative;
  width: 100%;
  min-height: 570px;
  overflow: hidden;
}
.t4t-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.8s ease;
}
.t4t-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px var(--pad) 70px;
}
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.summer-bg {
  background-image: url("../assets/panorama-innsbruck-summer.jpg?v=a6c89f08");
}
.winter-bg {
  background-image: url("../assets/panorama-innsbruck-winter.jpg?v=bd9e19e9");
  background-position: 20% center;
}
.t4t-carousel__slide .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}
.t4t-carousel__slide .content {
  position: relative;
  z-index: 2;
  width: 60%;
  margin: 0 auto;
}
.slide-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}
.slide-panel h2 {
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.t4t-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.4rem;
}
.t4t-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  background-color: #3c0000;
  border: 1px solid rgba(200, 80, 80, 0.4);
  color: #ffffff;
  transition: background 0.2s ease;
}
.t4t-actions a:hover {
  background-color: #520000;
  color: #ffffff;
}
.t4t-actions svg {
  width: 16px;
  height: 16px;
}
.t4t-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.t4t-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}
.t4t-carousel__dot.active {
  background: #fff;
}
.t4t-carousel__attribution {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 10;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}
.t4t-carousel__attribution a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
}

/* ---- Booking CTA ---- */
.home-book {
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(20px, 4vw, 40px);
}
.home-book__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  background-color: #3c0000;
  border: 1px solid rgba(200, 80, 80, 0.4);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 1.4rem;
  transition: background 0.2s ease;
}
.book-btn:hover {
  background-color: #520000;
  color: #ffffff;
}
.book-btn svg {
  width: 16px;
  height: 16px;
}
.home-book p {
  font-size: var(--fs-medium);
  max-width: 640px;
  margin: 0;
}

/* ---- Feature boxes ---- */
.home-features {
  padding-top: clamp(40px, 7vw, 90px);
  padding-bottom: clamp(40px, 7vw, 90px);
}
.home-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.home-feature {
  background: #74764f;
  color: #ffffff;
  padding: 2.5rem var(--pad);
}
.home-feature strong {
  display: block;
  color: #ffffff;
  font-size: var(--fs-medium);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.home-feature p {
  margin: 0;
  color: #ffffff;
  font-size: var(--fs-medium);
}

@media (max-width: 900px) {
  .t4t-carousel__slide {
    padding: 60px var(--pad) 70px;
  }
  .t4t-carousel__slide .content {
    width: 100%;
  }
  .home-features__grid {
    grid-template-columns: 1fr;
  }
}
