/* .artist-section {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.artist-photo {
  position: relative;
  width: 40%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.artist-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.5s ease;
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 1.8rem;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(to right, white, rgba(255,255,255,0));
  transition: color 0.5s ease;
  pointer-events: none;
}


.artist-photo:hover img {
  filter: brightness(0.6);
}

.artist-photo:hover .overlay-text {
  color: white;
}

.artist-info {
  width: 55%;
  color: #222;
}

.artist-info h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.artist-info p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #555;
} */

.artist-section {
  max-width: 100%;
  width: 100%; 
  padding: 80px 0;
  
  background: var(--muted);
  align-items: center; 
  justify-content: center; 
  gap: 80px;
  transition: padding 0.3s ease, gap 0.3s ease;
}

/* Add container for content to control max width */
/* .artist-section .content-container {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  transition: gap 0.3s ease, padding 0.3s ease;
  align-items: start; 
} */

/* .artist-photo {
  flex: 0 0 550px; 
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  
  transition: flex 0.3s ease, height 0.3s ease, max-width 0.3s ease;
} */

.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-info {
  flex: 1;
  max-width: 600px; /* Prevent text from getting too wide */
}

/* Only changed/added CSS rules */

.artist-section .content-container {
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start */
  justify-content: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  transition: gap 0.3s ease, padding 0.3s ease, flex-direction 0.3s ease;
}

/* NEW: Wrapper for photo and description */
.artist-photo-wrapper {
  flex: 0 0 550px; /* Same width as original photo */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Keep original artist-photo styles but adjust flex property */
.artist-photo {
  flex: 0 0 auto; /* Don't grow or shrink */
  height: 600px;
  width: 100%; /* Take full width of wrapper */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: height 0.3s ease;
}

.photo-description {
  font-size: 1.2rem;
  color: #666;
  text-align: start;
  line-height: 1.5;
  margin: 0;
  padding: 0 10px;
  font-style: italic;
}

/* Adjust artist-info to maintain proper width */
.artist-info {
  flex: 1;
  max-width: 600px;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .artist-photo-wrapper {
    flex: 0 0 500px;
  }
  
  .artist-photo {
    height: 550px;
  }
}

@media (max-width: 992px) {
  .artist-section .content-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .artist-photo-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 550px;
  }
  
  .artist-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .artist-photo {
    height: 450px;
  }
  
  .photo-description {
    font-size: 0.95rem;
    padding: 0 15px;
  }
}

.greeting {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 10px;
  font-weight: 400;
}

.artist-name {
  font-size: 3rem;
  font-family: 'Kranky', serif;
  font-weight: 900;
  margin-bottom: 30px;
  color: #222;
  line-height: 1.1;
  transition: font-size 0.3s ease;
}

.artist-bio {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
  max-width: 600px;
  transition: font-size 0.3s ease;
}


.highlight {
  font-weight: 600;
  color: #222;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  transition: gap 0.3s ease;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: 'Kranky', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 5px;
  transition: font-size 0.3s ease;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}

/* =================================== */
/* ==      RESPONSIVE STYLES      == */
/* =================================== */

/* For Tablets */
@media (max-width: 1024px) {
  .artist-section .content-container {
    gap: 60px;
  }

  .artist-photo {
    flex: 0 0 350px;
    height: 450px;
  }

  .artist-name {
    font-size: 2.6rem;
  }
}

/* For Small Tablets / Large Phones */
@media (max-width: 768px) {
  .artist-section {
    /* Stack layout vertically */
    padding: 60px 0;
  }

  .artist-section .content-container {
    flex-direction: column;
    gap: 50px;
    /* ! ADDED: Prevents content from touching screen edges */
    padding: 0 1.5rem;
  }

  .artist-photo {
    flex: none; /* Reset flex-basis */
    width: 100%; /* Take available width */
    max-width: 400px; /* But not more than 400px */
    height: 500px;
  }

  .artist-info {
    text-align: center; /* Center text when stacked */
  }

  .stats {
    justify-content: center; /* Center stats */
  }
}

/* For Medium Phones */
@media (max-width: 576px) {
  .artist-section {
    padding: 40px 0;
  }

  .artist-section .content-container {
    gap: 40px;
    /* ! ADDED: Adjust padding for smaller screens */
    padding: 0 1rem;
  }

  .artist-photo {
    height: 400px;
  }

  .artist-name {
    font-size: 2.2rem;
  }

  .artist-bio {
    font-size: 1rem;
  }

  .stats {
    flex-wrap: wrap; /* Allow stats to wrap */
    gap: 30px;
  }

  .stat-item {
    /* 2 items per row */
    flex: 0 0 calc(50% - 15px);
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* For Small Phones */
@media (max-width: 400px) {
  .artist-photo {
    height: 350px;
  }

  .artist-name {
    font-size: 1.9rem;
  }

  .stats {
    gap: 20px;
  }

  .stat-item {
    /* 1 item per row (full width) */
    flex: 0 0 100%;
  }
}
