﻿@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --s4s-ocean-gradient: linear-gradient(135deg, #0077be 0%, #00a8e8 100%);
    --s4s-card-bg: rgba(255, 255, 255, 0.95);
    --s4s-ocean-blue: #0077be;
    --s4s-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
--s4s-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --s4s-glow: 0 0 20px rgba(76, 0, 255, 0.2);
}

.s4s_footer_wrapper {
    background: var(--s4s-ocean-gradient);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 50px 0 40px 0;
    margin-top: 40px;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box;
    overflow: hidden !important; 
}

.s4s_footer_container {
    width: 100% !important;
    padding: 0 40px;
    box-sizing: border-box;
    margin: 0 auto;
}

.s4s_footer_grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    margin-bottom: 25px;
}

/* Kartlar ve Paneller İçin Ortak Yumuşatma */
.s4s_footer_card, 
.s4s_footer_action_panel, 
.s4s_footer_info_box,
.s4s_footer_btn,
.s4s_footer_nav a,
.s4s_footer_staff_item {
    transition: var(--s4s-transition);
}

.s4s_footer_card, .s4s_footer_action_panel, .s4s_footer_info_box {
    background: var(--s4s-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px; /* Daha modern, yuvarlak köşeler */
    box-shadow: var(--s4s-shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1e293b;
}

.s4s_footer_card {
    padding: 25px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* --- KART HOVER EFEKTİ --- */
.s4s_footer_card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(76, 0, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
}

.s4s_footer_card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--s4s-ocean-blue);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    text-align: center;
}

/* --- NAVİGASYON LİNKLERİ HOVER --- */
.s4s_footer_nav a {
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    text-decoration: none;
    color: #475569;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    white-space: nowrap;
}

.s4s_footer_nav a:hover {
    background: #ffffff;
    color: #4c00ff !important;
    padding-left: 22px; /* İçeriden itme efekti */
    border-left: 5px solid #4c00ff;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}

/* --- PERSONEL LİSTESİ HOVER --- */
.s4s_footer_staff_item {
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #475569;
}

.s4s_footer_staff_item:hover {
    background: #f5f3ff;
    border-color: #6366f1;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
}

.s4s_footer_action_panel {
    padding: 20px;
    margin-bottom: 25px;
    
}

.s4s_footer_btn_strip {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 15px;
}

/* --- ALT BUTONLAR HOVER --- */
.s4s_footer_btn {
    flex: 1;
    min-width: 0;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 14px 6px;
    border-radius: 8px;
    background: #ffffff;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.s4s_footer_btn:hover {
    transform: translateY(-5px);
    background: #4c00ff;
    color: #ffffff !important;
    border-color: #4c00ff;
    box-shadow: 0 10px 20px rgba(76, 0, 255, 0.3);
}

.s4s_footer_btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.s4s_footer_btn:hover span {
    transform: scale(1.25) rotate(-5deg);
}

.s4s_footer_bottom {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.s4s_footer_info_box {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    min-height: 70px;
}

.s4s_info_clock { flex: 0.6; font-weight: 800; font-size: 1.1rem; color: var(--s4s-ocean-blue); }
.s4s_info_copy  { flex: 2; flex-direction: column; gap: 4px; text-align: center; }
.s4s_info_design { flex: 0.6; font-weight: 800; white-space: nowrap; }

/* --- SEÇİCİ (SELECT) HOVER --- */
.s4s_modern_select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--s4s-transition);
}

.s4s_modern_select:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #00fff2;
    box-shadow: 0 0 15px rgba(0, 255, 242, 0.2);
}

/* Yasal Bilgi Butonu Özel */
.s4s_footer_legal_btn:hover {
    background: #4c00ff;
    color: #fff;
    box-shadow: var(--s4s-glow);
}

/* Mobil Uyumluluk Kodu Tamamen Kaldırılmıştır */




/* Header Alanı */
.custom-header-wrapper {
    /* Orijinal tablo genişliğini KORUYORUZ */
    max-width: $stylevar[outertablewidth]; 
    margin: 0 auto; 
}

/* Logo ve Reklam Alanı için Flexbox Konteyneri */
.header-top {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 0;
}

/* Logo ve Başlık Stilleri */
.header-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.header-logo img {
    border: 0;
    /* Gerekirse logo yüksekliğini ayarla */
}

/* YATAY NAVİGASYON BARI (TAM GENİŞLİK VE MODERN) */
.navigation-bar {
   background-image: linear-gradient(to right, #4c00ff, #00b0ff); /* Mor-Mavi gradient */
    
    margin-top: 15px; 

    overflow: hidden; 

    border-radius: 12px 12px 0 0; /* Daha yuvarlak köşeler */
    margin-bottom: 0;
  
    font-size: 1.6rem !important;
    height: auto;
}

/* Link Listesi */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
    /* justify-content: center; yerine, flex: 1; ile tam yayılımı sağlıyoruz */
}

/* HER BİR LİNK ÖĞESİNİN ALANI EŞİT KAPLAMASINI SAĞLAR */
.nav-links li {
    flex: 1; /* Mevcut alanı eşit olarak böler */
    text-align: center; /* Yazıyı ortalar */
}

/* Bağlantı Stilleri */
.nav-links li a {
    display: block;
    padding: 14px 10px; /* Yatay padding düşürüldü, çünkü flex: 1; genişliği ayarlayacak */
    text-decoration: none;
    color: var(--link-text-color);
    font-weight: bold;
    font-size: 1.05rem; 
    font-family: 'Segoe UI', Arial, sans-serif;
    transition: background-color 0.3s, transform 0.2s; 
    position: relative;
    overflow: hidden;
    white-space: nowrap; 
}

/* Fare Üzerine Gelme Efekti */
.nav-links li a:hover {
    background-color: var(--light-blue);
    color: #e0f2f7;
    transform: translateY(-1px); 
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap; 
    }
    /* Küçük ekranda eşit genişliği kaldırıp normal akışa geç */
    .nav-links li {
        flex: 0 0 50%; /* 2'şerli sıra */
        text-align: left;
    }
    .nav-links li a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}
/* Genel Düzen Ayarları (Eşit Yükseklik İçin) */
.row.s4s-row { /* SINIF GÜNCELLENDİ */
    align-items: stretch; 
}

/* Genel Kart Başlığı (Daha Şık Gradient) */
.s4s-header { /* SINIF GÜNCELLENDİ */
    background-image: linear-gradient(to right, #4c00ff, #00b0ff); /* Mor-Mavi gradient */
    color: #ffffff;
    font-weight: 800; /* Daha kalın font */
    padding: 18px 25px; /* Daha fazla padding */
    border-radius: 12px 12px 0 0; /* Daha yuvarlak köşeler */
    margin-bottom: 0;
    box-shadow: 0 6px 20px rgba(76, 0, 255, 0.3); /* Mor tonlu belirgin gölge */
    font-size: 1.6rem !important;
    height: auto;
}

/* Genel Kart İçeriği (Tam Kart Kapsayıcısı) */
.s4s-card-body { /* SINIF GÜNCELLENDİ */
    border: none;
    border-radius: 0 0 12px 12px;
    background-color: #ffffff; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Yumuşak ve belirgin gölge */
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
}

/* **************************************************** */
/* DUYURULAR LISTESI */
/* **************************************************** */
.s4s_duyuru { /* SINIF GÜNCELLENDİ */
     padding: 0 !important; 
     flex-grow: 1;
}

.s4s-duyuru-item { /* SINIF GÜNCELLENDİ */
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #eeeeee;
    text-decoration: none;
    color: #444444;
    transition: all 0.3s ease;
    position: relative;
}

.s4s-duyuru-item:hover {
    background-color: #f7faff;
    color: #4c00ff;
    border-left: 4px solid #4c00ff;
}

.s4s-duyuru-item:last-child {
    border-bottom: none;
}

.s4s-icon { /* Sınıf adı korundu */
    font-size: 1.5rem;
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.s4s-title { /* Sınıf adı korundu */
    font-weight: 600;
    flex-grow: 1;
}

.s4s-time { /* Sınıf adı korundu */
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ************************************** */
/* SPONSORLAR LISTESI */
/* ************************************** */
.s4s_sponsor { /* SINIF GÜNCELLENDİ */
    padding: 20px;
    flex-grow: 1;
}

.s4s-sponsor-item { /* SINIF GÜNCELLENDİ */
    display: flex;
    align-items: center;
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    border-left: 6px solid;
    text-decoration: none;
    color: #333333;
    background-color: #fcfcfc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
    transition: none; 
}

/* Renk Sınıfları */
.border-red { border-left-color: #dc3545 !important; }
.border-blue { border-left-color: #0d6efd !important; }
.border-green { border-left-color: #198754 !important; }
.border-orange { border-left-color: #fd7e14 !important; }
.border-purple { border-left-color: #6f42c1 !important; }
.border-pink { border-left-color: #d63384 !important; }
.border-cyan { border-left-color: #0dcaf0 !important; }

.text-purple { color: #6f42c1; }
.text-pink { color: #d63384; }





/* ------------------------------------------- */
/* KAYDIRMA ÇUBUĞU RENGİNİ OKYANUS MAVİSİ YAP (Tüm Tarayıcılar) */
/* ------------------------------------------- */

/* 1. WebKit Tabanlı Tarayıcılar (Chrome, Safari, Yeni Edge) */
/* ========================================================= */

/* Kaydırma çubuğunun genel görünümünü ayarlar */
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* Kaydırma çubuğu izinin (arka planının) rengi */
body::-webkit-scrollbar-track {
  background: #f1f1f1; /* Açık gri/beyaz bir arka plan rengi */
  border-radius: 10px;
}

/* Kaydırma çubuğu kolunun (ilerleme çubuğu) rengi - OKYANUS MAVİSİ */
body::-webkit-scrollbar-thumb {
  background-color: #0074D9;
  border-radius: 10px;
  border: 3px solid #f1f1f1; /* Kolun etrafındaki arka planla aynı renk olmalı */
}

/* Kaydırma çubuğu kolunun üzerine gelindiğinde rengi (Hover) */
body::-webkit-scrollbar-thumb:hover {
  background-color: #0056b3; /* Koyu bir mavi tonu */
}


/* 2. Firefox Tarayıcısı İçin */
/* ========================= */

/* Firefox, farklı bir özellik kullanır: scrollbar-color: [Kol Rengi] [İz Rengi] */
html {
  scrollbar-width: thin; /* 'auto' veya 'thin' */
  scrollbar-color: #0074D9 #f1f1f1; 
}



.vBulletin_editor {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px !important;
}


.controlbar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 8px !important;
    border-radius: 8px 8px 0 0 !important;
}


.imagebutton {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 4px !important;
    margin: 2px !important;
    transition: all 0.2s ease !important;
}

.imagebutton:hover {
    background: #edf2f7 !important;
    transform: translateY(-1px);
}


textarea[id$='_textarea'] {
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 15px !important;
    font-family: sans-serif !important;
    background-color: #ffffff !important;
}



[id*='smiliebox'], 
[id*='smiliebox'] table, 
[id*='smiliebox'] tbody, 
[id*='smiliebox'] tr {
    display: block !important;
    width: 100% !important;
    border-collapse: collapse !important;
}





[id*='smiliebox'] td img {
    display: inline-block !important;
    max-width: 30px !important;
    max-height: 30px !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    transition: transform 0.2s !important;
}

[id*='smiliebox'] td img:hover {
    transform: scale(1.3) !important;
}


[id*='smiliebox']::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}


.popup_feedback div { color: #4a5568 !important; }
.popup_pickbutton { filter: grayscale(1); opacity: 0.5; }

.ackapat-checkbox {
        display: none;
    }

    .ackapat-button {
        display: inline-block;
        padding: 8px 12px;
        background-color: #3E5C92; 
        color: white;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
        user-select: none;
        margin-bottom: 10px; 
        transition: background-color 0.3s;
    }

    .ackapat-button:hover {
        background-color: #3498DB;
    }

    .ackapat-content {
        /* max-height: 0; ile gizlenir ve overflow: hidden; ile taşma engellenir */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.6s ease-in-out, opacity 0.4s ease;
        padding: 0 10px; /* Kapalıyken padding 0 */
    }


    .ackapat-checkbox:checked ~ .ackapat-content {
        /* Yeterince büyük bir değer vererek içeriği açarız */
        max-height: 1000px; 
        opacity: 1;
        padding: 10px; /* Açıkken padding */
        border: 1px solid #ddd;
        border-top: none;
    }