/* --- EKSTRA GÖRSEL ANİMASYONLAR (BOLD) --- */
/* Kaldırmak için HTML'den bu dosyayı silin. */

/* TYPEWRITER CURSOR */
#cursor {
    font-weight: bold;
    color: var(--color-accent);
    animation: blink-caret .75s step-end infinite;
}

/* Caret blinking */
@keyframes blink-caret {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Typing keyframes */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

/* Caret blinking */
@keyframes blink-caret {

    from,
    to {
        border-right-color: transparent
    }

    50% {
        border-right-color: var(--color-accent);
    }
}

/* 1. ANİMASYONLU BAŞLIKLAR (GRADIENT TEXT) */
/* H1 ve H2 başlıklarına renk geçişli animasyon ekler */
h1,
h2,
.section-title {
    background: linear-gradient(to right,
            #ffffff 20%,
            var(--color-accent) 40%,
            var(--color-accent) 60%,
            #ffffff 80%);
    background-size: 200% auto;
    color: #000;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

/* 2. HERO GİRİŞ ANİMASYONLARI (ENTRANCE) */
/* 2. HERO GİRİŞ ANİMASYONLARI (ENTRANCE) */
/* Sayfa açılınca elementlerin kayarak gelmesi */
.hero-content h1,
.project-hero-content h1 {
    animation: slideDown 1s ease-out forwards, shineText 5s linear infinite;
    opacity: 0;
    transform: translateY(-50px);
}

/* Span içindeki inline stili ezmek için */
.hero-content h1 span,
.project-hero-content h1 span {
    color: inherit !important;
    background: none !important;
    /* Inherit iptal, parent background kullanılsın */
    -webkit-text-fill-color: transparent !important;
}

.hero-content p,
.project-hero-content p {
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    /* 0.5s gecikme */
    opacity: 0;
}

.hero-buttons {
    animation: slideUp 1s ease-out 1s forwards;
    /* 1s gecikme */
    opacity: 0;
    transform: translateY(50px);
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 3. KARTLARA MODERN GÖRÜNÜM (GLASSMORPHISM & HOVER) */
.service-card,
.project-card,
.process-step {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    /* Yaylanma efekti */
    /* Cam Efekti */
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover,
.project-card:hover,
.process-step:hover {
    transform: translateY(-15px) scale(1.03) !important;
    box-shadow: 0 20px 40px rgba(0, 210, 148, 0.2) !important;
    border-color: var(--color-accent);
}

/* Kart içindeki ikonların dönmesi */
.service-card:hover i,
.process-step:hover .process-icon {
    transform: rotateY(360deg);
    transition: transform 0.6s ease;
    color: var(--color-accent);
}

/* 4. BUTONLARA NEON ODAKLANMA EFEKTİ */
.btn-primary {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
}

.btn-primary:hover {
    color: var(--color-primary) !important;
    box-shadow: 0 0 20px var(--color-accent);
}

/* 5. GÖRSELLER İÇİN ANİMASYON */
img {
    transition: filter 0.5s ease;
}

/* Resimlerin üzerine gelince biraz canlansın */
img:hover {
    filter: brightness(1.1) contrast(1.1);
}