/**
 * City Gallery - Footer Widget Styles
 */

/* Footer Widget Basis-Stile */
.city-gallery-footer {
    background-color: #264189; /* Standard Dunkelblau */
    color: #ffffff;
    padding: 60px 0 20px;
}

.city-gallery-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.city-gallery-footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.city-gallery-footer-column {
    min-width: 0;
}

/* Logo-Bereich */
.city-gallery-footer-logo {
    margin-bottom: 20px;
}

.city-gallery-footer-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* Überschriften */
.city-gallery-footer-heading {
    font-size: 20px;
    font-weight: 600;
    color: #F78C25; /* Orange */
    margin: 0 0 20px 0;
    position: relative;
}

.city-gallery-footer-heading:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #F78C25;
    margin-top: 10px;
}

/* Text-Stile */
.city-gallery-footer-text,
.city-gallery-footer .city-gallery-footer-text,
.elementor-widget-city_gallery_footer .city-gallery-footer-text {
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #ffffff !important; /* Ensure all footer text is white */
}

/* Kontakt-Bereich */
.city-gallery-footer-contact {
    margin-bottom: 20px;
}

.city-gallery-footer-contact p,
.city-gallery-footer .city-gallery-footer-contact p,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #ffffff !important; /* Ensure base text color is white */
}

.city-gallery-footer-contact p a,
.city-gallery-footer .city-gallery-footer-contact p a,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p a {
    color: #ffffff !important; /* Force white color for links */
    text-decoration: none;
    transition: color 0.3s;
}

.city-gallery-footer-contact p a:hover,
.city-gallery-footer .city-gallery-footer-contact p a:hover,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p a:hover {
    color: #F78C25 !important; /* Force orange on hover */
}

.city-gallery-footer-contact p i {
    margin-right: 10px;
    color: #F78C25;
    width: 16px;
    text-align: center;
}

/* FontAwesome fallbacks for footer icons */
.city-gallery-footer-contact i.fas:before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
}

/* CSS-only fallbacks if FontAwesome completely fails */
.city-gallery-footer-contact i.fa-phone-alt:before,
.city-gallery-footer-contact i.fas.fa-phone-alt:before {
    content: "📞";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.city-gallery-footer-contact i.fa-envelope:before,
.city-gallery-footer-contact i.fas.fa-envelope:before {
    content: "✉️";
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.city-gallery-footer-address {
    line-height: 1.6;
}

/* Öffnungszeiten */
.city-gallery-footer-hours p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Navigation-Links */
.city-gallery-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.city-gallery-footer-nav li {
    margin-bottom: 10px;
}

.city-gallery-footer-nav a,
.city-gallery-footer .city-gallery-footer-nav a,
.elementor-widget-city_gallery_footer .city-gallery-footer-nav a {
    color: #ffffff !important; /* Force white color for navigation links */
    text-decoration: none;
    display: block;
    padding: 2px 0;
    position: relative;
    transition: color 0.3s, padding-left 0.3s;
}

.city-gallery-footer-nav a:hover,
.city-gallery-footer .city-gallery-footer-nav a:hover,
.elementor-widget-city_gallery_footer .city-gallery-footer-nav a:hover {
    color: #F78C25 !important; /* Force orange on hover */
    padding-left: 5px;
}

.city-gallery-footer-nav a:before {
    content: '›';
    color: #F78C25;
    margin-right: 5px;
    font-weight: bold;
    opacity: 0.7; /* Make ribbon visible by default */
    transition: opacity 0.3s;
}

.city-gallery-footer-nav a:hover:before {
    opacity: 1; /* Full opacity on hover */
}

/* Social Media Icons */
.city-gallery-footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.city-gallery-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.city-gallery-footer-social-link:hover {
    background-color: #F78C25;
    transform: translateY(-3px);
}

.city-gallery-footer-social-icon {
    color: #F78C25;
    font-size: 18px;
    transition: all 0.3s;
}

.city-gallery-footer-social-link:hover .city-gallery-footer-social-icon {
    color: #ffffff;
}

/* Social Media Überschrift */
.city-gallery-footer-social-heading {
    margin-top: 25px;
}

/* Copyright-Bereich */
.city-gallery-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.city-gallery-footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .city-gallery-footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .city-gallery-footer-logo-container {
        grid-column: 1 / 3;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .city-gallery-footer-logo {
        display: inline-block;
    }
    
    .city-gallery-footer-logo img {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .city-gallery-footer {
        padding: 40px 0 20px;
    }
    
    .city-gallery-footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .city-gallery-footer-logo-container {
        grid-column: auto;
    }
    
    .city-gallery-footer-column {
        text-align: center;
    }
    
    .city-gallery-footer-heading:after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .city-gallery-footer-contact p {
        justify-content: center;
    }
    
    .city-gallery-footer-social {
        justify-content: center;
    }
}

/* Additional specificity for stubborn overrides */
.elementor-widget-city_gallery_footer .city-gallery-footer-contact .city-gallery-footer-phone a,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact .city-gallery-footer-email a,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p .city-gallery-footer-phone a,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p .city-gallery-footer-email a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.elementor-widget-city_gallery_footer .city-gallery-footer-contact .city-gallery-footer-phone a:hover,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact .city-gallery-footer-email a:hover,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p .city-gallery-footer-phone a:hover,
.elementor-widget-city_gallery_footer .city-gallery-footer-contact p .city-gallery-footer-email a:hover {
    color: #F78C25 !important;
}