/* 
 * Responsive Logo Styles
 * Diese Datei definiert die Styles für ein responsives Logo
 */

/* Basis-Stil für den Logo-Container */
a.logo {
    display: inline-block;
    padding: 0;
    margin: 10px 0;
    max-width: 250px;
    transition: all 0.3s ease;
}

/* Logo-Bild selbst - macht es fluid und beschränkt die Höhe */
a.logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

/* Spezielle SVG-Optimierung für skalierbare Vektorgrafiken */
a.logo img[src$=".svg"] {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* SVG Logo Farbsteuerung für verschiedene Bereiche */
/* Standard Header Logo - Primary Farbe */
#header a.logo {
    --eb-logo-main-color: var(--bs-primary, #007bff);
    --eb-logo-sub-color: var(--bs-primary, #007bff);
}

/* Footer Logo - Footer Text Farbe und vergrößerte Darstellung */
#footer a.logo,
#footer .footer-logo {
    --eb-logo-main-color: rgba(255,255,255,0.6);
    --eb-logo-sub-color: rgba(255,255,255,0.4);
    max-width: 300px !important;  /* Vergrößert von standard 200px */
    max-height: 120px !important; /* Vergrößert für bessere Sichtbarkeit */
    width: auto !important;
    height: auto !important;
    margin-bottom: 25px !important;
}

/* BVB Theme - Gelbes Logo im Header */
[data-theme="bvb-dortmund"] #header a.logo {
    --eb-logo-main-color: #FDE100 !important;
    --eb-logo-sub-color: #FDE100 !important;
}

[data-theme="bvb-dortmund"] #footer a.logo,
[data-theme="bvb-dortmund"] #footer .footer-logo {
    --eb-logo-main-color: rgba(255,255,255,0.8);
    --eb-logo-sub-color: rgba(255,255,255,0.6);
}

/* Midnight Dark Theme */
[data-theme="midnight-dark"] #header a.logo {
    --eb-logo-main-color: #E67E22 !important;
    --eb-logo-sub-color: #E67E22 !important;
}

[data-theme="midnight-dark"] #footer a.logo,
[data-theme="midnight-dark"] #footer .footer-logo {
    --eb-logo-main-color: rgba(255,255,255,0.8);
    --eb-logo-sub-color: rgba(255,255,255,0.6);
}

/* Medium Screens */
@media (max-width: 992px) {
    a.logo {
        max-width: 200px;
        margin: 8px 0;
    }
    
    a.logo img {
        max-height: 50px;
    }
    
    a.logo img[src$=".svg"] {
        max-height: 50px;
    }
}

/* Kleine Screens */
@media (max-width: 768px) {
    a.logo {
        max-width: 180px;
        margin: 6px 0;
    }
    
    a.logo img {
        max-height: 45px;
    }
    
    a.logo img[src$=".svg"] {
        max-height: 45px;
    }
}

/* Sehr kleine Screens */
@media (max-width: 576px) {
    a.logo {
        max-width: 150px;
        margin: 5px 0;
    }
    
    a.logo img {
        max-height: 40px;
    }
    
    a.logo img[src$=".svg"] {
        max-height: 40px;
    }
    
    /* Footer Logo auf sehr kleinen Bildschirmen */
    #footer .footer-logo {
        max-width: 250px !important;
        max-height: 100px !important;
    }
}

/* Mobile Anpassungen für Footer Logo */
@media (max-width: 768px) {
    #footer .footer-logo {
        max-width: 280px !important;
        max-height: 110px !important;
    }
}

@media (max-width: 992px) {
    #footer .footer-logo {
        max-width: 290px !important;
        max-height: 115px !important;
    }
} 