/* --- Hero Carousel --- */
.hero {
  min-height: 80vh; /* bigger impact like roofingsgroup.com */
  position: relative;
}
.hero .carousel-item img {
  height: 80vh;
  object-fit: cover;
}
.carousel-caption {
  bottom: 20%;
  left: 10%;
  text-align: left;
  animation: fadeInUp 1s ease-in-out;
}
.carousel-caption h1, 
.carousel-caption h2 {
  font-weight: 700;
  color: var(--brand-red);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.carousel-caption p {
  color: var(--brand-white);
  font-size: 1.1rem;
}
.carousel-item {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out; /* smooth fade+slide */
}

/* --- Cards --- */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.card-img-top {
  height: 220px;
  object-fit: cover;
}
.card-body {
  text-align: center;
}

/* --- Buttons --- */
.btn-danger, .btn-primary {
  background: var(--brand-red);
  border: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-danger:hover, .btn-primary:hover {
  background: #b91c28; /* darker red */
  transform: scale(1.05);
}

/* --- Clients section --- */
#clients {
  background: linear-gradient(90deg, #000000ee, #e63946ee);
  text-align: center;
}
#clients img {
  height: 60px;
  margin: 0 15px;
  filter: grayscale(100%);
  transition: 0.3s;
}
#clients img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive tweaks --- */
@media (max-width: 767px) {
  .hero .carousel-item img {
    height: 60vh;
  }
  .carousel-caption {
    bottom: 15%;
    left: 5%;
    max-width: 90%;
    padding: 10px;
  }
  .carousel-caption h1, .carousel-caption h2 {
    font-size: 1.4rem;
  }
  .carousel-caption p {
    font-size: 0.9rem;
  }
}
