/* General Reset */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .product-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
  }
  
  .product-title {
    text-align: center;
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
  }
  
  .product-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .product-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .product-item:hover {
    transform: translateY(-10px);
  }
  
  .product-item img {
    width: 100%;
    height: auto;
  }
  
  .product-item h2 {
    font-size: 1.5rem;
    color: #222;
    margin: 15px 0 10px;
  }
  
  .product-item p {
    font-size: 1rem;
    color: #666;
    padding: 0 15px 15px;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .product-title {
      font-size: 2rem;
    }
  
    .product-subtitle {
      font-size: 1rem;
    }
  
    .product-item h2 {
      font-size: 1.2rem;
    }
  
    .product-item p {
      font-size: 0.9rem;
    }
  }

.banner {
    margin-top: 0px;
    background: url('/images/backgroundProduct.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 30px;
    text-align: right; /* 텍스트를 우측 정렬 */
    position: relative;
}
.banner h1 {
    font-size: 48px; /* 글씨 크기 */
    margin: 0; /* 상하 여백 제거 */
    position: absolute; /* 절대 위치 지정 */
    bottom: 10px; /* 하단 여백 */
    right: 10px; /* 우측 여백 */
    color: #ffffff;
}

.header-bar {
    background-color: rgba(0, 0, 0, 0.119); /* 검은색 배경, 약간 투명 */
    color: rgb(49, 47, 47); /* 글씨 색상 흰색 */
    font-family: 'Arial', sans-serif; /* 기본 글씨체 */
    font-size: 16px; /* 글씨 크기 */
    padding: 10px 20px; /* 안쪽 여백 */
    display: flex; /* 가로 정렬 */
    align-items: center; /* 세로 정렬 */
    gap: 10px; /* 항목 간 간격 */
}

.header-item {
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

.divider {
    width: 1px; /* 선 두께 */
    align-self: stretch; /* 상하로 꽉 채움 */
    background-color: rgb(0, 0, 0); /* 선 색상 */
    margin: 0 5px; /* 선 좌우 여백 */
}

.equipment-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 가로, 세로 여백 추가 */
    padding: 30px;
    max-width: 1200px; /* 전체 화면을 꽉 채우지 않고 적당한 너비 설정 */
    margin: 0 auto; /* 화면 중앙 정렬 */
}

.equipment-description {
    text-align: left;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    border-bottom: 2px solid #ccc; /* 구분선 추가 */
    padding-bottom: 5px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3개씩 정렬 고정 */
    gap: 20px;
}

.equipment-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    text-align: center;
    padding: 15px;
}

.equipment-item h3 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
    color: #333;
}

.equipment-item img {
    width: 100%;
    height: 200px;         /* 모든 이미지 동일한 높이 설정 */
    object-fit: contain;   /* 원본 비율 유지 및 사진이 잘리지 않도록 설정 */
}

.equipment-item p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr; /* 모바일에서는 1열 */
  }

  .equipment-item img {
    height: 300px; /* 모바일에서는 이미지 높이 더 크게 */
  }
}
