/* ========================= */
/* NAVBAR GENEL TASARIMI     */
/* ========================= */
.custom-navbar {
    height: 65px;
    font-size: 1rem;
    transition: background 0.3s ease;
    z-index: 200;
    background: linear-gradient(135deg, #0A3D91, #114CBB);
}

    /* Logo */
    .custom-navbar .navbar-brand img.logo {
        height: 65px;
        margin-right: 10px;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }

    .custom-navbar .navbar-brand span {
        font-size: 1.3rem;
        font-weight: bold;
        color: #ffffff;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
        font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    }

/* Menü linkleri */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    color: #fff !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: #E5B100 !important;
        transform: scale(1.05);
    }

/* ========================= */
/* ANASAYFA NAVBAR (Slider üstünde şeffaf) */
/* ========================= */
body.home-page .custom-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 61, 145, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    box-shadow: none;
}

body.home-page.scrolled .custom-navbar {
    background: linear-gradient(135deg, #0A3D91, #114CBB);
    border-bottom: 2px solid #E5B100;
}

/* ========================= */
/* İÇ SAYFALAR NAVBAR        */
/* ========================= */
body.inner-page .custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0A3D91, #114CBB);
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

body.inner-page main {
    margin-top: 100px;
}

/* ========================= */
/* SLIDER (Anasayfa)         */
/* ========================= */
.carousel,
.carousel-inner,
.carousel-item,
.carousel-img {
    height: 100vh;
}

.carousel-img {
    object-fit: cover;
    filter: brightness(80%);
}

.carousel-caption {
    bottom: 35%;
    animation: fadeInUp 1.5s ease;
}

    .carousel-caption h1 {
        font-size: 3.5rem;
        font-weight: 800;
        color: #fff;
        text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
        letter-spacing: 2px;
    }

    .carousel-caption p {
        font-size: 1.5rem;
        font-weight: 400;
        color: #f5f5f5;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    }

/* Fade in animasyonu */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel butonları */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 40px;
    height: 40px;
}

.baskan-img {
    width: 300px; /* istediğin boyuta göre ayarla, örn: 120px - 160px arası */
    height: auto;
}


/* ========================= */
/* BAŞKAN BÖLÜMÜ             */
/* ========================= */
.baskan-section {
    background: linear-gradient(135deg, #0A3D91, #114CBB);
    color: #fff;
    padding: 15px 0;
}

.baskan-photo {
    max-width: 220px; /* İstediğin boyutu burada ayarlayabilirsin */
    height: auto; /* Oran korunsun */
    border-radius: 10px;
    border: 3px solid gold;
    display: block;
    margin: 0 auto; /* Ortalamak için */
}

.baskan-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .baskan-text h2 {
        font-weight: 700;
        margin-bottom: 1rem;
        color: #E5B100;
    }

    .baskan-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        font-family: "Georgia", serif;
    }

    .baskan-text .btn {
        background-color: #D62828;
        color: #fff;
        border: none;
        transition: background-color 0.3s;
    }

        .baskan-text .btn:hover {
            background-color: #b71c1c;
        }

@media (max-width: 768px) {
    .baskan-text {
        text-align: center;
        margin-top: 1rem;
    }

    .baskan-photo {
        margin-bottom: 1rem;
    }
}

/* ========================= */
/* GENEL BLOK STİLLERİ       */
/* ========================= */
section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

    section:nth-child(even) {
        background-color: #F5F5F5;
    }

h2.section-title {
    font-weight: 700;
    color: #0A3D91;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

    h2.section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: #E5B100;
        margin: 0.5rem auto 0;
        border-radius: 2px;
    }
.galeri-section .col-md-3 {
    display: flex;
    justify-content: center;
}

.galeri-image {
    width: 100%;
    height: 200px; /* Galeri kutusunun yüksekliği */
    object-fit: cover; /* Resmi orantılı şekilde kırpar */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========================= */
/* FOOTER                    */
/* ========================= */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.flex-main {
    flex: 1; /* Footer'ı her zaman aşağı iter */
}
footer {
    background: rgba(0,0,0,0.3);
    color: #ccc;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 3rem 0;
    width: 100%;
}

    footer a {
        color: rgba(0,0,0,0.8)
        text-decoration: none;
        transition: color 0.3s;
    }

        footer a:hover {
            color: #E5B100;
        }

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-gradient-header {
    background: linear-gradient(135deg, #0A3D91, #114CBB);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

    .page-gradient-header h1 {
        font-size: 2.5rem;
        font-weight: bold;
    }

    .page-gradient-header p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

    .page-gradient-header .wave {
        position: absolute;
        bottom: -1px;
        width: 100%;
    }
