/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

body {
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* 헤더 전체 */
.site-header {
  display: flex;
  justify-content: space-between; /* 로고 왼쪽, 검색창 오른쪽 */
  align-items: center;            /* 수직 중앙 정렬 */
  height: 80px;                   /* 약간 높여 안정감 있게 */
  padding: 0 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 10;
}

/* ✅ 로고 스타일 */
.site-header img {
  width: 150px;          /* 1.5배 확대 */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: block;        /* 인라인 간격 제거 */
  margin: 0;             /* 불필요 여백 제거 */
  vertical-align: middle;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 왼쪽 정렬 */
  gap: 0.5rem;
}

.logo {
  height: 32px !important;   /* 27px보다 약간 키움 — 실제 시각 크기 균형 */
  width: auto !important;
  max-height: 32px;
  object-fit: contain;
  display: inline-block;
  margin: 0;
  padding: 0;
  border-radius: 6px;        /* 모서리 부드럽게 */
  box-shadow: 0 0 4px rgba(0,0,0,0.15);  /* 살짝 입체감 */
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar a:hover {
  color: #007aff;
}

/* 메인 배너 */
.hero-banner {
  position: relative;
  min-height: 100vh;
  background: url('../images/banner_bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.content-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  backdrop-filter: saturate(120%) blur(2px);
}

.content-wrap h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.content-wrap p {
  font-size: 1.1rem;
}

/* 제품 섹션 */
.products {
  padding: 6rem 1rem 3rem;
  text-align: center;
  margin-top: 2rem;
}

.products h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  width: min(1200px, 90%);
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-info a {
  text-decoration: none;
  color: #007aff;
  font-weight: 600;
}

/* 푸터 */
.site-footer {
  background: #f2f2f2;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #555;
}
