.product-banner {
  position: relative;
  height: 80vh;
  background-image: url('/static/img/product/background/excavator.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.banner-textbox br {
  display: none;
}

.product-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.banner-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  animation: fadeIn 1.2s ease forwards;
}

.banner-textbox {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 30px 50px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.banner-overlay p {
  font-family: 'suit-extrabold';
  font-size: clamp(30px, 2vw, 35px);
  font-size: 30px;
}

.banner-overlay h1,
.banner-overlay p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.product-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #f8f9fa;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #071927;
}

.product-sub {
  font-family: 'suit-semibold';
  color: #666;
  font-size: clamp(20px, 2vw, 30px);
  margin-bottom: 50px;
}

/* grid 구조 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 카드 스타일 */
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* 이미지 */
.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  width: 70%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

/* 텍스트 */
.product-info {
  padding: 25px 20px;

}

.product-info h3 {
  font-family: 'paperlogy-semibold';
  font-size: clamp(30px, 2vw, 35px);
  margin-bottom: 8px;
  color: #111;
  font-weight: 600;
}

.product-info p {
  font-family: 'suit-regular';
  font-size: clamp(25px, 1.7vw, 30px);
  color: #555;
}

/* 반응형 */
@media (max-width: 768px) {
  .banner-textbox br {
    display: block;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-sub {
    font-size: 1.3rem;
  }
}