/* ========================================
   멤버십 서비스 페이지 스타일
   ======================================== */

/* 링크/버튼 클릭 시 파란색 아웃라인 제거 */
*, *:before, *:after {
  -webkit-tap-highlight-color: transparent !important;
}

a, button, input, select, textarea, *:focus {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* 서브 비주얼 */
.sub-visual {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-top: 100px;
}

.sub-visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sub-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: #fff;
}

.sub-visual-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.sub-visual-desc {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
}

/* 멤버십 섹션 */
.membership-section {
  padding: 60px 20px 150px;
  background: #f8f9fa;
}

.membership-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* 안내 문구 */
.membership-notice {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 40px;
}

/* 배너 */
.membership-banner {
  text-align: center;
  margin-bottom: 60px;
}

.membership-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.membership-banner img:hover {
  transform: translateY(-5px);
}

/* 카테고리 */
.membership-category {
  background: #ededed;
  border-radius: 16px;
  padding: 40px 30px;
  margin-bottom: 40px;
}

.category-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  position: relative;
}

.category-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* 멤버십 그리드 */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* 멤버십 카드 */
.membership-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.membership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #ddd;
}

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

.membership-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

/* ========================================
   쉴낙원 장례식장 섹션
   ======================================== */
.shilnakwon-category {
  background: #fff;
}

.shilnakwon-category .category-title::after {
  background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
}

/* 쉴낙원 그리드 - 3열 */
.shilnakwon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* 쉴낙원 카드 */
.shilnakwon-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

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

.shilnakwon-card .card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.shilnakwon-card:hover .card-image img {
  transform: scale(1.08);
}

.shilnakwon-card .card-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-align: center;
  padding: 18px 15px 8px;
  margin: 0;
}

.shilnakwon-card .card-address {
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 0 15px 18px;
  margin: 0;
  line-height: 1.5;
}

/* 쉴낙원 지도 */
.shilnakwon-map {
  margin-top: 40px;
  text-align: center;
}

.shilnakwon-map img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
  .shilnakwon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
  .sub-visual {
    height: 220px;
    margin-top: 80px;
  }

  .sub-visual-title {
    font-size: 32px;
  }

  .sub-visual-desc {
    font-size: 15px;
    padding: 0 20px;
  }

  .membership-section {
    padding: 40px 15px 180px;
  }

  .membership-category {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .category-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-image {
    height: 180px;
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 18px;
  }

  .shilnakwon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .shilnakwon-card .card-image {
    height: 160px;
  }

  .shilnakwon-card .card-name {
    font-size: 16px;
    padding: 15px 12px 6px;
  }

  .shilnakwon-card .card-address {
    font-size: 12px;
    padding: 0 12px 15px;
  }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
  .sub-visual {
    height: 180px;
    margin-top: 70px;
  }

  .sub-visual-title {
    font-size: 26px;
  }

  .sub-visual-desc {
    font-size: 13px;
  }

  .membership-section {
    padding: 30px 10px 200px;
  }

  .membership-category {
    padding: 25px 15px;
    border-radius: 12px;
  }

  .category-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .card-image {
    height: 160px;
  }

  .card-content {
    padding: 18px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-list li {
    font-size: 13px;
  }

  .shilnakwon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .shilnakwon-card .card-image {
    height: 130px;
  }

  .shilnakwon-card .card-name {
    font-size: 14px;
    padding: 12px 10px 5px;
  }

  .shilnakwon-card .card-address {
    font-size: 11px;
    padding: 0 10px 12px;
  }
}
