/* Genel Sayfa Stilleri */
body {
    font-family: 'Poppins', sans-serif;
}

/* --- Bootstrap Navbar Düzenlemeleri --- */

/* Navbar'ı şeffaf yap ve geçiş efekti ekle */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* Şeffaf arkaplan yerine gradient ekliyoruz */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    border-bottom: none;
    /* Gradientin daha iyi görünmesi için alt çizgiyi kaldıralım */
    transition: all 0.4s ease-in-out;
    /* Tüm değişikliklerin (padding, bg) yumuşak geçişi için */
}

/* Sayfa aşağı kaydırıldığında Navbar'a eklenecek stil */
.navbar.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: rgba(0, 40, 85, 0.95);
    /* Kurumsal renge yakın, yarı saydam */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    /* Logonun aşağı taşması ve animasyonu için */
    transform: translateY(5px);
    /* Logonun aşağıya taşma miktarını azalttık, böylece logo yukarı hareket etti */
    transition: transform 0.4s ease-in-out;
}

.navbar-brand img {
    height: 80px;
    /* 200px'den daha dengeli bir boyuta düşürüldü */
    /* Logonun başlangıç yüksekliği (orijinal boyut) */
    transition: height 0.4s ease-in-out;
}

.navbar.scrolled .navbar-brand {
    /* Kaydırıldığında logoyu eski yerine al */
    transform: translateY(0);
}

.navbar.scrolled .navbar-brand img {
    height: 45px;
    /* Kaydırıldığında logonun yüksekliği */
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Okunabilirliği artırmak için gölge */
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: #e0e0e0;
}

/* --- Dropdown Menu Stilleri --- */
.dropdown-menu {
    background-color: rgba(0, 40, 85, 0.98);
    /* Scrolled navbar ile uyumlu */
    border-radius: 0 0 8px 8px;
    /* Sadece alt köşeleri yuvarlat */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    /* Üst çizgiyi kaldırarak menüyle bütünleşik görünüm */
    margin-top: -1px;
    /* Navbar ile arasındaki boşluğu kapat */
    padding: 0.5rem 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
    /* Açılış animasyonu */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(136, 193, 73, 0.2);
    /* ADÜ yeşilinin şeffaf hali */
    color: #ffffff;
}

/* --- Ken Burns/Zoom Efekti --- */
@keyframes kenburns-zoom-in {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
        /* Zoom efekti artırıldı */
    }
}

/* --- Bootstrap Carousel Düzenlemeleri --- */
#main-slider .carousel-item {
    height: 100vh;
    /* Slider yüksekliğini ekran yüksekliği kadar yap */
    min-height: 600px;
    /* Arkaplan stilleri yeni .carousel-background sınıfına taşındı */
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 0;
    /* Yazının arkasında kalması için */
}

/* Aktif olan slaytın arkaplanına zoom animasyonunu uygula */
#main-slider .carousel-item.active .carousel-background {
    animation: kenburns-zoom-in 8s ease-out forwards;
}

/* Slider üzerindeki yazı alanı */
.carousel-caption {
    /* Konumlandırma */
    z-index: 1;
    /* Arkaplanın üzerinde kalması için */
    bottom: 20%;
    /* Dikey konumu ayarla */
    left: 0;
    /* Tam genişlik için sola sıfırla */
    right: 0;
    /* Tam genişlik için sağa sıfırla */
    width: 100%;
    /* Tam genişlik yap */

    /* Stil */
    background: none;
    /* Arka planı kaldır */
    text-align: left;
    /* İçerik (container) sola hizalı olacak */
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 0;
    /* Container'ın kendi padding'i kullanılacak */
    padding-right: 0;
    /* Container'ın kendi padding'i kullanılacak */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    /* Okunabilirlik için güçlü bir gölge */
}

.carousel-caption h5 {
    font-size: 2.5rem;
    /* Başlık fontunu büyüt */
    font-weight: 600;
}

/* Mobil cihazlar için slider yazısı ayarları */
@media (max-width: 767.98px) {
    .carousel-caption {
        bottom: 15%;
        left: 5%;
        right: 5%;
        width: auto;
        /* Genişliği otomatik yaparak yan boşluklara göre ayarla */
        text-align: center;
        /* Metni ortala */
    }

    .carousel-caption h5 {
        font-size: 1.6rem;
        /* Mobil için daha uygun bir font boyutu */
    }
}

/* --- Ana Slider Navigasyon Stilleri --- */
#main-slider .carousel-control-prev,
#main-slider .carousel-control-next {
    width: auto;
    /* Genişliği otomatik yap */
    padding: 0 1rem;
    /* Yatayda biraz boşluk */
    opacity: 0.7;
    /* Daha şeffaf yap */
    transition: opacity 0.3s ease;
}

#main-slider .carousel-control-prev:hover,
#main-slider .carousel-control-next:hover {
    opacity: 1;
    /* Hoverda daha belirgin yap */
}

#main-slider .carousel-control-prev-icon,
#main-slider .carousel-control-next-icon {
    background-image: none;
    /* Arkaplan resmini kaldır */
    color: white;
    /* İkon rengi beyaz */
    font-size: 2.5rem;
    /* İkon boyutunu büyüt */
    opacity: 0.5;
}

#main-slider .carousel-control-prev-icon:hover,
#main-slider .carousel-control-next-icon:hover {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    /* Gölge ekle */
    opacity: 1;
}

/* --- Özel Carousel Indicator Stilleri --- */
.carousel-custom-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.carousel-custom-indicators .list-inline {
    margin: 0;
    padding: 0;
}

.carousel-custom-indicators .list-inline-item {
    margin: 0 5px;
}

.carousel-custom-indicators .list-inline-item a {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.carousel-custom-indicators .list-inline-item.active a {
    opacity: 1;
    width: 35px;
    border-radius: 6px;
}

/* --- Hızlı Erişim Bölümü --- */
.quick-access-section {
    background-color: #001f42;
    /* Koyu Lacivert */
}

.likon a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    text-align: center;
    font-size: 0.7rem;
}

.likon a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.likon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    /* Beyaz */
}

/* --- Duyurular Bölümü --- */
.announcements-section {
    background-color: #002855;
    /* Kurumsal Koyu Mavi */
    border-top: none;
}

.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-weight: 600;
    color: #ffffff;
    /* Beyaz */
    margin-bottom: 0;
    text-align: left;
    font-size: 2.2rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
}

.all-announcements-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.announcement-card {
    background-color: rgba(255, 255, 255, 0.1);
    /* Yarı şeffaf beyaz */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 4px;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.announcement-card .category {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    /* Neredeyse opak beyaz */
    color: #002855;
    /* Kurumsal Koyu Mavi */
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.announcement-card .title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Başlığın alanı doldurmasını sağlar */
}

.announcement-card .title a {
    text-decoration: none;
    color: #ffffff;
    /* Beyaz */
    transition: color 0.3s ease;
}

.announcement-card .title a:hover {
    color: #e0e0e0;
    /* Soluk beyaz */
}

.announcement-card .date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    /* Yarı şeffaf beyaz */
    margin-top: auto;
    /* Tarihi en alta iter */
}

/* --- Haberler Bölümü --- */
.news-section {
    background-color: #f8f9fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

    /* Koyu bölümlerdeki section-header için stil */
    .announcements-section .section-header {
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }

    .announcements-section .all-items-link {
        color: #fff;
    }

    .announcements-section .all-items-link:hover {
        color: #88c149;
    }

.section-title-light {
    font-weight: 600;
    color: #002855;
    /* Kurumsal Koyu Mavi */
    margin-bottom: 0;
    font-size: 2.2rem;
}

.all-items-link {
    color: #0055a4;
    /* Kurumsal Açık Mavi */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.all-items-link:hover {
    color: #002855;
}

.all-items-link i {
    margin-left: 0.5rem;
}

/* Sol Taraf: Haber Slider Kartı */
.news-slider-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    height: 100%;
}

.news-slider-card img {
    width: 100%;
    height: 430px;
    /* Grid ile aynı yükseklikte olması için */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-slider-card:hover img {
    transform: scale(1.05);
}

.news-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 40, 85, 0.9), transparent);
    color: #fff;
}

.news-slider-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Sağ Taraf: Haber Grid Kartları */
.news-grid-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    height: 200px;
    /* Yükseklik ayarı */
}

.news-grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-grid-card:hover img {
    transform: scale(1.05);
}

.news-grid-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 40, 85, 0.85), transparent);
    color: #fff;
}

.news-grid-caption h5 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* =================================
   Sayılarla ADÜ Bölümü (Açık Mavi Tema)
==================================== */
#sayilar {
    background-color: #e7f1fa;
    /* Siteye uygun açık mavi tonu */
    color: #343a40;
    /* Varsayılan metin rengini koyu yap */
}

#sayilar .section-title-light {
    color: #002855;
    /* Kurumsal Koyu Mavi */
    font-weight: 600;
}

.counter-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    /* Kartlar beyaz olsun */
    border: 1px solid #dee2e6;
    /* İnce, açık gri bir çerçeve */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Hafif bir gölge */
    padding: 20px 15px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: #343a40;
    /* Kart içindeki metin rengi */
    height: 100%;
}

.counter-card:hover {
    background-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 40, 85, 0.1);
    /* Hover'da gölgeyi belirginleştir */
    border-color: #88c149;
    /* Hover'da çerçeve rengini ADÜ yeşili yap */
}

.counter-number {
    font-size: 2.5rem;
    /* 40px */
    font-weight: 700;
    color: #88c149;
    /* ADÜ kurumsal kimliğindeki yeşil tonu - bu renk kalabilir */
    line-height: 1.2;
}

.counter-label {
    font-size: 0.9rem;
    /* 14.4px */
    font-weight: 500;
    margin-top: 5px;
    color: #6c757d;
    /* Etiketler için daha soluk bir renk */
}

/* Mobil cihazlar için font boyutunu biraz küçültelim */
@media (max-width: 767px) {
    .counter-number {
        font-size: 2rem;
        /* 32px */
    }

    .counter-label {
        font-size: 0.8rem;
        /* 12.8px */
    }
}

/* --- Etkinlikler Bölümü (Resimli) --- */
#etkinlikler {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
}

.event-card {
    display: block !important;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 40, 85, 0.1);
    border-color: #88c149;
}

.event-image-container {
    position: relative;
    /* Sabit yükseklik yerine A4 kağıt oranını (210mm / 297mm) kullanıyoruz. */
    /* Bu, genişliğe göre yüksekliği otomatik olarak ayarlar. */
    aspect-ratio: 210 / 297;
    background-color: #f8f9fa;
    /* Resmin etrafındaki boşluk için arka plan rengi */
}

.event-image-container img {
    width: 100%;
    height: 100%;
    /* 'contain' kullanarak resmin tamamının görünmesini sağlıyoruz, A4 gibi dikey afişler için ideal */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image-container img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: #002855;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.event-card:hover .event-date {
    background-color: #88c149;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-details {
    padding: 1rem;
}

.event-category {
    display: inline-block;
    align-self: flex-start;
    background-color: #e7f1fa;
    color: #0055a4;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.event-title {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-location {
    font-size: 0.85rem;
    color: #6c757d;
}

.event-location i {
    margin-right: 0.3rem;
    color: #88c149;
}

/* Etkinlikler Carousel Navigasyon Stilleri */
.events-custom-nav .owl-prev,
.events-custom-nav .owl-next {
    /* Arka planı ve çerçeveyi kaldırarak daha temiz bir görünüm elde ediyoruz */
    background: none !important;
    border: none !important;

    color: rgba(0, 40, 85, 0.5) !important;
    font-size: 2.2rem !important;

    /* Boşluk ve geçiş efekti */
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.events-custom-nav .owl-prev:hover,
.events-custom-nav .owl-next:hover {
    color: #002855 !important;
    transform: scale(1.1);
}

#etkinlikler .carousel-controls {
    display: flex;
    align-items: center;
}

#etkinlikler .all-items-link {
    margin-left: 1.5rem;
    white-space: nowrap;
}

/* --- Promosyon Slider (slide2) --- */
#slide2 {
    border-radius: 8px;
    overflow: hidden;
    /* Ensures the border-radius is applied to the inner content */
    aspect-ratio: 3 / 1;
    /* Sets the 3:1 aspect ratio for the entire carousel */
    box-shadow: 0 4px 15px rgba(0, 40, 85, 0.1);
}

#slide2 .carousel-inner,
#slide2 .carousel-item {
    height: 100%;
    /* Make sure the items fill the container's height */
}

.promo-background {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* --- Footer Bölümü --- */
.site-footer {
    background-color: #002855;
    /* Kurumsal Koyu Mavi */
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-logo {
    max-height: 55px;
    filter: brightness(0) invert(1);
    /* Logoyu beyaz yapar */
}

.site-footer .contact-info {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.site-footer .contact-info i {
    color: #88c149;
    /* ADÜ Yeşili */
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.site-footer .contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .contact-info a:hover {
    color: #ffffff;
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #88c149;
    /* ADÜ Yeşili */
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    margin-right: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #88c149;
    /* ADÜ Yeşili */
    transform: translateY(-3px);
}

.sub-footer {
    background-color: #001f42;
    /* Daha koyu bir mavi tonu */
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
}

.sub-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .sub-footer .text-md-end {
        margin-top: 0.5rem;
    }
}

/* Mobil Cihazlar için Navbar Logo Ayarı */
@media (max-width: 991.98px) {
    .navbar-brand img {
        /* Mobil cihazlarda başlangıçtaki logo yüksekliğini küçültüyoruz */
        height: 70px;
    }

    /* Mobil'de logonun dikeyde taşmasını sıfırlayarak hizalamayı düzeltiyoruz */
    .navbar-brand {
        transform: translateY(0);
    }
}

/* --- Erişilebilirlik İyileştirmeleri --- */

/* "Ana İçeriğe Atla" Linki Stilleri */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #002855;
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Odaklanmış elemanlar için belirgin stil */
:is(a, button, [role="button"], input, select, textarea):focus-visible {
    outline: 3px solid #88c149;
    /* ADÜ Yeşili */
    outline-offset: 2px;
}


#main-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.slider-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* --- Google Özel Arama Motoru Stil Düzenlemeleri --- */
/* Bu kurallar, Google'ın kendi stillerini geçersiz kılmak için !important kullanır. */

/* Genel Kapsayıcı */
.gsc-control-cse {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Arama Formu */
form.gsc-search-box {
    margin-bottom: 0 !important;
}

/* Google'ın oluşturduğu tablo yapısını sıfırlama */
.gsc-search-box td {
    vertical-align: middle !important;
    padding: 0 !important;
}

/* Arama Kutusu ve Butonunu içeren bölüm */
.gsc-input-box {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    /* Navbar'a uygun yarı saydam kenarlık */
    background-color: rgba(255, 255, 255, 0.1) !important;
    /* Hafif yarı saydam arka plan */
    border-radius: 20px !important;
    /* Yuvarlak kenarlar */
    height: auto !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Arama Input Alanı */
input.gsc-input {
    background-color: transparent !important;
    color: #fff !important;
    /* Beyaz yazı rengi */
    font-size: 13px !important;
    /* Boyut küçültüldü */
    padding: 0 12px !important;
    /* İç boşluk ayarlandı */
    height: 36px !important;
    /* Yükseklik azaltıldı */
    text-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Arama Input Alanı için Placeholder (ipucu metni) Rengi */
input.gsc-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Arama Butonu */
button.gsc-search-button-v2,
button.gsc-search-button-v2:hover,
button.gsc-search-button-v2:focus {
    background-color: transparent !important;
    border: none !important;
    padding: 0 10px 0 5px !important;
    /* Boşluk ayarlandı */
    margin: 0 !important;
    cursor: pointer !important;
    width: auto !important;
    height: 36px !important;
    /* Yükseklik azaltıldı */
    box-shadow: none !important;
}

/* Arama Butonu İkonu (SVG) */
button.gsc-search-button-v2 svg {
    fill: #fff !important;
    /* İkon rengini beyaz yap */
}

/* Google'ın eklediği "watermark"ı gizle */
.gsc-branding {
    display: none !important;
}


.promo-video-section .promo-video-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.promo-video-thumbnail {
    /* Video ve overlay'i içeren yeni kapsayıcı */
    position: relative;
    width: 100%;
    padding-bottom: 177.77%;
    /* 9:16 dikey video oranı (16 / 9 * 100%) */
    overflow: hidden;
    background-color: #00264d;
    /* Video yüklenemezse gösterilecek arka plan rengi */
}

.promo-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    transition: transform 0.4s ease-in-out;
    /* Video zoom efekti */
}

.promo-video-link:hover .promo-video-bg,
.promo-video-link:focus .promo-video-bg {
    transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.promo-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 38, 77, 0.7), rgba(0, 38, 77, 0.2));
    background: linear-gradient(to top, rgba(0, 38, 77, 0.4), rgba(0, 38, 77, 0.1));
    /* Daha hafif overlay */
    z-index: 2;
    transition: background 0.4s ease;
}

.promo-video-link:hover .promo-video-overlay {
    background: linear-gradient(to top, rgba(0, 38, 77, 0.6), rgba(0, 38, 77, 0.2));
    /* Hover'da daha koyu */
}

/* Ritim Carousel Navigasyon Stilleri */
.ritim-carousel .owl-nav {
    position: absolute;
    top: -75px;
    right: 0;
}

.ritim-carousel .owl-prev,
.ritim-carousel .owl-next {
    background: #e9ecef !important;
    border: none !important;
    color: #002855 !important;
    font-size: 1rem !important;
    margin: 0 4px !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ritim-carousel .owl-prev:hover,
.ritim-carousel .owl-next:hover {
    background: #88c149 !important;
    color: #fff !important;
}

/* Duyurular ve Akademik Bölümü Carousel Navigasyon Stilleri */
.announcements-custom-nav,
.academy-custom-nav {
    display: flex;
    gap: 5px;
}

.announcements-custom-nav .owl-prev,
.announcements-custom-nav .owl-next,
.academy-custom-nav .owl-prev,
.academy-custom-nav .owl-next {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border: none !important;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.announcements-custom-nav .owl-prev:hover,
.announcements-custom-nav .owl-next:hover,
.academy-custom-nav .owl-prev:hover,
.academy-custom-nav .owl-next:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}


/* Geçmişten Geleceğe (YouTube) Kartı için özel stiller */
.youtube-thumbnail {
    flex-grow: 1;
    /* Kartın kalan dikey boşluğunu doldurur */
    padding-bottom: 0 !important;
    /* Aspect ratio padding'ini kaldır */
}

.play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    /* Resim ve overlay'in üzerinde */
    opacity: 0.85;
    transition: all 0.3s ease;
}

.play-icon-overlay i {
    font-size: 5rem;
    /* YouTube ikonu için boyut */
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.promo-video-link:hover .play-icon-overlay {
    opacity: 1;
    transform: scale(1.1);
}

/* Akademi Bölümü Carousel Stilleri */
.academy-carousel .item {
    /* Owl Carousel'in stage-padding'i ile oluşabilecek gölge kesilmelerini önler */
    padding: 0.5rem;
}

.academy-carousel .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.academy-carousel .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 40, 85, 0.15) !important;
}

.academy-carousel .card-img-top {
    height: 200px;
    object-fit: cover;
}

.academy-carousel .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.academy-carousel .card-title {
    flex-grow: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: #343a40;
    transition: color 0.3s ease;
}

.academy-carousel .item a:hover .card-title {
    color: #0055a4; /* Kurumsal Açık Mavi */
}

.academy-carousel .card-body .small {
    color: #6c757d; /* Kategori metni için soluk renk */
}

    /* Akademi Bölümü Carousel Stilleri (Koyu Tema) */
    .announcements-section .academy-carousel .card {
        background-color: #003366; /* Ana arka plandan biraz daha açık bir mavi */
        border-color: #004080;
    }

    .announcements-section .academy-carousel .card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    }

    .announcements-section .academy-carousel .card-title {
        color: #ffffff;
    }

    .announcements-section .academy-carousel .item a:hover .card-title {
        color: #88c149; /* ADÜ Yeşili */
    }

    .announcements-section .academy-carousel .card-body .small {
        color: rgba(255, 255, 255, 0.7);
    }
