/**
 * Logo Stilleri - Neizlesem Theme
 * Header ve Footer logo boyutlarını kontrol eder
 */

/* ===================================
   FOOTER LOGO STILLERİ - EN GÜÇLÜ KURALLAR
   =================================== */

/* Footer logo için çok spesifik ve güçlü kurallar */
.footer-logo img,
.footer-logo .custom-footer-logo,
.footer-logo img[class*="footer-logo"],
.footer-logo a img,
.footer-logo .footer-brand-link img,
.footer-logo .footer-brand img,
.footer-logo img[src*="footer"],
.footer-logo img[alt*="logo"],
.footer-logo img[alt*="Neizlesem"] {
    max-height: 40px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* Footer logo container */
.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo .footer-brand-link {
    display: inline-block;
    text-decoration: none;
}

.footer-logo .footer-brand-link:hover {
    text-decoration: none;
}

/* ===================================
   HEADER LOGO STILLERİ - EN GÜÇLÜ KURALLAR
   =================================== */

/* Header logo için çok spesifik ve güçlü kurallar */
.custom-header-logo,
.header-logo img,
.navbar-brand img,
.navbar-brand .custom-logo-container img,
.navbar-brand a img,
.navbar-brand img[class*="logo"],
.navbar-brand img[alt*="logo"],
.navbar-brand img[alt*="Neizlesem"] {
    max-height: 50px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* ===================================
   RESPONSIVE LOGO STILLERİ
   =================================== */

/* Tablet (768px altında) */
@media (max-width: 768px) {
    /* Footer logo */
    .footer-logo img,
    .footer-logo .custom-footer-logo,
    .footer-logo img[class*="footer-logo"],
    .footer-logo a img,
    .footer-logo .footer-brand-link img,
    .footer-logo .footer-brand img,
    .footer-logo img[src*="footer"],
    .footer-logo img[alt*="logo"],
    .footer-logo img[alt*="Neizlesem"] {
        max-height: 35px !important;
        max-width: 150px !important;
    }
    
    /* Header logo */
    .custom-header-logo,
    .header-logo img,
    .navbar-brand img,
    .navbar-brand .custom-logo-container img,
    .navbar-brand a img,
    .navbar-brand img[class*="logo"],
    .navbar-brand img[alt*="logo"],
    .navbar-brand img[alt*="Neizlesem"] {
        max-height: 40px !important;
        max-width: 150px !important;
    }
}

/* Mobile (480px altında) */
@media (max-width: 480px) {
    /* Footer logo */
    .footer-logo img,
    .footer-logo .custom-footer-logo,
    .footer-logo img[class*="footer-logo"],
    .footer-logo a img,
    .footer-logo .footer-brand-link img,
    .footer-logo .footer-brand img,
    .footer-logo img[src*="footer"],
    .footer-logo img[alt*="logo"],
    .footer-logo img[alt*="Neizlesem"] {
        max-height: 30px !important;
        max-width: 120px !important;
    }
    
    /* Header logo */
    .custom-header-logo,
    .header-logo img,
    .navbar-brand img,
    .navbar-brand .custom-logo-container img,
    .navbar-brand a img,
    .navbar-brand img[class*="logo"],
    .navbar-brand img[alt*="logo"],
    .navbar-brand img[alt*="Neizlesem"] {
        max-height: 35px !important;
        max-width: 120px !important;
    }
}

/* ===================================
   GENEL LOGO KURALLARI
   =================================== */

/* Tüm logolar için genel kurallar */
img[class*="logo"],
img[alt*="logo"],
img[alt*="Neizlesem"] {
    object-fit: contain !important;
    max-width: 100% !important;
    height: auto !important;
}
