/* =============================================
   ThecnoHosting - Özel CSS
   ============================================= */

/* Logo */
.logo-text {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
}
.logo-text-footer {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    display: inline-block;
}
.logo-text-footer span {
    color: #f5a623;
}

/* Preloder gizle */
#preloder { display: none !important; }

/* =============================================
   ANA SAYFA - Hero üzerinde beyaz menü
   ============================================= */
.header-section:not(.header-normal) .logo-text { color: #ffffff; }
.header-section:not(.header-normal) .logo-text span { color: #f5a623; }
.header-section:not(.header-normal) .header__menu ul li a { color: #ffffff; }
.header-section:not(.header-normal) .header__menu ul li a:hover { color: #f5a623; }
.header-section:not(.header-normal) .header__menu ul li.active a { color: #f5a623; }

/* =============================================
   DİĞER SAYFALAR - header-normal - koyu menü
   ============================================= */
.header-normal .logo-text { color: #ffffff; }
.header-normal .logo-text span { color: #f5a623; }
.header-normal .header__menu ul li a { color: #ffffff !important; }
.header-normal .header__menu ul li a:hover { color: #f5a623 !important; }
.header-normal .header__menu ul li.active a { color: #f5a623 !important; }

/* =============================================
   GİRİŞ / KAYIT SAYFASI - auth-page
   ============================================= */
.auth-page .logo-text { color: #2c3e50 !important; }
.auth-page .logo-text span { color: #f5a623 !important; }
.auth-page .header__menu ul li a { color: #2c3e50 !important; }
.auth-page .header__menu ul li a:hover { color: #f5a623 !important; }
.auth-page .header__menu ul li.active a { color: #f5a623 !important; }

/* =============================================
   HEADER BİLGİ ÇUBUĞU
   ============================================= */
.header__info { background: #1a1a2e; }

.header__info-left ul,
.header__info-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__info-left ul li,
.header__info-right ul li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #ffffff;
}
.header__info-left ul li span,
.header__info-right ul li span { color: #ffffff; font-size: 13px; }
.header__info-right ul { justify-content: flex-end; }
.header__info-right ul li a { color: #ffffff; text-decoration: none; }
.header__info-right ul li a:hover { color: #f5a623; }

/* =============================================
   HERO YAZILARI
   ============================================= */
.hero__text { display: block !important; visibility: visible !important; padding-top: 50px; }
.hero__text h5 { color: #f5a623 !important; font-size: 16px !important; font-weight: 600 !important; margin-bottom: 15px !important; display: block !important; }
.hero__text h2 { color: #ffffff !important; font-size: 42px !important; font-weight: 800 !important; line-height: 1.3 !important; margin-bottom: 25px !important; display: block !important; }
.hero__text .primary-btn { display: inline-block !important; }

/* =============================================
   İSTATİSTİK BÖLÜMÜ
   ============================================= */
.achievement-section { background: #f8f9fa !important; background-image: none !important; }
.achievement__item span,
.achievement__item h2,
.achievement__item p { color: #1a1a1a !important; }
.achieve-counter { color: #1a1a1a !important; }

/* =============================================
   ALERT MESAJLARI
   ============================================= */
.alert-thecno { padding: 15px 20px; border-radius: 5px; margin-bottom: 20px; font-size: 14px; }
.alert-basari { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-hata { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-bilgi { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* =============================================
   PANEL GENEL
   ============================================= */
.panel-wrapper { min-height: 100vh; background: #f4f6f9; }
.panel-sidebar { background: #2c3e50; min-height: 100vh; padding: 0; width: 250px; position: fixed; left: 0; top: 0; z-index: 100; }
.panel-sidebar .logo { padding: 20px; background: #1a252f; text-align: center; }
.panel-sidebar .logo a { font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; }
.panel-sidebar .logo a span { color: #f5a623; }
.panel-sidebar nav ul { list-style: none; padding: 0; margin: 20px 0; }
.panel-sidebar nav ul li a { display: block; padding: 14px 25px; color: #bdc3c7; text-decoration: none; font-size: 14px; transition: all 0.3s; border-left: 3px solid transparent; }
.panel-sidebar nav ul li a:hover,
.panel-sidebar nav ul li a.aktif { background: #34495e; color: #fff; border-left-color: #f5a623; }
.panel-sidebar nav ul li a i { margin-right: 10px; width: 20px; }
.panel-content { margin-left: 250px; padding: 30px; }
.panel-header { background: #fff; padding: 15px 30px; margin-left: 250px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; }
.panel-header .kullanici-bilgi { font-size: 14px; color: #555; }
.panel-header .kullanici-bilgi strong { color: #2c3e50; }

/* İstatistik kartları */
.stat-kart { background: #fff; border-radius: 8px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); margin-bottom: 25px; border-left: 4px solid #f5a623; transition: transform 0.3s; }
.stat-kart:hover { transform: translateY(-3px); }
.stat-kart .sayi { font-size: 36px; font-weight: 700; color: #2c3e50; }
.stat-kart .etiket { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.stat-kart .ikon { font-size: 40px; color: #f5a623; opacity: 0.3; float: right; margin-top: -10px; }
.stat-kart.mavi { border-left-color: #3498db; }
.stat-kart.mavi .ikon { color: #3498db; }
.stat-kart.yesil { border-left-color: #2ecc71; }
.stat-kart.yesil .ikon { color: #2ecc71; }
.stat-kart.kirmizi { border-left-color: #e74c3c; }
.stat-kart.kirmizi .ikon { color: #e74c3c; }

/* Tablo */
.thecno-tablo { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); overflow: hidden; margin-bottom: 25px; }
.thecno-tablo .tablo-baslik { padding: 20px 25px; border-bottom: 1px solid #eee; font-size: 16px; font-weight: 600; color: #2c3e50; }
.thecno-tablo table { width: 100%; border-collapse: collapse; }
.thecno-tablo table th { background: #f8f9fa; padding: 12px 15px; font-size: 13px; font-weight: 600; color: #555; text-align: left; border-bottom: 1px solid #eee; }
.thecno-tablo table td { padding: 12px 15px; font-size: 14px; color: #444; border-bottom: 1px solid #f5f5f5; }
.thecno-tablo table tr:hover td { background: #fafafa; }

/* Durum etiketleri */
.durum { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.durum-aktif { background: #d4edda; color: #155724; }
.durum-beklemede { background: #fff3cd; color: #856404; }
.durum-iptal { background: #f8d7da; color: #721c24; }
.durum-acik { background: #d1ecf1; color: #0c5460; }
.durum-cevaplandi { background: #d4edda; color: #155724; }
.durum-kapali { background: #e2e3e5; color: #383d41; }
.durum-odenmedi { background: #fff3cd; color: #856404; }
.durum-odendi { background: #d4edda; color: #155724; }
.durum-musteri_cevapladi { background: #fff3cd; color: #856404; border: 1px solid #ffc107; font-weight: 700; }

/* Form */
.thecno-form { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); margin-bottom: 25px; }
.thecno-form .form-group label { font-weight: 600; font-size: 14px; color: #444; margin-bottom: 8px; }
.thecno-form .form-control { border: 1px solid #ddd; border-radius: 5px; padding: 10px 15px; font-size: 14px; }
.thecno-form .form-control:focus { border-color: #f5a623; box-shadow: 0 0 0 3px rgba(245,166,35,0.1); }

/* Butonlar */
.btn-thecno { background: #f5a623; color: #fff; border: none; padding: 10px 25px; border-radius: 5px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s; display: inline-block; text-decoration: none; }
.btn-thecno:hover { background: #e09415; color: #fff; transform: translateY(-2px); }
.btn-thecno-mavi { background: #3498db; }
.btn-thecno-mavi:hover { background: #2980b9; }
.btn-thecno-yesil { background: #2ecc71; }
.btn-thecno-yesil:hover { background: #27ae60; }
.btn-thecno-kirmizi { background: #e74c3c; }
.btn-thecno-kirmizi:hover { background: #c0392b; }

/* Mesaj kutuları (destek) */
.mesaj-kutu { background: #f8f9fa; border-radius: 8px; padding: 20px; margin-bottom: 15px; }
.mesaj-kutu.admin { background: #e8f4fd; border-left: 4px solid #3498db; }
.mesaj-kutu .meta { font-size: 12px; color: #888; margin-bottom: 10px; }
.mesaj-kutu .meta strong { color: #2c3e50; }

/* Responsive */
@media (max-width: 768px) {
    .panel-sidebar { width: 100%; position: relative; min-height: auto; }
    .panel-content, .panel-header { margin-left: 0; }
}

/* Footer yazı renkleri */
.footer__text-widget h5 {
    color: #ffffff !important;
}
.footer__text-widget ul li a {
    color: #aaaaaa !important;
}
.footer__text-widget ul li a:hover {
    color: #f5a623 !important;
}
.footer__widget-info li {
    color: #aaaaaa !important;
}
.footer__text-about p {
    color: #aaaaaa !important;
}
.footer__text-copyright p {
    color: #aaaaaa !important;
}
.footer__text-copyright a {
    color: #f5a623 !important;
}

/* Footer alt kısım arka plan */
.footer__text {
    background: #1a1a2e !important;
    background-image: none !important;
}

/* Header dropdown menü */
.header__info-right .dropdown-menu {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    margin-top: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.header__info-right .dropdown-menu li a {
    color: #ffffff !important;
    padding: 10px 18px;
    font-size: 13px;
    display: block;
    transition: all 0.2s;
}
.header__info-right .dropdown-menu li a:hover {
    background: rgba(245,166,35,0.15);
    color: #f5a623 !important;
}
.header__info-right .dropdown-menu li a .fa {
    margin-right: 8px;
    width: 16px;
}
.header__info-right .dropdown-menu .divider {
    border-top: 1px solid #333;
    margin: 5px 0;
}
.header__info-right .dropdown-toggle {
    cursor: pointer;
}

/* Dropdown sadece tıkla açılsın, hover ile açılmasın */
.header__info-right .dropdown:hover .dropdown-menu {
    display: none;
}
.header__info-right .dropdown.open .dropdown-menu {
    display: block;
}

/* Dropdown hover tamamen kapat */
.header__info-right .dropdown:hover > .dropdown-menu,
.header__info-right .dropdown:focus > .dropdown-menu,
.header__info-right li.dropdown:hover > .dropdown-menu {
    display: none !important;
}
.header__info-right .dropdown.open > .dropdown-menu {
    display: block !important;
}

/* Dropdown link animasyonları */
.user-drop-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.user-drop-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #f5a623;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.user-drop-link:hover {
    background: rgba(245,166,35,0.1);
    color: #f5a623 !important;
    padding-left: 24px;
    text-decoration: none;
}

.user-drop-link:hover::before {
    transform: scaleY(1);
}

.user-drop-link .fa {
    width: 16px;
    text-align: center;
    transition: transform 0.25s ease;
}

.user-drop-link:hover .fa {
    transform: scale(1.2);
}

.user-drop-logout {
    border-bottom: none !important;
}

.user-drop-logout:hover {
    background: rgba(231,76,60,0.1) !important;
    color: #e74c3c !important;
}

.user-drop-logout:hover::before {
    background: #e74c3c;
}

/* Dropdown açılma animasyonu */
#userDropMenu {
    animation: dropFadeIn 0.2s ease-out;
    transform-origin: top right;
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
