/* =================================================================== */
/* 1. GENEL VE TEMEL STİLLER */
/* =================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bs-primary: #3d5a80; /* Ana Renk (Koyu Mavi) */
    --bs-secondary: #98c1d9; /* İkincil Renk (Açık Mavi) */
    --bs-success: #2a9d8f; /* Başarı Rengi (Yeşil) */
    --bs-info: #e0fbfc; /* Bilgi Rengi (Çok Açık Mavi) */
    --bs-warning: #ee9b00; /* Uyarı Rengi (Turuncu) */
    --bs-danger: #e76f51; /* Tehlike Rengi (Kırmızı/Turuncu) */
    --bs-light: #f8f9fa; /* Açık Arkaplan */
    --bs-dark: #293241; /* Koyu Renk (Navbar) */
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; 
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    padding-top: 70px;
}
    body.full-screen-layout {
        padding-top: 0;
    }

.navbar {
    z-index: 1050;
}


.navbar-translucent {
    background-color: rgba(0, 0, 0, 0.25) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease-in-out;
}

    .navbar-translucent.navbar-scrolled {
        background-color: #ffffff !important;
    }

.navbar-nav .nav-link.active {
    font-weight: 600;
    color: #0d6efd !important;
}

.btn-primary:hover, .btn-success:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card {
    transition: all 0.2s ease-in-out;
}

    .card:hover {
        box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
    }

.homepage-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {

    .homepage-carousel .carousel-item img {
        object-fit: contain;
    }

    .homepage-carousel .ratio {
        --bs-aspect-ratio: 65% !important;
    }
}

.icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
}

.category-card {
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

.login-branding-bg {
    background: linear-gradient(-45deg, #007bff, #212529, #0d6efd, #343a40);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.register-branding-bg {
    background: linear-gradient(-45deg, #198754, #212529, #157347, #343a40);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#cookie-banner {
    display: none;
}

.forgot-password-branding-bg {
    background: linear-gradient(-45deg, #ee9b00, #212529, #e76f51, #343a40);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.password-change-branding-bg {
    background: linear-gradient(-45deg, #3d5a80, #293241, #007bff, #343a40);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.banner-slide-container {
    position: relative;
}

.banner-button {
    position: absolute;
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%); 
    min-width: 200px; 
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .banner-button {
        bottom: 20px; 
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

.about-hero {
    background-color: #f8f9fa; 
}

/* Hakkımızda Sayfası - Felsefe İkonları */
.feature-icon-lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}

/* Hakkımızda Sayfası - Zaman Çizelgesi (Timeline) */
.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

    .timeline::after {
        content: '';
        position: absolute;
        width: 3px;
        background-color: #dee2e6;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -1.5px;
    }

.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

    /* Sağdaki kutucuklar */
    .timeline-item:nth-child(odd) {
        left: 50%;
    }

    /* Soldaki kutucuklar */
    .timeline-item:nth-child(even) {
        left: 0;
    }

/* İkonların pozisyonu */
.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: white;
    border: 3px solid #dee2e6;
    top: 32px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bs-primary);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

/* İçerik kutucukları */
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

/* Mobil için zaman çizelgesi */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        .timeline-item:nth-child(odd),
        .timeline-item:nth-child(even) {
            left: 0;
        }

    .timeline-icon {
        left: 6px;
    }
}

.exam-card, .exam-card-soon {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 0;
}

    .exam-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

/* Kart içindeki ikonlar için */
.exam-icon-wrapper {
    height: 60px; /* İkonlar için sabit bir yükseklik */
}

/* "Yakında" olarak işaretlenmiş kartlar için stil */
.exam-card-soon {
    opacity: 0.7;
    background-color: #f8f9fa;
}

/* =================================================================== */
/* 5. MODERN STICKY FOOTER DÜZENLEMESİ */
/* =================================================================== */

/* Body etiketini, dikeyde esneyen bir ana konteyner yap */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sayfa yüksekliğinin en az ekran boyu kadar olmasını sağla */
}

/* Ana içerik alanının (main), mevcut tüm boş alanı doldurarak büyümesini sağla. 
   Bu, footer'ı her zaman sayfanın en altına iter. */
main {
    flex-grow: 1;
}

/* Footer'ın pozisyonunu sıfırlıyoruz, çünkü artık Flexbox onu doğru yere konumlandıracak. */
.footer {
    position: static; /* position: absolute kuralını geçersiz kılar */
    line-height: normal; /* line-height: 60px kuralını sıfırlar */
}

