/* Footer Component Styles */
footer {
    /* background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); */
    /* Background color now controlled via admin panel (FooterAyar.bgcolor) */
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info), var(--bs-success));
}

footer h5, footer h6 {
    color: white;
    margin-bottom: 1rem;
}

footer p, footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Social Media Icons - Override default footer link styles */
footer .social-icon-link {
    background-color: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    backdrop-filter: none !important;
}

footer .social-icon-link:hover {
    background-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: none !important;
}

/* Old styles - keeping for backwards compatibility */
footer .d-flex a:not(.social-icon-link) {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

footer .d-flex a:not(.social-icon-link):hover {
    background-color: var(--bs-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Footer Lists */
footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    position: relative;
    padding-left: 1rem;
}

footer ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

footer ul li a:hover::before {
    opacity: 1;
}

/* Contact Info Icons */
footer .fas, footer .fab {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Footer Bottom Border */
footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    footer .d-flex {
        justify-content: center;
    }
}

/* Social Media Icons */
.social-icon-link {
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
    text-decoration: none !important;
}

.social-icon-link i {
    display: inline-block;
}

/* Newsletter Section (if added later) */
.footer-newsletter {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}

.footer-newsletter .btn {
    background-color: var(--bs-primary);
    border: none;
}