/* GENEL İMLEÇ EFEKTİ (Index ve Hakkımızda için) */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: #0891b2;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* HİZMETLER SAYFASI - ETİKET STİLLERİ */
.tech-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.group:hover .tech-tag {
    background-color: #e0e7ff;
    /* light blue */
    color: #2563EB;
}

/* İLETİŞİM SAYFASI - FORM STİLLERİ */
.form-input {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    outline: none;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    color: #111827;
}

.form-input:focus {
    border-bottom-color: #2563EB;
}

.form-input::placeholder {
    color: #9ca3af;
}

.custom-checkbox input:checked+div {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

/* ANA SAYFA - YARATIM DÖNGÜSÜ ANİMASYONLARI */
.timeline-flow-line {
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #2563EB 50%, transparent 100%);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    z-index: 0;
    animation: flowLine 6s linear infinite;
    opacity: 0;
}

@keyframes flowLine {
    0% {
        background-position: -50% 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        background-position: 150% 0;
        opacity: 0;
    }
}

.timeline-icon {
    animation: pulseIcon 6s ease-in-out infinite;
}

.icon-delay-1 {
    animation-delay: 0s;
}

.icon-delay-2 {
    animation-delay: 1.5s;
}

.icon-delay-3 {
    animation-delay: 3s;
}

.icon-delay-4 {
    animation-delay: 4.5s;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        border-color: #e5e7eb;
        color: #9ca3af;
        box-shadow: none;
        background-color: #fff;
    }

    5% {
        transform: scale(1.15);
        border-color: #2563EB;
        color: #fff;
        background-color: #2563EB;
        box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
    }

    20% {
        transform: scale(1);
        border-color: #e5e7eb;
        color: #9ca3af;
        box-shadow: none;
        background-color: #fff;
    }

    100% {
        transform: scale(1);
        border-color: #e5e7eb;
        color: #9ca3af;
        box-shadow: none;
        background-color: #fff;
    }
}

@media (max-width: 768px) {
    .timeline-flow-line {
        display: none;
    }
}

/* --- HİZMETLER BÖLÜMÜ (Index Sayfası) --- */

/* Detay metni varsayılan olarak gizli olsun */
.service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
}

/* Üzerine gelince açılsın */
.service-item:hover .service-details {
    max-height: 150px;
    /* İçeriğin sığacağı kadar yükseklik */
    opacity: 1;
    margin-top: 1rem;
}

/* Ok işaretini döndür ve renklendir */
.service-item:hover .service-arrow i {
    transform: rotate(0deg);
    /* Oku düzelt */
    color: #2563EB;
    /* Mavi yap */
}

.service-item:hover .service-arrow {
    background-color: #eff6ff;
    /* Arkaplanı hafif mavi yap */
    border-color: #2563EB;
}

/* Başlık rengi değişimi */
.service-item:hover h3 {
    color: #2563EB;
}

/* Metin Okunabilirliği İçin Özel Ayarlar */
.policy-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #6b7280;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* --- 1. PÜTÜRLÜ (NOISE) ARKA PLAN --- */
.bg-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.04;
    /* Pütür yoğunluğu */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* --- 2. YAVAŞ HAREKET (FLOATING) ANİMASYONU --- */
@keyframes float-slow {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-float-slow {
    animation: float-slow 15s ease-in-out infinite;
}

.animate-float-slower {
    animation: float-slow 20s ease-in-out infinite reverse;
}

/* --- 3. İMLEÇ ANİMASYONU --- */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: #2563eb;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}