/* 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; /* 선 좌우 여백 */
}


.inspection-container {
    background-color: #ffffff;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    background-color: #EAF5FF;
    padding: 15px 0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.header h2 {
    color: #333;
    font-size: 1.5rem;
}

.content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.content-left,
.content-right {
    flex: 1;
}

.content-left img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.spc-info {
    background-color: #D9ECFF;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    margin-top: 10px;
}

.content-right h3 {
    color: #0078ff;
}

.image-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.full-width-image img {
    width: 100%;  /* 상단 이미지가 두 하단 이미지의 전체 너비에 맞게 설정 */
    border: 2px solid #ccc;
    border-radius: 8px;
}

.image-comparison div {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}


.image-comparison p {
    text-align: center;
    margin-top: 5px;
}


.sub-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.sub-images img {
    width: calc(33.333% - 10px);
    border-radius: 8px;
    border: 1px solid #ccc;
}

.image-comparison p {
    text-align: center;
    margin-top: 5px;
}



.img-divider-vertical {
    width: 2px;               /* 선 두께 (세로선) */
    height: 100%;             /* 세로 전체 높이 */
    background-color: #ffffff;   /* 연한 회색 선 */
    margin: 0 20px;           /* 좌우 여백 추가 */
}


/* Base styles (same as before) */
.inspection-container {
  background-color: #ffffff;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
}

.header {
  text-align: center;
  background-color: #EAF5FF;
  padding: 15px 0;
  border-radius: 8px;
  margin-bottom: 20px;
}

.header h2 {
  color: #333;
  font-size: 1.5rem;
}

.content {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.content-left, .content-right {
  flex: 1;
}

.content-left img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.spc-info {
  background-color: #D9ECFF;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  margin-top: 10px;
}

.content-right h3 {
  color: #0078ff;
}

.image-comparison {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.full-width-image img {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.image-comparison div {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.image-comparison p {
  text-align: center;
  margin-top: 5px;
}

.sub-images {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.sub-images img {
  width: calc(33.333% - 10px);
  border-radius: 8px;
  border: 1px solid #ccc;
}

.footer {
  text-align: center;
  padding: 15px;
  background-color: #f8f8f8;
  border-radius: 8px;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  .inspection-container {
    margin: 20px 10px;
    padding: 15px;
  }
  
  .header h2 {
    font-size: 1.2rem;
  }
  
  .content {
    flex-direction: column;
    gap: 20px;
  }
  
  .content-left, .content-right {
    width: 100%;
  }
  
  .sub-images {
    flex-wrap: wrap;
  }
  
  .sub-images img {
    width: calc(50% - 5px);
    margin-bottom: 10px;
  }
  
  .sub-images img:last-child {
    width: 100%;
  }
  
  .image-comparison div {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .image-comparison div img {
    width: 80%;
  }
  
  .spc-info {
    font-size: 0.9rem;
  }
  
  .footer {
    font-size: 0.9rem;
  }
}

/* For even smaller screens */
@media screen and (max-width: 480px) {
  .inspection-container {
    margin: 10px 5px;
    padding: 10px;
  }
  
  .header h2 {
    font-size: 1rem;
  }
  
  .sub-images img {
    width: 100%;
  }
  
  .image-comparison div img {
    width: 95%;
  }
}