html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 60px;
    min-height: 100%; /* Sticky footer için gerekli */
}

main {
    flex: 1; /* Ana içeriği kalan boşluğa yay */
}

footer {
    background-color: #343a40;
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Resim hover efekti - sadece bu tanımı bırakıyoruz */
img {
    transition: transform 0.3s ease-in-out;
}

img:hover {
    transform: scale(1.05); /* Hover sırasında büyütme efekti */
}

/* Kart Başlıklarına İkon */
h4 i {
    font-size: 1.2rem; /* İkon boyutu */
    vertical-align: middle; /* Metin hizalama */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

header {
    height: auto; /* Mobilde header boyutunu düzenler */
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.navbar-nav .nav-link {
    color: black; /* Normal durumdaki renk */
    font-weight: bold;
    transition: all 0.3s ease; /* Yumuşak geçiş efekti */
    padding: 0.6rem;
}

    .navbar-nav .nav-link:hover {
        color: #007bff; /* Hover durumunda mavi */
        text-decoration: underline; /* Alt izgi efekti */
        background-color: #f8f9fa; /* Arka plan rengi */
    }

/* Dropdown Menü Hover Efekti */
.dropdown-menu .dropdown-item {
    color: black; /* Normal durumdaki renk */
    transition: all 0.3s ease; /* Yumuşak geçiş efekti */
}

    .dropdown-menu .dropdown-item:hover {
        color: #007bff; /* Hover durumunda mavi */
        background-color: #f8f9fa; /* Arka plan rengi */
    }

.fullscreen-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

    .fullscreen-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .fullscreen-banner .overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
    }

/* Arka plan için ek efekt */
.background-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam siyah katman */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Daha Akıcı Animasyon için Optimize Edilmiş Stil */
.animate {
    opacity: 0;
    transform: translateY(50px);
    will-change: opacity, transform; /* Tarayıcıya bu özelliklerin değişeceğini bildirir */
    transition: all 0.8s ease-in-out;
}

    /* Görünür Olduğunda */
    .animate.visible {
        opacity: 1;
        transform: translateY(0); /* Normal pozisyona gelsin */
    }

section.bg-light h2 {
    font-size: 2rem;
    font-weight: bold;
}

section.bg-light ul li strong {
    font-size: 1.1rem;
}

/* Resim optimizasyonu için CSS */
img {
    transition: opacity 0.3s ease-in;
    will-change: opacity; /* GPU hızlandırma için */
    backface-visibility: hidden; /* Render performansını iyileştirme */
    transform: translateZ(0); /* GPU hızlandırma */
}

img.preload-image {
    opacity: 0;
}

img.image-loaded {
    opacity: 1;
}

/* Bulanıklık efektini kaldırıyoruz */
/*
img.blur-load {
    filter: blur(5px);
    transition: filter 0.3s ease-out;
}

img.blur-load.loaded {
    filter: blur(0);
}
*/
