/* -- SIFIRLANMIŞ VE TEMİZLENMİŞ CSS -- */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0; /* Eski margin ayarlarını sıfırla */
    background-color: #fdfdfd;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    animation: fadeIn 0.8s ease-in-out;
}

/* Sayfa Açılış Animasyonu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- NAVBAR -- */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* -- KARTLAR -- */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: #fff;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* -- BUTONLAR -- */
.btn {
    border-radius: 50px;
    font-weight: 600;
}

/* -- FORM ELEMANLARI -- */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

    .form-control:focus, .form-select:focus {
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
        border-color: #0d6efd;
    }

/* -- FOOTER -- */
/* Footer'a hiçbir pozisyon (absolute, fixed) vermiyoruz! Layout halledecek. */
.footer {
    background-color: #f8f9fa;
    color: #777;
    width: 100%;
}
/* -- FOOTER DÜZELTME -- */
.footer {
    position: relative !important; /* Asla sabit (fixed/absolute) olma */
    z-index: 10;
    margin-top: 50px !important; /* İçerikle arana mesafe koy */
    padding-bottom: 20px;
}

/* Kartların altının kesilmemesi için ek güvenlik */
main {
    padding-bottom: 50px !important;
}

/* --- MODERN SLIDER STİLLERİ --- */

/* Resimlerin üzerine gelen karanlık perde */
.slider-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

/* Animasyonlar */
.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-down {
    animation: fadeDown 1s ease-out forwards;
    opacity: 0;
    transform: translateY(-30px);
}

.delay-100 {
    animation-delay: 0.2s;
}

.delay-200 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Butonun üzerine gelince büyüme efekti */
.hover-scale {
    transition: transform 0.3s ease;
}

    .hover-scale:hover {
        transform: scale(1.05);
    }

/* Mobilde yazı boyutlarını küçültme */
/* Mobilde (Telefonlarda) Özel Ayarlar */
@media (max-width: 768px) {
    /* Slider yüksekliğini 500px'den 350px'e düşürdük -> Fotoğraf daha geniş görünecek */
    .slider-item {
        height: 350px !important;
    }

    /* Başlık yazısını küçülttük ki ekranı kaplamasın */
    .display-3 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    /* Uzun açıklama yazısını mobilde GİZLEDİK (Daha ferah durur) */
    .lead {
        display: none !important;
    }

    /* Butonları biraz kibarlaştırdık */
    .btn-lg {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
    }

    /* Rozet yazısını küçülttük */
    .badge {
        font-size: 0.7rem !important;
        margin-bottom: 5px !important;
    }
}

/* --- KURUMSAL HAKKIMIZDA SAYFASI --- */

/* Üst Banner Alanı */
/* Üst Banner Alanı */
.page-header {
    /* Burayı değiştirdik: slide1.jpeg yaptık */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/slide1.jpeg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}
/* CEO/Kurucu Kartı */
.founder-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid #bfa15f; /* Altın sarısı detay */
}

    .founder-card:hover {
        transform: translateY(-10px);
    }

.founder-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #f1f1f1;
    color: #555;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .social-links a:hover {
        background: #bfa15f;
        color: white;
    }

/* --- INTRO VİDEO AYARLARI --- */

/* Varsayılan (Masaüstü): Videoyu kesmeden sığdır, yanlar siyah kalsın */
#myIntroVideo {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* Mobil (Telefon): Ekran dik olduğu için videoyu tam kapla */
@media (max-width: 768px) {
    #myIntroVideo {
        object-fit: cover !important;
    }
}

