/* Iron Man Animasyonu - Güncellenmiş hali */
.iron-man-animation {
    position: fixed;
    top: 0;
    left: -300px; /* Daha uzaktan başlasın */
    z-index: 1000;
    animation: flyAcross 5s ease-in-out;
}

.iron-man {
    width: 300px; /* Daha büyük boyut */
    height: auto;
    filter: drop-shadow(0 0 30px #ff0000);
    animation: hover 2s infinite ease-in-out, glow 1.5s infinite alternate;
    transform-origin: center;
}

@keyframes flyAcross {
    0% {
        left: -300px;
        top: 50%;
        transform: rotate(0deg) scale(1);
    }
    20% {
        left: 20%;
        top: 40%;
        transform: rotate(-10deg) scale(1.2);
    }
    50% {
        left: 50%;
        top: 30%;
        transform: rotate(0deg) scale(1.4);
    }
    80% {
        left: 80%;
        top: 20%;
        transform: rotate(10deg) scale(1.2);
    }
    100% {
        left: 120%;
        top: 10%;
        transform: rotate(20deg) scale(1);
    }
}

@keyframes hover {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 30px #ff0000); }
    to { filter: drop-shadow(0 0 50px #ff4444); }
}

/* Ekip Kartları */
.team-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 2rem;
}

.team-title {
    text-align: center;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    perspective: 1500px;
    height: 400px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s ease;
    border-radius: 15px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffd700;
}

.card-back {
    transform: rotateY(180deg);
}

.team-card:hover .card-front {
    transform: rotateY(180deg);
}

.team-card:hover .card-back {
    transform: rotateY(360deg);
}

.member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffd700;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    text-align: center;
    margin-top: 1.5rem;
}

.member-info h2 {
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.student-id {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    opacity: 0.8;
}

.role {
    color: #ff4444;
    font-weight: bold;
    margin-top: 0.5rem;
}

/* Kart Arka Yüzü */
.card-back h3 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 1rem;
}

.card-back ul {
    list-style: none;
    padding: 0;
}

.card-back ul li {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.favorite-hero {
    text-align: center;
    margin: 1.5rem 0;
}

.favorite-hero img {
    width: 80px;
    height: auto;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease;
}

.favorite-hero img:hover {
    transform: scale(1.1);
}


.motto {
    color: #ffd700;
    font-style: italic;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

/* Navbar logo renk düzeltmesi */
.logo-text a {
    color: #ffffff !important; /* Beyaz renk */
    text-decoration: none;
}

.logo-text a:hover {
    color: #ffd700 !important; /* Hover durumunda altın sarısı */
} 
#startSound {
    position: fixed;
    top: 100px; /* Önceki 20px'di, şimdi navbar'ın altına aldık */
    right: 20px;
    z-index: 9999;
    background: #ff0000;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
}
@keyframes heroLaunch {
    0% {
      top: 20px;
      right: 20px;
      transform: scale(1) rotate(0deg);
      opacity: 1;
    }
    50% {
      top: 50%;
      right: 50%;
      transform: scale(1.2) rotate(180deg);
      opacity: 1;
    }
    100% {
      top: 50%;
      right: 100%;
      transform: scale(0) rotate(720deg);
      opacity: 0;
    }
  }
  
  .hero-launch-effect {
    animation: heroLaunch 1s ease-in-out forwards;
    position: fixed !important;
    z-index: 3000;
  }
  #fullSmokeEffect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(200, 200, 200, 0.3) 10%, transparent 80%);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    animation: smokeFadeIn 2s forwards ease-in;
}

@keyframes smokeFadeIn {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}
.iron-man::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: 10px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0.6), transparent);
    transform: translateX(-50%);
    animation: trail 0.6s ease-out infinite;
    filter: blur(3px);
}

@keyframes trail {
    0% {
        height: 80px;
        opacity: 1;
    }
    100% {
        height: 120px;
        opacity: 0;
    }
}
