﻿/* ------------------------------------------- */
/* 1. Profesyonel Animasyonlar */
/* ------------------------------------------- */
/* Sayfa yüklendiğinde görünecek elementler için (Hero Bölümü) */
.hero .fade-in > * {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards; /* Daha profesyonel easing */
}

.hero .fade-in h1 {
    animation-delay: 0.3s;
}

.hero .fade-in p {
    animation-delay: 0.5s;
}

.hero .fade-in ul {
    animation-delay: 0.7s;
}

.hero .fade-in .mt-4 {
    animation-delay: 0.9s;
}

.hero .fade-in .col-lg-6:last-child img {
    animation-delay: 1.1s;
}
/* Görsel en son girsin */


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll ile Giren Öğeler (Kartlar, İstatistikler vb.) */
.animated-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Yumuşak Easing */
}

    .animated-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ------------------------------------------- */
/* 2. Görsel Geliştirmeler (Hover & Shadow) */
/* ------------------------------------------- */

/* Hero bölümü arka planı: Hafif Parçacık Efekti */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.1) 1%, transparent 30%), radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.1) 1%, transparent 30%);
        z-index: 1;
    }

/* Kartlar için Hover Efekti (Hafif kalkma ve gölge derinleşmesi) */
.card, .p-4.border.rounded-3 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover, .p-4.border.rounded-3:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

/* Düğmeler için Hafif Büyüme Efekti */
.btn-lg, .btn-sm {
    transition: transform 0.2s ease;
}

    .btn-lg:hover, .btn-sm:hover {
        transform: scale(1.03);
    }

/* CEO Mesajı Bölümüne hafif gölge ve geçiş */
.ceo-photo-wrapper img {
    transition: border-color 0.3s ease;
}

    .ceo-photo-wrapper img:hover {
        border: 3px solid #1e3c72 !important; /* Başlık rengiyle uyumlu */
    }