﻿/* public/css/style.css */
:root {
    --primary-color: #D32F2F; 
    --primary-dark: #b71c1c;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --text-color: #495057;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    padding-top: 76px; /* Navbar yüksekliği kadar boşluk */
}

/* NAVBAR */
.navbar {
    padding: 15px 0;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar-brand img { height: 45px; }
.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin-left: 15px;
    font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }
}

/* Ana Kırmızı Buton */
.btn-primary-alfa {
    background-color: #D32F2F;
    border: 2px solid #D32F2F;
    color: white;
}
.btn-primary-alfa:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
    color: white;
}

/* Outline Buton */
.btn-outline-alfa {
    background-color: transparent;
    border: 2px solid rgba(255,255,255, 0.8);
    color: white;
}
.btn-outline-alfa:hover {
    background-color: white;
    color: #D32F2F;
}

/* KARTLAR (Feature Boxes) */
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-bottom: 4px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-color);
}
.feature-icon {
    width: 70px; height: 70px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

/* FOOTER */
footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}
footer h5 { color: white; font-weight: 700; margin-bottom: 20px; }
footer ul li { margin-bottom: 10px; }
footer a { color: #bbb; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--primary-color); }

/* PANO TASARIMI (Başarı Listeleri İçin) */
.paper-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    padding: 0;
    overflow: hidden;
}
/* Raptiye efekti */
.pin {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #d32f2f;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.paper-header {
    background: #f8f9fa;
    padding: 25px 15px 15px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}
.paper-body { padding: 20px; }
.student-list li {
    border-bottom: 1px dashed #eee;
    padding: 8px 0;
    font-weight: 600;
    color: #444;
    display: flex; justify-content: space-between;
}
.student-list li:last-child { border-bottom: none; }

/* --- FOOTER MODERN --- */
footer {
    background-color: #111;
    color: #aaa;
    padding-top: 70px;
    padding-bottom: 30px;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary-color);
}

footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Link Stilleri */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px); /* Üzerine gelince sağa kayma efekti */
}
.footer-links i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--primary-color);
}

/* Sosyal Medya İkonları */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* İletişim Satırları */
.contact-item {
    display: flex;
    margin-bottom: 15px;
    align-items: start;
}
.contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
    margin-right: 12px;
}



/* --- PREMIUM SLIDER CSS --- */

/* 1. Sihirli Perde (Overlay) */
/* Bu kod resmin üzerine siyah-kırmızı karışımı şeffaf bir katman çeker */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Siyah'tan (%80) şeffaf Kırmızıya geçiş */
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(62,0,0,0.4) 100%);
    z-index: 1; /* Resmin üstünde, yazının altında */
}

/* 2. Yazı Animasyonları ve Stili */
.hero-text-content {
    animation: fadeInUp 1s ease-out; /* Yazı alttan yukarı kayarak gelir */
}

.object-fit-cover {
    object-fit: cover;
}

/* Animasyon Tanımı */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil için Carousel Yüksekliği Ayarı */
@media (max-width: 991px) {
    /* Mobilde adres çubuğu yüzünden 100vh sorun yaratabilir, biraz kıstık */
    #mobileCarousel .carousel-item {
        height: 85vh !important; 
    }
}


/* NAVBAR TEMEL */
/*.navbar { padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-link { font-weight: 600; color: var(--dark-color) !important; font-size: 0.95rem; }
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }
.dropdown-item { padding: 8px 16px; font-size: 0.9rem; border-bottom: 1px solid #f1f1f1; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background-color: var(--primary-color); color: white; }*/