/* Equipment Page Specific Styles */

/* Equipment Overview Section */
.equipment-overview {
  padding: 80px 0;
  background-color: white;
}

.overview-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.overview-text {
  flex: 1;
}

.overview-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.overview-image {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  position: relative;
}

.overview-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.overview-image:hover img {
  transform: scale(1.05);
}

.btn-more {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-more:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Main Equipment Section */
.main-equipment {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.equipment-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.equipment-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.equipment-image {
  height: 250px;
  overflow: hidden;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.equipment-item:hover .equipment-image img {
  transform: scale(1.05);
}

.equipment-info {
  padding: 20px;
  text-align: center;
}

.equipment-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

/* Equipment List Section */
.equipment-list {
  padding: 80px 0;
  background-color: white;
}

.eq-list-section {
  margin-bottom: 50px;
}

.eq-list-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.equipment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-top: 20px;
}

.equipment-table thead th {
  background-color: var(--primary);
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.equipment-table tbody tr {
  background-color: white;
  transition: background-color 0.3s;
}

.equipment-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.equipment-table tbody tr:hover {
  background-color: #f0f0f0;
}

.equipment-table td {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #eee;
}

/* Equipment Features Section */
.equipment-features {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 36px;
}

.feature-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

/* Animation Classes */
.fade-in-image {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.img-zoom {
  transition: transform 0.5s ease;
}

.img-zoom:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .overview-content {
    flex-direction: column;
  }
  
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .overview-text p {
    font-size: 16px;
  }
  
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .equipment-table {
    font-size: 14px;
  }
  
  .equipment-table thead th,
  .equipment-table td {
    padding: 10px 5px;
  }
}

@media screen and (max-width: 576px) {
  .equipment-table {
    display: block;
    overflow-x: auto;
  }
  
  .equipment-table thead {
    display: none;
  }
  
  .equipment-table tbody {
    display: block;
  }
  
  .equipment-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
  }
  
  .equipment-table td {
    display: block;
    text-align: left;
    padding: 5px 0;
    border: none;
  }
  
  .equipment-table td:before {
    content: attr(data-label);
    font-weight: bold;
    display: inline-block;
    width: 100px;
  }
}