/* ========================================
   LOGO STYLES - Fixed "eozkan" Text Logo
   Tema değişimine göre dinamik görünüm
======================================== */

/* ========== NAVBAR LOGO ========== */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* ========== STATIC TEXT LOGO "eozkan" ========== */
.logo-text-element {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -1px;
    line-height: 1;
    display: block;
    text-transform: lowercase;
    position: relative;
    transition: all 0.3s ease;
}

/* Koyu tema: kırmızı gradient */
.logo-text-element,
[data-theme="dark"] .logo-text-element {
    background: linear-gradient(135deg, #E31B23 0%, #ff6b6b 50%, #E31B23 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-shimmer 4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(227, 27, 35, 0.4));
}

/* Açık tema: koyu kırmızı + siyah gradient */
[data-theme="light"] .logo-text-element {
    background: linear-gradient(135deg, #B31419 0%, #E31B23 50%, #8B1117 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-shimmer 4s linear infinite;
    filter: drop-shadow(0 0 4px rgba(179, 20, 25, 0.2));
}

@keyframes logo-shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.logo-text-element:hover {
    filter: drop-shadow(0 0 12px rgba(227, 27, 35, 0.7));
    transform: scale(1.03);
}

/* ========== IMAGE LOGO ========== */
.logo-image-element {
    height: 55px !important;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-image-element:hover {
    transform: scale(1.05);
}

/* ========== THEME-BASED IMAGE LOGO VISIBILITY ========== */
.site-logo-light,
.site-logo-dark {
    display: none !important;
}

/* Açık tema */
[data-theme="light"] .site-logo-light {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

[data-theme="light"] .site-logo-dark {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Koyu tema */
[data-theme="dark"] .site-logo-dark,
html:not([data-theme]) .site-logo-dark {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

[data-theme="dark"] .site-logo-light,
html:not([data-theme]) .site-logo-light {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ========== ADMIN LOGO ========== */
[data-theme="light"] .admin-logo-light {
    display: inline-block !important;
}

[data-theme="light"] .admin-logo-dark {
    display: none !important;
}

[data-theme="dark"] .admin-logo-light {
    display: none !important;
}

[data-theme="dark"] .admin-logo-dark {
    display: inline-block !important;
}

/* ========== MOBILE ADJUSTMENTS ========== */
@media (max-width: 900px) {
    .logo-text-element {
        font-size: 24px !important;
    }

    .logo-image-element,
    .site-logo-light,
    .site-logo-dark {
        height: 45px !important;
    }
}

@media (max-width: 480px) {
    .logo-text-element {
        font-size: 22px !important;
    }
}