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

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


body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Exo 2', sans-serif;
    

    background: linear-gradient(
        -45deg, 
        #18122B, 
        #24183E, 
        #18122B,
        #F05454 
    );

    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

.kartvizit-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    max-height: 700px;
    margin: 5vh auto;
    
    background-color: rgba(36, 24, 62, 0.85); 
    backdrop-filter: blur(10px); 
    
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    
   
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards; 
}


.fotograf-bolumu {
    flex-basis: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
    overflow: hidden; 
    background-color: #2F244C; 
}

.fotograf-bolumu::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, #F05454, #30E3CA, #2F244C, #18122B, #F05454, #30E3CA); /* Hareketli gradyan renkleri */
    background-size: 300% 300%; 
    animation: backgroundFlow 15s ease infinite;
    z-index: 0; 
}
@keyframes backgroundFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.fotograf-cerceve {
    position: relative; 
    width: 280px; 
    height: 280px;
    border-radius: 50%; 
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1),
                0 0 20px rgba(0, 72, 255, 0.5);
    z-index: 1;
    
    
    transform: scale(0.8);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.3s forwards, 
               scaleUp 1s ease-out 1.3s forwards;
}


.fotograf-cerceve img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%); 
}


@keyframes scaleUp {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.bilgi-bolumu {
    flex-basis: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}



.icerik h1 {
    font-size: 2.5rem;
    color: #E0E0E0; 
    margin-bottom: 10px;
    
   
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards; 
}

.icerik h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #F05454;
    margin-bottom: 20px;
    
    
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards; 
}

.icerik .aciklama {
    font-size: 1rem;
    color: #e0e0e0; 
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.linkler {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.linkler a {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 10px 15px;
    text-decoration: none;
    
    color: #E0E0E0;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.linkler a:hover {
    background-color: #F05454;
    color: #18122B;
    border-color: #F05454;
}

@media (max-width: 768px) {
    .kartvizit-container {
        flex-direction: column;
        height: auto;
        width: 95%;
        margin: 20px auto;
        background-color: #1e1e2d;
        backdrop-filter: none;
    }

    .fotograf-bolumu {
        flex-basis: auto;
        height: 350px; 
    }
    
    .fotograf-bolumu::before {
        top: -100%; 
        left: -100%;
        width: 300%;
        height: 300%;
        animation-duration: 20s; 
    }
    .fotograf-cerceve {
        width: 200px; 
        height: 200px;
        border: 5px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 0 0 5px rgba(240, 84, 84, 0.1), 
                0 0 20px rgba(240, 84, 84, 0.4);
    }

    .bilgi-bolumu {
        flex-basis: auto;
        padding: 30px;
        text-align: center;
    }

    .icerik h1 {
        font-size: 2rem;
    }

    .icerik h2 {
        font-size: 1.2rem;
    }
}

#typing-text {
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid #F05454; 
    display: inline-block;
    vertical-align: top; 
}
@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #F05454; }
}