/* 고객 사례 페이지 전용 스타일 */

/* 페이지 헤더 */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/case-studies-hero.jpg") no-repeat
    center center / cover;
  color: white;
  padding: 8rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 166, 81, 0.3) 0%, rgba(2, 136, 209, 0.3) 100%);
  z-index: 1;
}

.page-header-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: white;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-light);
}

.breadcrumb i {
  font-size: 0.7rem;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.page-stat {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.page-stat .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 필터 섹션 */
.case-filter {
  background-color: var(--background-light);
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-color);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.2);
}

/* 주요 사례 섹션 */
.featured-case {
  background-color: white;
  padding: 6rem 2rem;
}

.featured-case-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-case-image {
  flex: 1;
  position: relative;
}

.case-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.case-image-wrapper:hover .case-overlay {
  opacity: 1;
}

.case-play-btn {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.case-play-btn:hover {
  transform: scale(1.1);
}

.case-video-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.featured-case-details {
  flex: 1;
}

.case-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 166, 81, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-case-details h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.case-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.case-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-color);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.highlight-content p {
  color: var(--text-light);
  margin: 0;
}

.case-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.result-card {
  text-align: center;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary-color);
}

.result-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.result-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.case-quote {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-color);
  margin-top: 2rem;
}

.case-quote blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 사례 그리드 */
.case-studies-grid {
  background-color: var(--background-light);
  padding: 6rem 2rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.case-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-image img {
  transform: scale(1.05);
}

.case-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

.case-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-gradient);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.8rem;
}

.case-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-card-header {
  margin-bottom: 1rem;
}

.case-card-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.case-card-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-metrics {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.metric {
  text-align: center;
  flex: 1;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: rgba(0, 166, 81, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
}

/* 도입 효과 통계 */
.impact-statistics {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("images/impact-bg.jpg") no-repeat center
    center / cover;
  color: white;
  padding: 6rem 2rem;
  position: relative;
}

.impact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 166, 81, 0.3) 0%, rgba(2, 136, 209, 0.3) 100%);
  z-index: 1;
}

.impact-statistics .section-header,
.impact-stats-grid {
  position: relative;
  z-index: 2;
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-stat {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.impact-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.impact-unit {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-left: 0.25rem;
}

.impact-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.impact-description {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* 도입 과정 */
.implementation-process {
  background-color: white;
  padding: 6rem 2rem;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-gradient);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 10px white, var(--shadow);
}

.timeline-content {
  flex: 1;
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 0 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid var(--background-light);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-right: 10px solid var(--background-light);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.timeline-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.timeline-duration {
  background-color: rgba(0, 166, 81, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
}

/* CTA 섹션 업데이트 */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
  .featured-case-content {
    flex-direction: column;
  }

  .case-highlights {
    gap: 1rem;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
  }

  .process-timeline::before {
    left: 40px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-icon {
    margin-left: 0;
    margin-right: 2rem;
  }

  .timeline-content {
    margin: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-right: 10px solid var(--background-light);
    border-left: none;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-stats {
    gap: 1.5rem;
  }

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .impact-stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .featured-case-details h3 {
    font-size: 2rem;
  }

  .case-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
