/* ============================================ */
/* PROFIELEN FUNCTIONALITEIT - PROFILES.CSS    */
/* ============================================ */
/* 
  Deze CSS voegt klikbare profielen toe aan bestaande baker-cards
  Om te verwijderen: verwijder dit hele bestand
  en verwijder de link in index.html
*/
/* ============================================ */

/* Voeg hover effect en cursor toe aan bestaande baker-cards */
.baker-card {
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  overflow: visible;
}

.baker-card::before {
  display: none;
}

.baker-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
  border: none;
}

/* Info knop op baker cards */
.baker-info-btn {
  margin-top: 1rem;
  background: linear-gradient(135deg, #005ca9 0%, #003d73 100%);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.9rem;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 92, 169, 0.2);
}

.baker-info-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.baker-info-btn:hover::after {
  width: 300px;
  height: 300px;
}

.baker-info-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 92, 169, 0.4), 0 0 20px rgba(0, 92, 169, 0.2);
}

.baker-info-btn:active {
  transform: scale(0.98);
}

/* Modal/Pop-up Styling */
.profile-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.profile-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: fadeInBlur 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeInBlur {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}

.profile-modal-content {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  border-radius: 25px;
  max-width: 700px;
  width: 100%;
  position: relative;
  animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 70px rgba(0, 92, 169, 0.4), 0 0 50px rgba(0, 92, 169, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 92, 169, 0.3);
}

@keyframes modalPop {
  from {
    transform: scale(0.7) translateY(100px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Glasmorphism effect voor modal */
.profile-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  border-radius: 25px;
}

.profile-modal-header {
  background: linear-gradient(135deg, #005ca9 0%, #003d73 35%, #1a1a4d 70%, #000a1f 100%);
  color: white;
  padding: 2rem;
  border-radius: 25px 25px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 10px rgba(0, 0, 0, 0.2);
}

/* Multiple animated background layers */
.profile-modal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 92, 169, 0.15) 0%, transparent 40%);
  animation: shimmerFlow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Second animated layer */
.profile-modal-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, 
      rgba(0, 212, 255, 0) 0%, 
      rgba(0, 212, 255, 0.1) 25%, 
      rgba(0, 212, 255, 0.05) 50%, 
      rgba(0, 212, 255, 0.1) 75%, 
      rgba(0, 212, 255, 0) 100%);
  animation: waveAnimation 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes shimmerFlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 80px) scale(1.2);
  }
}

@keyframes waveAnimation {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

/* Glow line at top */
.profile-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d4ff, #005ca9, transparent);
  animation: glowMove 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes glowMove {
  0%, 100% { 
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  }
  50% { 
    opacity: 1;
    box-shadow: 0 0 40px rgba(0, 212, 255, 1);
  }
}

/* Zorg dat content boven de achtergrond animatie blijft */
.profile-modal-header > * {
  position: relative;
  z-index: 2;
}

@keyframes shimmerFlow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 50px);
  }
}

.close-modal-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.close-modal-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* Profielfoto (optioneel) */
.profile-photo-container {
  margin-bottom: 1rem;
  animation: photoAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
  position: relative;
  z-index: 2;
}

@keyframes photoAppear {
  from {
    opacity: 0;
    transform: scale(0.6) rotateY(-20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateY(0);
  }
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(0, 92, 169, 0.6);
  box-shadow: 
    0 0 0 3px rgba(0, 212, 255, 0.3),
    0 15px 40px rgba(0, 92, 169, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  animation: photoPulse 2s ease-in-out infinite;
}

@keyframes photoPulse {
  0%, 100% {
    box-shadow: 
      0 0 0 3px rgba(0, 212, 255, 0.3),
      0 15px 40px rgba(0, 92, 169, 0.3),
      inset 0 0 20px rgba(255, 255, 255, 0.1),
      0 0 30px rgba(0, 212, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 0 0 8px rgba(0, 212, 255, 0.6),
      0 20px 60px rgba(0, 92, 169, 0.5),
      inset 0 0 30px rgba(255, 255, 255, 0.15),
      0 0 60px rgba(0, 212, 255, 0.4);
  }
}

.profile-photo::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00d4ff, #005ca9, #003d73, #00d4ff);
  background-size: 400% 400%;
  opacity: 0;
  animation: photoBorderGlow 3s ease infinite;
  z-index: -1;
  transition: opacity 0.3s ease;
}

@keyframes photoBorderGlow {
  0%, 100% { 
    background-position: 0% 50%;
    opacity: 0.6;
  }
  50% { 
    background-position: 100% 50%;
    opacity: 1;
  }
}

.profile-photo:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 
    0 0 0 8px rgba(0, 212, 255, 0.8),
    0 25px 60px rgba(0, 92, 169, 0.5),
    inset 0 0 40px rgba(255, 255, 255, 0.25),
    0 0 80px rgba(0, 212, 255, 0.6);
  filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.profile-photo:hover::before {
  opacity: 1;
}

.modal-avatar {
  font-size: 6rem;
  margin-bottom: 1rem;
  animation: emojiBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards, emojiGlow 2s ease-in-out infinite 0.6s;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

@keyframes emojiBounce {
  from {
    opacity: 0;
    transform: scale(0) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes emojiGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4)) brightness(1);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)) brightness(1.2);
    transform: scale(1.05);
  }
}

/* Verberg emoji avatar als er een foto is */
.profile-photo-container + .modal-avatar {
  display: none;
}

.profile-modal-header h3 {
  margin: 0.5rem 0;
  font-size: 2.2rem;
  animation: textGlide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards, textGlow 2.5s ease-in-out infinite 0.8s;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes textGlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 92, 169, 0.5);
    filter: brightness(1.1);
  }
}

.profile-modal-header .profile-role {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 1.15rem;
  animation: textGlide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.profile-modal-header h3 {
  margin: 0.5rem 0;
  font-size: 2rem;
}

.profile-modal-header .profile-role {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.1rem;
}

.profile-modal-body {
  padding: 2.5rem;
  animation: bodyFadeIn 0.5s ease-out 0.3s backwards;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

@keyframes bodyFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Info Sectie in Modal */
.profile-info-section {
  margin-bottom: 2.5rem;
  animation: sectionSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.profile-info-section:nth-of-type(1) { animation-delay: 0.35s; }
.profile-info-section:nth-of-type(2) { animation-delay: 0.4s; }
.profile-info-section:nth-of-type(3) { animation-delay: 0.45s; }

@keyframes sectionSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-info-section h4 {
  color: #00d4ff;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  position: relative;
  padding-left: 10px;
}

.profile-info-section h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #005ca9 0%, #00d4ff 100%);
  border-radius: 2px;
}

.profile-info-section p {
  color: #b8b8b8;
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-left: 3px solid rgba(0, 212, 255, 0.3);
  padding-left: 15px;
}

/* Spotify Embed Styling */
.spotify-embed {
  margin: 1.5rem 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 92, 169, 0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 92, 169, 0.1);
}

.spotify-embed:hover {
  box-shadow: 0 12px 35px rgba(0, 92, 169, 0.25);
  transform: translateY(-3px);
}

.spotify-embed iframe {
  width: 100%;
  height: 152px;
  border: none;
  border-radius: 12px;
}

/* Fun Facts Lijst */
.fun-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fun-facts-list li {
  background: linear-gradient(135deg, #3a3a3a 0%, #2d2d2d 100%);
  padding: 1.2rem 1.8rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border-left: 4px solid #00d4ff;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 92, 169, 0.3);
  font-weight: 500;
}

.fun-facts-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.fun-facts-list li:hover {
  background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-left-color: #00d4ff;
}

.fun-facts-list li:hover::before {
  left: 100%;
}

.fun-facts-list .profile-info-link {
  color: inherit;
  text-decoration: none;
}

.fun-facts-list .profile-info-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Social Links in Modal */
.profile-social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: linksAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

@keyframes linksAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-social-link .ig-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.profile-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  color: white;
  box-shadow: 0 8px 25px rgba(64, 93, 230, 0.3);
  border: 2px solid transparent;
  background: linear-gradient(135deg, #405DE6, #833AB4, #E1306C, #F56040, #FCAF45);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.profile-social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.5s ease;
}

.profile-social-link:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(64, 93, 230, 0.5), 0 0 20px rgba(64, 93, 230, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.profile-social-link:hover::before {
  left: 100%;
}

.profile-social-link:active {
  transform: translateY(-2px) scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-modal {
    padding: 1rem 0.5rem;
  }
  
  .profile-modal-content {
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .profile-modal-header h3 {
    font-size: 1.5rem;
  }
  
  .modal-avatar {
    font-size: 4rem;
  }
  
  .profile-modal-body {
    padding: 1.5rem;
  }
}
