.artwork-detail {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem 2rem;
}

.artwork-header {
  text-align: center;
  margin-bottom: 3rem;
}

.artwork-header h1 {
  font-size: 3rem;
  margin: 0 0 1rem 0;
  color: #222;
}

.artwork-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  background: #f8f8f8;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
}

.artwork-image {
  text-align: center;
  margin-bottom: 3rem;
}

/* Image Reel Styles */
.image-reel {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.reel-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  border-radius: 12px;
}

.reel-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.reel-image.active {
  opacity: 1;
}

.reel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.reel-btn {
  background: #222;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-btn:hover {
  background: #444;
  transform: scale(1.1);
}

.reel-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #222;
  transform: scale(1.2);
}

.indicator:hover {
  background: #999;
}

/* Fallback for single image */
.artwork-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.artwork-description {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  color: #444;
}

.artwork-description h3 {
  color: #222;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: #222;
}

.back-link::before {
  content: '← ';
}

@media (max-width: 768px) {
  .artwork-detail {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }
  
  .artwork-header h1 {
    font-size: 2.5rem;
  }
  
  .artwork-meta {
    gap: 1rem;
  }
  
  .meta-item {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  
  .reel-container {
    height: 70vh;
  }
  
  .reel-controls {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .reel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}
