
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Rubik:wght@300;400;500;700&family=Source+Sans+3:wght@300;400;600;700&family=Mulish:wght@300;400;600;700&family=Noto+Sans:wght@300;400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Amiri+Quran&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Mavi */
    --mavi: #0b2545;
    --mavi-light: #e8edf5;
    /* Camgobegi */
    --camgobegi: #0b2545;
    --camgobegi-light: #e6eaef;
    /* Altin Kahve */
    --altinkahve: #c9a84c;
    --altinkahve-light: #f6f1e2;
    /* Maun */
    --maun: #c04000;
    --maun-light: #f9e2d7;
    /* Açık Pembe */
    --acikpembe: #e399ad;
    --acikpembe-light: #f9e8ed;
    /* Yeşil */
    --yesil: #8aab93;
    --yesil-light: #eaf1ec;
    /* Gold */
    --gold: #c9a84c;
    --gold-light: #fef9ec;
    /* Sky */
    --sky: #0ea5e9;
    --sky-light: #e0f2fe;
    /* Emerald */
    --emerald: #22c55e;
    --emerald-light: #dcfce7;
    /* accent */
    --accent: #e74c3c;
    --accent-light: #f9dcd9;
    /* Fildişi */
    --fildisi: #FEFEF0;
    --fildisi-light: #fcf9f4;
}


/* --- Özel Text Renkleri --- */
.mavi {
    color: var(--mavi) !important;
}

.mavi-light {
    color: var(--mavi-light) !important;
}

.camgobegi {
    color: var(--camgobegi) !important;
}

.camgobegi-light {
    color: var(--camgobegi-light) !important;
}

.altinkahve {
    color: var(--altinkahve) !important;
}

.altinkahve-light {
    color: var(--altinkahve-light) !important;
}

.maun {
    color: var(--maun) !important;
}

.maun-light {
    color: var(--maun-light) !important;
}

.acikpembe {
    color: var(--acikpembe) !important;
}

.acikpembe-light {
    color: var(--acikpembe-light) !important;
}

.yesil {
    color: var(--yesil) !important;
}

.yesil-light {
    color: var(--yesil-light) !important;
}

.gold {
    color: var(--gold) !important;
}

.gold-light {
    color: var(--gold-light) !important;
}

.sky {
    color: var(--sky) !important;
}

.sky-light {
    color: var(--sky-light) !important;
}

.emerald {
    color: var(--emerald) !important;
}

.emerald-light {
    color: var(--emerald-light) !important;
}

.accent {
    color: var(--accent) !important;
}

.accent-light {
    color: var(--accent-light) !important;
}

.fildisi {
    color: var(--fildisi) !important;
}

.fildisi-light {
    color: var(--fildisi-light) !important;
}



/* Özel ArkaPlan-Text Tanımlamalar */
.bg-mavibeyaz {
    background-color: var(--mavi) !important;
    color: #ffff !important;
}
.bg-goldbeyaz {
    background-color: var(--gold) !important;
    color: #ffff !important;
}

.bg-goldsubtle {
    background-color: #fff3cd !important;
    color: var(--bs-dark) !important;
}

.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.15) !important;
    color: #198754 !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.15) !important;
    color: #dc3545 !important;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.15) !important;
    color: #0d6efd !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.15) !important;
    color: #997404 !important;
}

.bg-info-soft {
    background-color: rgba(13, 202, 240, 0.15) !important;
    color: #055160 !important;
}

.bg-secondary-soft {
    background-color: rgba(108, 117, 125, 0.15) !important;
    color: #495057 !important;
}

/* özel Border Tanımlamalar */
.border-mavi {
    border-color: var(--mavi) !important;
}

.border-camgobegi {
    border-color: var(--camgobegi) !important;
}

.border-altinkahve {
    border-color: var(--altinkahve) !important;
}

.border-maun {
    border-color: var(--maun) !important;
}

.border-yesil {
    border-color: var(--yesil) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}


/* özel Border Solid Tanımlamalar */
.myBorderBottomBlue {
    border-bottom: 3px solid var(--mavi) !important;
}

.myBorderBottomGold {
    border-bottom: 3px solid var(--gold) !important;
}


/* Üstte */

.border-top-mavi {
    border-top: 4px solid var(--mavi) !important;
}

.border-top-gold {
    border-top: 4px solid var(--gold) !important;
}

.border-top-sky {
    border-top: 4px solid #0ea5e9 !important;
}

.border-top-emerald {
    border-top: 4px solid #22c55e !important;
}

/* Altta */

.border-botton-mavi {
    border-bottom: 4px solid var(--mavi) !important;
}

.border-botton-gold {
    border-bottom: 4px solid var(--gold) !important;
}

.border-botton-sky {
    border-bottom: 4px solid #0ea5e9 !important;
}

.border-botton-emerald {
    border-bottom: 4px solid #22c55e !important;
}

/* Solda */

.border-left-mavi {
    border-left: 4px solid var(--mavi) !important;
}

.border-left-gold {
    border-left: 4px solid var(--gold) !important;
}

.border-left-sky {
    border-left: 4px solid #0ea5e9 !important;
}

.border-left-emerald {
    border-left: 4px solid #22c55e !important;
}


/* Sağda */

.border-right-mavi {
    border-right: 4px solid var(--mavi) !important;
}

.border-right-gold {
    border-right: 4px solid var(--gold) !important;
}

.border-right-sky {
    border-right: 4px solid #0ea5e9 !important;
}

.border-right-emerald {
    border-right: 4px solid #22c55e !important;
}

/* Özel linear-gradient Tanımlamalar */

.linear-gradient-mavi {
    background: linear-gradient(135deg, var(--mavi) 0%, #1a4a8e 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(11, 37, 69, 0.2);
}

.linear-gradient-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}


.linear-gradient-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.linear-gradient-info {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
}

.paragraf {
    text-align: justify; /* Iki yana yaslanmış */
    text-indent: 3rem; /* Paragraf başı 3 rem ileriden başla */
}

.text-shadow-sm {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.text-shadow-md {
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.text-shadow-lg {
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-family: Roboto, Rubik, 'Source Sans Pro', Muli, 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

/* ══════════════════════════════════════
       Ratio Sınıfları
    ══════════════════════════════════════ */
/* bu yapı carousel için */
.ratio-16x9 {
    aspect-ratio: 16/9;
    padding: 0;
    overflow: hidden;
}
/* bu yapı carousel için */
.ratio-2x1 {
    aspect-ratio: 2 / 1;
    padding: 0;
    border: 3px solid var(--bs-gray-600) !important;
    overflow: hidden;
}

/* bu yapı card için */
.ratio-3x2 {
    aspect-ratio: 3/2;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* dikey kaydırma */
    overflow-x: hidden; /* yatay kaydırmayı gizle */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

/* bu yapı card için */
.ratio-1x1 {
    aspect-ratio: 1/1;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* dikey kaydırma */
    overflow-x: hidden; /* yatay kaydırmayı gizle */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.ratio-1x1-card {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
}

    .ratio-1x1-card .card-body {
        flex: 1; /* Kalan alanı kapla */
        overflow-y: auto; /* dikey kaydırma */
        overflow-x: hidden; /* yatay kaydırmayı gizle */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--gold) transparent;
    }


/* .ratio-1x1 ve .ratio-3x2  içindeki özel container stili aynen korunuyor */
.ratio-1x1, .ratio-3x2 .scroll-left-container {
    padding: 1.5rem;
}

    /* Tüm ratio sınıfları için webkit scrollbar stilleri */
    .ratio-3x2::-webkit-scrollbar,
    .ratio-1x1::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .ratio-3x2::-webkit-scrollbar-track,
    .ratio-1x1::-webkit-scrollbar-track {
        background: transparent;
    }

    .ratio-3x2::-webkit-scrollbar-thumb,
    .ratio-1x1::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 3px;
    }

        .ratio-3x2::-webkit-scrollbar-thumb:hover,
        .ratio-1x1::-webkit-scrollbar-thumb:hover {
            background: var(--gold);
        }

/* ══════════════════════════════════════
       TOPBAR
    ══════════════════════════════════════ */
.topbar {
    background: linear-gradient(to right, var(--mavi), #1a3a5a);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.topbar-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.topbar-content::-webkit-scrollbar {
    display: none;
}

.topbar a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.topbar i {
    font-size: 0.85rem;
    color: var(--gold);
}

.topbar .sep {
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
}

@media (max-width: 768px) {
    .topbar {
        font-size: 0.7rem;
        padding: 0.4rem 0;
    }
    .topbar-content {
        gap: 0.75rem;
        justify-content: flex-start;
    }
}

/* ══════════════════════════════════════
       NAVBAR
    ══════════════════════════════════════ */

.navbar {
    padding: 0;
   /* border-bottom: 2px solid var(--gold) !important;*/
    position: sticky;
    top: 0;
    z-index: 1040;
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--maun) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--maun) !important;
    color: #fff !important;
}

.kurumsal-logo {
    width: 37px;
    height: 37px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--mavi);
    flex-shrink: 0;
}

.kurumsal-text .name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.1;
}

.kurumsal-text .tagline {
    font-size: .65rem;
    color: var(--bs-gray-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}



/* ══════════════════════════════════════
      Body, Main
    ══════════════════════════════════════ */



/* ══════════════════════════════════════
       Carousel Responsive Fix (Below LG)
    ══════════════════════════════════════ */

/* Okların görsele göre ortalanması - Tüm çözünürlükler */
#carouselHaberCaptions .carousel-control-prev,
#carouselHaberCaptions .carousel-control-next {
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    z-index: 10;
}

#carouselHaberCaptions .carousel-caption .btn {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    background: var(--sky);
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

    #carouselHaberCaptions .carousel-caption .btn:hover {
        background-color: #333 !important;
        color: #fff !important;
    }

@media (max-width: 991.98px) {
    #carouselHaberCaptions .carousel-control-prev,
    #carouselHaberCaptions .carousel-control-next {
        height: 50% !important; /* Mobilde sadece üstteki görsel alanında ortala */
    }

    #carouselHaberCaptions .carousel-item {
        aspect-ratio: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Geçiş sorunu için eklenen wrapper */
    #carouselHaberCaptions .carousel-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
    }

    #carouselHaberCaptions .carousel-item img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2/1;
        object-fit: cover;
    }

    #carouselHaberCaptions .carousel-caption {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        aspect-ratio: 2 / 1 !important;
        padding: 1.5rem !important;
        background-color: #ffffff !important; /* Daha temiz beyaz arka plan */
        color: #1a1a1a !important;
        border-top: 5px solid var(--sky) !important; /* Sky rengi ile daha profesyonel */
        text-align: left !important; /* Profesyonel görünüm için sola yasla */
        overflow-y: auto !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* İçeriği yay */
        box-shadow: 0 -10px 20px rgba(0,0,0,0.05); /* Hafif gölge */
        scrollbar-width: thin;
        scrollbar-color: var(--sky) transparent;
    }

    #carouselHaberCaptions .carousel-caption h5 {
        font-size: 1.4rem !important;
        font-weight: 800 !important;
        margin-bottom: 0.5rem !important;
        color: var(--mavi) !important;
        line-height: 1.2;
    }

    #carouselHaberCaptions .carousel-caption p {
        display: -webkit-box !important;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.9rem !important;
        color: #555 !important;
        margin-bottom: 1rem !important;
    }

    #carouselHaberCaptions .carousel-caption .gap-3 {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        width: 100%;
    }

    #carouselHaberCaptions .carousel-caption .btn {
        border-radius: 49px;
        padding: 0.5rem 1.3rem !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.8rem;
        background: var(--sky);
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
    }

    #carouselHaberCaptions .carousel-caption .btn:hover {
        background-color: #333 !important;
        color: #fff !important;
    }


    #carouselHaberCaptions .carousel-indicators {
        bottom: 35px !important; /* Detay butonu ile tam merkezde hizalanması için ayarlandı (Padding 24px + ButonYarısı 14px) */
        top: auto !important;
        margin: 0 !important; /* Ortalamayı kaldır */
        padding-left: 1.5rem; /* Kenardan boşluk */
        justify-content: flex-start !important; /* Sola yasla */
        width: fit-content !important; /* Genişliği içeriğe göre ayarla ki sağdaki butona yer kalsın */
        z-index: 15;
    }


    #carouselHaberCaptions .carousel-indicators [data-bs-target] {
        width: 30px;
        height: 5px;
        border-radius: 5px;
        background-color: var(--mavi); /* Beyaz zeminde görünmesi için koyu mavi */
        opacity: 0.2;
        border: none;
    }

    #carouselHaberCaptions .carousel-indicators .active {
        opacity: 1;
        background-color: var(--sky); /* Aktif olan sky blue */
        width: 45px;
    }
}

/* Carousel Navigasyon Okları Renklendirme */
#carouselHaberCaptions .carousel-control-prev-icon,
#carouselHaberCaptions .carousel-control-next-icon {
    background-color: var(--sky);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

#carouselHaberCaptions .carousel-control-prev-icon:hover,
#carouselHaberCaptions .carousel-control-next-icon:hover {
    background-color: var(--mavi);
    transform: scale(1.1);
}



/* ══════════════════════════════════════
      Takvim ve Duyurular
    ══════════════════════════════════════ */


/* ══════════════════════════════════════
       SWIPER SLIDER STİLLERİ
    ══════════════════════════════════════ */
.projectsSwiper {
    padding-bottom: 50px !important;
    padding-top: 20px !important;
    padding-left: 10px;
    padding-right: 10px;
}

.proj-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.proj-badge {
    position: absolute;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    background: rgba(11, 37, 69, 0.95);
    color: white;
    padding: 6px 15px;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.5px;
}



.swiper-next, .swiper-prev {
    background: var(--gold);
    color: var(--mavi);
    width: 40px;
    height: 40px;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

    .swiper-next:hover, .swiper-prev:hover {
        background: var(--mavi);
        color: var(--gold);
    }

.swiper-pagination-bullet-active {
    background: var(--gold);
}



/* ══════════════════════════════════════
      Diğerleri
    ══════════════════════════════════════ */


/* ══════════════════════════════════════
       Soft Badge Styles (Kullanıcı Listesi vb. için)
    ══════════════════════════════════════ */
.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.15) !important;
    color: #198754 !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.15) !important;
    color: #dc3545 !important;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.15) !important;
    color: #0d6efd !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.15) !important;
    color: #997404 !important;
}

.bg-info-soft {
    background-color: rgba(13, 202, 240, 0.15) !important;
    color: #055160 !important;
}

.bg-secondary-soft {
    background-color: rgba(108, 117, 125, 0.15) !important;
    color: #495057 !important;
}

.badge i {
    vertical-align: middle;
}

/* ══════════════════════════════════════
       ANIMATIONS
    ══════════════════════════════════════ */
.pulse-red {
    animation: pulse-red-anim 2s infinite;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
}

@keyframes pulse-red-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
