/**
 * BB MC - About Page Enhanced Styles
 * Styles professionnels pour la page biographie
 */

/* ============================================
   BREADCRUMBS AMÉLIORÉ
   ============================================ */
.breadcrumbs-custom {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.breadcrumbs-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(255, 107, 53, 0.4));
  z-index: 1;
}

.breadcrumbs-custom .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs-custom-title {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}


/* ============================================
   SECTION BIOGRAPHIE PRINCIPALE
   ============================================ */
.section-lg {
  padding: 100px 0;
  position: relative;
}

.section-lg.bg-default {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #fff3e0 100%);
  position: relative;
  overflow: hidden;
  z-index: 15;
}

.section-lg.bg-default::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08), transparent 70%);
  border-radius: 50%;
  animation: floatCircle 20s ease-in-out infinite;
}

.section-lg.bg-default::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08), transparent 70%);
  border-radius: 50%;
  animation: floatCircle 25s ease-in-out infinite reverse;
}

@keyframes floatCircle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.box-image-1 {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.box-image-1::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 215, 0, 0.2));
  border-radius: 20px;
  z-index: -1;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.box-image-1:hover::before {
  opacity: 1;
}

.box-image-1:hover {
  transform: translateY(-15px) rotateY(5deg) scale(1.02);
}

.box-image-1 img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.6s ease;
  border: 5px solid white;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
}

.box-image-1:hover img {
  box-shadow: 0 30px 80px rgba(255, 107, 53, 0.5);
  border-color: rgba(255, 215, 0, 0.5);
}

.box-about {
  background: rgba(255, 255, 255, 0.98);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  z-index: 2;
}

.box-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
  transition: left 0.8s ease;
  z-index: -1;
}

.box-about::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ff6b35, #ffd700, #667eea);
  border-radius: 20px;
  opacity: 0;
  z-index: -2;
  transition: opacity 0.4s ease;
}

.box-about:hover {
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
}

.box-about:hover::before {
  left: 100%;
}

.box-about:hover::after {
  opacity: 1;
}

.box-about-mega-title {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ff6b35, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  }
}

.box-about-post-title {
  font-size: 1.5rem;
  color: #667eea;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.box-about-post-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, transparent);
  border-radius: 2px;
}

.box-about p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

.box-about p strong {
  color: #ff6b35;
  font-weight: 600;
}

.artist-info {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(255, 107, 53, 0.1));
  padding: 25px;
  border-radius: 15px;
  margin: 30px 0;
  border-left: 5px solid #ff6b35;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.artist-info::before {
  content: '♫';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  color: rgba(255, 107, 53, 0.1);
  transition: all 0.4s ease;
}

.artist-info:hover {
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
  border-left-width: 8px;
}

.artist-info:hover::before {
  transform: translateY(-50%) rotate(15deg) scale(1.2);
  color: rgba(255, 107, 53, 0.2);
}

.artist-info h5 {
  color: #ff6b35;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.artist-info p {
  color: #555;
  margin: 0;
  font-weight: 500;
}

/* ============================================
   TIMELINE AMÉLIORÉE
   ============================================ */
.bg-gray-1 {
  background: linear-gradient(135deg, #fce4ec 0%, #e1f5fe 50%, #f3e5f5 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  margin-top: 0;
  z-index: 1;
}

.bg-gray-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.08), transparent);
  pointer-events: none;
}

.bg-gray-1 h2 {
  color: #1a1a2e !important;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.bg-gray-1 h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #ff6b35, #ffd700);
  border-radius: 3px;
}

.bg-gray-1 h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 3px;
}

.timeline {
  position: relative;
  padding: 60px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ddd;
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  display: none;
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b35, #ffd700);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.timeline-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 2px solid transparent;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b35, #ffd700);
  border-radius: 20px 20px 0 0;
  transition: height 0.3s ease;
}

.timeline-content::after {
  content: '→';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: rgba(255, 107, 53, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 70px rgba(255, 107, 53, 0.25);
  border-color: rgba(255, 107, 53, 0.3);
}

.timeline-content:hover::before {
  height: 8px;
}

.timeline-content:hover::after {
  opacity: 1;
  right: 25px;
}

.timeline-content h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.timeline-content h5::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 1.3rem;
  animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.timeline-content p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
}

.timeline-content p strong {
  color: #ff6b35;
  font-weight: 600;
}

/* Alternance gauche-droite */
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: calc(50% + 40px);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: calc(50% + 40px);
}

/* ============================================
   GALERIE PHOTOS AMÉLIORÉE
   ============================================ */
.section-lg.bg-default h2 {
  color: #1a1a2e !important;
  font-weight: 800;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-main {
  position: relative;
  margin-bottom: 40px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
}

.gallery-main:hover {
  box-shadow: 0 30px 80px rgba(255, 107, 53, 0.3);
  transform: translateY(-5px);
}

.main-image {
  width: 100% !important;
  height: 700px !important;
  object-fit: contain !important;
  display: block;
  transition: transform 0.6s ease;
  background: #f8f9fa;
  cursor: pointer;
}

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

.gallery-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
  z-index: 10;
}

.gallery-btn {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 138, 101, 0.95));
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.gallery-btn:hover {
  background: linear-gradient(135deg, #ff6b35, #ffd700);
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.gallery-btn:active {
  transform: scale(0.95);
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.thumbnail {
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 4px solid transparent;
  aspect-ratio: 1;
  position: relative;
}

.thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(255, 215, 0, 0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.thumbnail:hover::before {
  opacity: 1;
}

.thumbnail:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.thumbnail.active {
  border-color: #ff6b35;
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
  transform: scale(1.1);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
  background: #f8f9fa;
}

.thumbnail:hover img {
  transform: scale(1.2);
}

/* ============================================
   THÉMATIQUES & STYLE
   ============================================ */
.theme-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.theme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
  transition: left 0.6s ease;
}

.theme-card:hover::before {
  left: 100%;
}

.theme-card:hover {
  transform: translateY(-15px) rotateZ(2deg);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.theme-icon {
  font-size: 4rem;
  margin-bottom: 25px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.theme-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.theme-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.theme-card p strong {
  color: #ff6b35;
  font-weight: 600;
}

/* ============================================
   ÉQUIPE & STATISTIQUES
   ============================================ */
.team-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(255, 107, 53, 0.05));
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.team-card h4 {
  font-size: 1.8rem;
  color: #667eea;
  margin-bottom: 15px;
  font-weight: 700;
}

.team-card h3 {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #ff6b35, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 25px;
}

.team-member {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:last-child {
  border-bottom: none;
}

.team-member:hover {
  padding-left: 15px;
  color: #ff6b35;
}

.team-member strong {
  color: #1a1a2e;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.stat-item h5 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(45deg, #ff6b35, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   PRESSE & MÉDIAS
   ============================================ */
.media-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(180deg, #ff6b35, #ffd700);
  transition: height 0.4s ease;
}

.media-card:hover::before {
  height: 100%;
}

.media-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.media-card h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.media-card p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05rem;
}

.media-card p strong {
  color: #ff6b35;
  font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .breadcrumbs-custom-title {
    font-size: 2.5rem;
  }

  .box-about {
    padding: 30px;
  }

  .box-about-mega-title {
    font-size: 2.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item::before {
    left: 30px;
  }

  .timeline-year {
    left: 30px;
    transform: translateX(0);
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
  }

  .main-image {
    height: 350px;
  }

  .gallery-btn {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
  }

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

/* ============================================
   ANIMATIONS D'ENTRÉE
   ============================================ */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in {
  animation: slideInFromBottom 0.8s ease-out forwards;
}
