/* Artist Detail Page Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  background-color: #ffffff;
  color: #2a2a2a;
  line-height: 1.7;
  font-size: 15px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin-top: 70px;
}

.artist-detail-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  background: #ffffff;
}

.artist-detail-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Artist Profile Header */
.artist-profile-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 2px solid #e0e0e0;
}

.artist-main-photo {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.artist-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.artist-main-photo:hover .artist-photo {
  transform: scale(1.05);
}

.artist-profile-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
}

.artist-period-badge-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  border: 2px solid rgba(102, 126, 234, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: #667eea;
  letter-spacing: 0.05em;
}

.artist-name-large {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #1a1a1a 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 8px 0;
}

.artist-title-large {
  font-size: 18px;
  color: #666666;
  font-weight: 500;
  margin: 8px 0;
}

.artist-email-large {
  font-size: 16px;
  color: #667eea;
  font-weight: 500;
  margin-top: 8px;
}

/* Section Headings */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

/* Biography Section */
.artist-biography {
  padding: 40px 0;
}

.biography-content {
  font-size: 16px;
  line-height: 1.9;
  color: #4a4a4a;
}

.biography-content p {
  margin-bottom: 20px;
}

/* Education Section */
.artist-education {
  padding: 40px 0;
}

.education-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.education-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,255,0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.education-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

.education-period {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  letter-spacing: 0.05em;
}

.education-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.education-school {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.education-major {
  font-size: 15px;
  color: #666666;
  margin: 0;
}

.education-gpa {
  font-size: 14px;
  color: #999999;
  margin: 0;
}

/* Qualifications Section */
.artist-qualifications {
  padding: 40px 0;
}

.qualifications-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.qualification-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,255,0.98) 100%);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.qualification-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.qualification-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.qualification-level {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 12px;
  width: fit-content;
}

.qualification-issuer {
  font-size: 13px;
  color: #666666;
  margin-top: 4px;
}

/* Experience Section */
.artist-experience {
  padding: 40px 0;
}

.experience-summary {
  font-size: 16px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 30px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.experience-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,255,0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.experience-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
  transform: translateY(-2px);
}

.experience-period {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  letter-spacing: 0.05em;
}

.experience-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.experience-company {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.experience-role {
  font-size: 15px;
  color: #666666;
  margin: 0;
  font-weight: 500;
}

.experience-tasks {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experience-tasks li {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.6;
  padding-left: 0;
}

/* Projects Section */
.artist-projects {
  padding: 40px 0;
}

.projects-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-item {
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,255,0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.project-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.project-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.project-period {
  font-size: 13px;
  font-weight: 600;
  color: #667eea;
  white-space: nowrap;
}

.project-role {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 8px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 12px;
  width: fit-content;
}

.project-description {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

/* Works Section */
.artist-works {
  padding: 40px 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.work-detail-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,248,255,0.98) 100%);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 
    0 8px 32px rgba(102, 126, 234, 0.12),
    0 4px 16px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-detail-card:hover {
  box-shadow: 
    0 16px 48px rgba(102, 126, 234, 0.2),
    0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.work-image-container {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.work-image-container.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.work-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  display: block;
  object-fit: cover;
}

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

.work-image:not([src]),
.work-image[src=""] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.work-image:not([src])::after,
.work-image[src=""]::after {
  content: "작품 이미지 준비 중";
  color: #999;
  font-size: 14px;
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-title {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.work-description {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
}

.work-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.work-medium {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 1px solid rgba(102, 126, 234, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 960px) {
  .artist-profile-header {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .artist-main-photo {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .artist-profile-info {
    align-items: center;
    text-align: center;
  }
  
  .education-item,
  .experience-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .education-period,
  .experience-period {
    font-size: 13px;
  }
  
  .qualifications-content {
    grid-template-columns: 1fr;
  }
  
  .project-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .work-image-container.work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .artist-detail-section {
    padding: 40px 24px 60px;
  }
  
  .artist-name-large {
    font-size: 32px;
  }
  
  .section-heading {
    font-size: 24px;
  }
  
  .education-item,
  .experience-item {
    padding: 20px;
  }
  
  .qualification-item {
    padding: 16px;
  }
  
  .project-item {
    padding: 20px;
  }
  
  .work-detail-card {
    padding: 30px 24px;
  }
  
  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .work-image-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .artist-detail-section {
    padding: 30px 16px 50px;
  }
  
  .artist-profile-header {
    padding: 30px 0;
    gap: 24px;
  }
  
  .artist-main-photo {
    max-width: 250px;
  }
  
  .artist-name-large {
    font-size: 26px;
  }
  
  .artist-title-large {
    font-size: 15px;
  }
  
  .artist-email-large {
    font-size: 14px;
  }
  
  .section-heading {
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 12px;
  }
  
  .biography-content {
    font-size: 14px;
  }
  
  .education-item,
  .experience-item {
    padding: 16px;
    gap: 12px;
  }
  
  .education-school,
  .experience-company {
    font-size: 16px;
  }
  
  .qualification-item {
    padding: 14px;
  }
  
  .qualification-name {
    font-size: 14px;
  }
  
  .project-item {
    padding: 16px;
  }
  
  .project-name {
    font-size: 16px;
  }
  
  .project-period {
    font-size: 12px;
  }
  
  .work-detail-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  
  .work-title {
    font-size: 20px;
  }
  
  .work-description {
    font-size: 14px;
    line-height: 1.7;
  }
  
  .work-medium {
    font-size: 12px;
    padding: 5px 12px;
  }
}

