/* ==== EQUIPMENTS SECTION ==== */
.equipments-section {
  position: relative;
  padding: 120px 8%;
  background-color: #ffffff;
  color: #111;
  overflow: hidden;
}

/* Remove grid pattern */
.equipments-section::after {
  display: none;
}

/* ==== HEADER ==== */
.equipments-header {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease-out;
}
.equipments-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.equipments-subtitle {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 2px;
  color: #f37c18;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}
.equipments-subtitle::before,
.equipments-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: #f37c18;
  transform: translateY(-50%);
}
.equipments-subtitle::before { left: -40px; }
.equipments-subtitle::after { right: -40px; }

.equipments-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.equipments-header h2 span {
  color: #f37c18;
  text-shadow: 0 0 20px rgba(243,124,24,0.4);
}
.equipments-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* ==== GRID ==== */
.equipments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  z-index: 2;
  position: relative;
}

/* ==== CARD ==== */
.equip-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transform: translateX(80px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.equip-card.visible {
  animation: slideInRight 1s ease forwards;
}

/* 🔸 Fixed image container */
.equip-card img {
  width: 100%;
  height: 250px; /* Same height for all images */
  object-fit: contain; /* Prevents cropping */
  background: #fff;
  display: block;
  padding: 10px; /* Adds space around image */
}

/* 🔸 Info section adapts to content */
.equip-info {
  padding: 25px;
  color: #111;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.equip-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.equip-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.equip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f37c18;
}
.price small {
  font-size: 0.9rem;
  color: #777;
}

/* ==== MULTI BUTTONS BELOW PRICE ==== */
.equip-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.equip-btns .rent-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  width: 100%;
  padding: 10px 18px;
  transition: all 0.3s ease;
}

/* WhatsApp Button */
.rent-btn.whatsapp {
  background: #25d366;
}
.rent-btn.whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

/* Mail Button */
.rent-btn.mail {
  background: #0072c6;
}
.rent-btn.mail:hover {
  background: #005da3;
  box-shadow: 0 0 10px rgba(0, 114, 198, 0.4);
}

/* View Details Button */
.rent-btn.view {
  background: #f37c18;
}
.rent-btn.view:hover {
  background: #ff8e2b;
  box-shadow: 0 0 10px rgba(243, 124, 24, 0.4);
}

/* Optional: For desktop, align in a row */
@media (min-width: 992px) {
  .equip-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .equip-btns .rent-btn {
    flex: 1;
    min-width: 120px;
  }
}


/* ==== ANIMATION ==== */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .equipments-header h2 { font-size: 2.2rem; }
  .equipments-subtitle::before, .equipments-subtitle::after { display: none; }
  .equip-card { height: auto; }
  .equip-card img { height: 200px; }
}


