﻿/* =========================
   SABIDEK MODERN UI THEME
   ========================= */

/* ROOT COLORS */
:root {
    --primary: #005b96;
    --secondary: #0077b6;
    --accent: #00b4d8;
    --light: #f5f7fa;
    --dark: #1a1a1a;
    --white: #ffffff;
}

/* GENERAL */
body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--light);
    color: var(--dark);
    margin: 0;
    padding: 0;
}

/* LINKS */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

    a:hover {
        color: var(--accent);
    }

/* =========================
   TOP HEADER
   ========================= */
.top-header {
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.logo img {
    transition: transform 0.3s ease;
}

    .logo img:hover {
        transform: scale(1.05);
    }

.search-box input {
    border-radius: 20px;
    padding: 5px 12px;
}

.lang-switch a {
    color: var(--dark);
    font-weight: 500;
}

/* =========================
   NAVBAR
   ========================= */
.main-navbar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 12px 0;
}

    .main-navbar .nav-link {
        color: white !important;
        font-weight: 500;
        margin: 0 8px;
        transition: 0.3s;
    }

        .main-navbar .nav-link:hover {
            color: var(--accent) !important;
        }

/* dropdown */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* BUTTON */
.btn-warning {
    border-radius: 25px;
    font-weight: bold;
}

/* =========================
   HERO SECTION (Default.aspx için)
   ========================= */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

    .hero h1 {
        font-size: 48px;
        font-weight: bold;
    }

    .hero p {
        font-size: 20px;
        opacity: 0.9;
    }

/* =========================
   CARDS
   ========================= */
.card-modern {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    background: white;
}

    .card-modern:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .card-modern img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

/* =========================
   SECTION TITLE
   ========================= */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: bold;
        color: var(--primary);
    }

    .section-title p {
        color: #666;
    }

/* =========================
   STATS
   ========================= */
.stats {
    background: var(--primary);
    color: white;
    padding: 50px 0;
    text-align: center;
}

    .stats h3 {
        font-size: 36px;
        font-weight: bold;
    }

/* =========================
   FOOTER
   ========================= */
.footer {
    background: #0b1f33;
    color: #ccc;
}

    .footer h5 {
        color: white;
        margin-bottom: 15px;
    }

    .footer ul {
        list-style: none;
        padding: 0;
    }

        .footer ul li {
            margin-bottom: 8px;
        }

            .footer ul li a {
                color: #ccc;
            }

                .footer ul li a:hover {
                    color: var(--accent);
                }

.footer-bottom {
    background: #081521;
    color: #aaa;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .main-navbar .nav-link {
        margin: 5px 0;
    }
}

/* =========================
   HERO kısmı deafault.aspxte silmiştik ama bunu eklemeyi önerdi
   ========================= */

.hero-slider {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 30px;
    text-align: center;
    width: 100%;
}

.slider-item {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

    .slider-overlay h1 {
        font-size: 42px;
        font-weight: 700;
    }

    .slider-overlay p {
        font-size: 18px;
        max-width: 700px;
    }


/* =========================
   HAKKIMIZDA SAYFASI İÇİN
   ========================= */
.card {
    border-radius: 12px;
}

.list-unstyled li {
    padding: 8px 0;
}

.list-unstyled li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.list-unstyled li a:hover {
    color: #0d6efd;
}

/* =========================
   MİSYON & VİZYON SAYFASI İÇİN
   ========================= */

.mv-card {
    padding: 25px;
    border-radius: 12px;
    color: white;
    height: 100%;
}

.mv-card h4 {
    margin-bottom: 15px;
    font-weight: bold;
}

.mv-card.mission {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.mv-card.vision {
    background: linear-gradient(135deg, #198754, #146c43);
}

.mv-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* =========================
   ORGANİZASYON SAYFASI İÇİN
   ========================= */

.org-top {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.org-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box; /* 🔥 çok önemli */
}

.org-card:hover {
    transform: translateY(-5px);
}

.org-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #0d6efd;
}

.org-card h5, .org-card h6 {
    margin: 5px 0;
    font-weight: 600;
}

.org-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.org-card.leader {
    text-align: center;
    padding: 25px;
    border: 2px solid #0d6efd;
}

/* =========================
   TARİHÇE SAYFASI İÇİN
   ========================= */

.timeline {
    position: relative;
    margin-top: 20px;
    padding-left: 20px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #0d6efd;
    }

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 30px;
}

.timeline-year {
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 5px;
}

.timeline-content {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   SÜREÇLER SAYFASI İÇİN
   ========================= */


.process-timeline {
    position: relative;
}

 /*HER STEP*/ 
.step {
    display: flex;
    position: relative;
    padding-left: 60px;  /*çizgi ve ikon alanı */
    margin-bottom: 25px;
}

     /*DİKEY ÇİZGİ (ARTIK STEP ÜZERİNDEN)*/ 
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 20px;
        top: 40px;
        bottom: -25px;
        width: 3px;
        background: #0d6efd;
    }

 /*NUMARA KUTUSU*/ 
.step-icon {
    position: absolute;
    left: 0;
    top: 0px;  /*🔥 HEPSİNİ ORTALAYAN KRİTİK NOKTA */

    width: 40px;
    height: 40px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

 /*İÇERİK*/ 
.step-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* =========================
   ETKİNLİKLER SAYFASI İÇİN
   ========================= */

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-body {
    padding: 15px;
}


/* =========================
   İLETİŞİM SAYFASI İÇİN
   ========================= */

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    height: 100%;
}

.contact-card p {
    margin-bottom: 25px;
    line-height: 28px;
}

.contact-card:hover {
    transform: translateY(-3px);
    transition: .3s;
}


/* =========================
   ORGANİZASYON YAPISI SAYFASI İÇİN
   ========================= */


.org-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    /*box-shadow: 0 5px 20px rgba(0,0,0,0.08);*/
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f1f1f1;
}

.org-card:hover {
    transform: translateY(-5px);
}

.org-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%; /* 🔥 DAİRE YAPAN KISIM */
    border: 4px solid #e9ecef;
    margin-bottom: 15px;
}

.org-name {
    font-size: 18px;
    font-weight: 600;
}

.org-title {
    font-size: 14px;
    color: #6c757d;
}

.org-badge {
    margin-top: 10px;
}