/* style.css - Banner Yazıları Küçültüldü */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #0a1628; /* Koyu Lacivert */
    --accent: #d4af37;  /* Altın Sarısı */
    --text-light: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

/* NAVBAR */
.navbar {
    background-color: var(--primary);
    padding: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.navbar-brand img {
    height: 85px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand span {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 800;
}

.navbar-brand small {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

/* BUTONLAR */
.btn-gold {
    background-color: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    font-weight: 700;
    padding: 10px 25px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent);
}

/* ANA SAYFA SLIDER (BANNER) AYARLARI */
.carousel-item {
    height: 85vh;
    min-height: 600px;
    background: #000;
}
.carousel-item img {
    opacity: 0.7;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: center;
}
.carousel-caption {
    bottom: 30%;
}

/* GÜNCELLEME BURADA YAPILDI: Yazı boyutları küçültüldü */
.carousel-caption h1 {
    font-size: 3rem; /* 4rem'den 3rem'e düşürüldü */
    font-weight: 800;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
    margin-bottom: 15px;
}

.carousel-caption .lead {
    font-size: 1.1rem; /* 1.3rem'den 1.1rem'e düşürüldü */
    font-weight: 600;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* SAYFA BAŞLIKLARI (Header) */
.page-header {
    background: linear-gradient(to bottom, rgba(10,22,40,0.7), rgba(26,38,57,0.9));
    padding: 120px 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

/* BÖLÜMLER */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    color: var(--primary);
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
}

/* GALERİ */
.gallery-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-col:hover .gallery-img {
    transform: scale(1.05);
}
.gallery-col { overflow: hidden; }

/* FOOTER */
footer {
    background-color: #050b14;
    color: #fff !important;
    padding-top: 70px;
    border-top: 5px solid var(--accent);
}
footer h5 { color: var(--accent); margin-bottom: 25px; font-size: 1.3rem; }
footer p, footer li, footer span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 768px) {
    /* Navbar Logo */
    .navbar-brand img { height: 55px; }
    .navbar-brand span { font-size: 1.1rem; }
    .navbar-brand small { font-size: 0.65rem; }

    /* Slider / Banner Mobil Ayarları */
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    .carousel-caption { bottom: 20%; }
    
    /* Mobil Başlık Boyutu Küçültüldü */
    .carousel-caption h1 { font-size: 1.7rem; } /* 2rem'den 1.7rem'e */
    .carousel-caption .lead { font-size: 0.9rem; }
    
    /* Sayfa Başlıkları */
    .page-header { padding: 60px 0; }
    .display-4 { font-size: 2.2rem; }

    /* Bölüm Başlıkları */
    .section-title h2 { font-size: 1.8rem; }
    
    /* Galeri */
    .gallery-img { height: 200px; }
    
    /* Eğitim Kartları Mobilde Resim Ayarı */
    .card-img-mobile-fix {
        height: 250px !important;
    }
}