/* assets/css/main-content.css */

.main-content {
  background: #ffffff;
  padding: 100px 0;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* 텍스트 영역 */
.content-text {
  padding-right: 40px;
}

.content-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  color: #424242;
  margin: 0;
}

.content-title .highlight {
  color: #6e6e6e;
}

/* 이미지 영역 */
.content-image {
  position: relative;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.content-image img:hover {
  transform: scale(1.02);
}

/* ===== 3개 테마 카드 섹션 ===== */
.theme-section {
  background: #fafafa;
  padding: 100px 0;
}

.theme-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: #424242;
  margin-bottom: 60px;
}

.theme-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.theme-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 240px;
  height: 240px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

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

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #424242;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 반응형: 태블릿 */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 30px;
  }
  
  .content-text {
    padding-right: 0;
    text-align: center;
  }
  
  .content-title {
    font-size: 36px;
  }
  
  .theme-cards {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .card-image {
    width: 200px;
    height: 200px;
  }
}

/* 반응형: 모바일 */
@media (max-width: 768px) {
  .main-content {
    padding: 60px 0;
  }
  
  .content-wrapper {
    padding: 0 20px;
    gap: 30px;
  }
  
  .content-title {
    font-size: 28px;
  }
  
  .content-image img {
    border-radius: 8px;
  }
  
  .theme-section {
    padding: 60px 0;
  }
  
  .theme-wrapper {
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .card-image {
    width: 180px;
    height: 180px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .card-desc {
    font-size: 14px;
  }
}

