/**
 * callback-samples 페이지 스타일
 * 인라인 스타일에서 추출됨 - 2026-01-28
 * 수정됨 - 2026-01-28
 */

/* ===========================
   Base & Reset
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===========================
   Main Content
   =========================== */
.main-content {
  padding-top: 80px;
  min-height: calc(100vh - 200px);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  padding: 150px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.btn-back {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.3);
}

/* ===========================
   Samples Section
   =========================== */
.samples-section {
  padding: 100px 20px;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ===========================
   Samples Grid
   =========================== */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.sample-item {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--border);
}

.sample-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 58, 95, 0.15);
  border-color: var(--primary);
}

.sample-image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.sample-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sample-item:hover .sample-image {
  transform: scale(1.05);
}

.sample-caption {
  padding: 25px 20px;
  background: white;
  border-top: 1px solid var(--border);
}

.sample-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.sample-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ===========================
   Image Modal
   =========================== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 10000;
}

.modal-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .samples-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 50px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .samples-section {
    padding: 60px 20px;
  }

  .samples-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .sample-image-container {
    height: 300px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    font-size: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .btn-back {
    padding: 12px 30px;
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .section-desc {
    font-size: 16px;
  }

  .samples-grid {
    grid-template-columns: 1fr;
  }

  .sample-image-container {
    height: 250px;
  }

  .sample-caption {
    padding: 20px 15px;
  }

  .sample-title {
    font-size: 16px;
  }
}