/* ========================================
   FOOTER STYLES - TopTheme
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFB22C 0%, #ff8c00 50%, #FFB22C 100%);
}

/* Footer Main Section */
.footer-main {
    padding: 60px 0 20px 0;
}

.footer-widgets {
    margin-bottom: 40px;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 0;
}

.footer-widget-column {
    min-height: 200px;
}

.footer-widget-area {
    height: 100%;
}

.footer-widget-area .widget {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-widget-area .widget:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.footer-widget-area .widget-title {
    color: #FFB22C;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-area .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFB22C, #ff8c00);
    border-radius: 2px;
}

.footer-widget-area .widget p,
.footer-widget-area .widget li,
.footer-widget-area .widget a {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-widget-area .widget a:hover {
    color: #FFB22C;
    transition: color 0.3s ease;
}

.footer-widget-area .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-area .widget ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area .widget ul li:last-child {
    border-bottom: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.site-info {
    text-align: center;
}

.site-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    margin: 0;
    color: #aaaaaa;
    font-size: 14px;
}

.footer-menu-wrapper {
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.footer-menu li {
    position: relative;
}

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-menu a:hover {
    color: #FFB22C;
}

.footer-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFB22C;
    transition: width 0.3s ease;
}

.footer-menu a:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 20px 0;
    }

    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-widget-area .widget {
        padding: 20px;
    }

    .footer-widget-area .widget-title {
        font-size: 18px;
    }

    .site-info-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-menu a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-widgets-grid {
        gap: 20px;
    }

    .footer-widget-area .widget {
        padding: 15px;
    }

    .footer-menu {
        gap: 15px;
    }

    .footer-menu a {
        font-size: 12px;
    }
}

/* Footer Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-widget-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-widget-column:nth-child(1) { animation-delay: 0.1s; }
.footer-widget-column:nth-child(2) { animation-delay: 0.2s; }
.footer-widget-column:nth-child(3) { animation-delay: 0.3s; }
.footer-widget-column:nth-child(4) { animation-delay: 0.4s; }

/* Footer Logo Widget Customization */
.footer-widget-area .widget_media_image img {
    max-width: 120px !important;
    height: auto !important;
    width: auto !important;
}

.footer-widget-area .widget_media_image {
    text-align: center;
    padding: 20px !important;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .footer-widget-area .widget_media_image img {
        max-width: 100px !important;
    }
}

@media (max-width: 480px) {
    .footer-widget-area .widget_media_image img {
        max-width: 80px !important;
    }
}
