/**
 * Custom Footer Styles
 * 
 * @package Understrap
 */

/* ========== Footer Top Section ========== */
.footer-top {
    background-color: #3a3a3a;
    color: #ffffff;
    padding: 15px 0;
    font-size: 15px;
}

.footer-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top-left,
.footer-top-right {
    font-weight: 400;
}

/* ========== Main Footer ========== */
.footer-main {
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 60px 0 40px;
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo-col {
    flex-shrink: 0;
}

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

.footer-menus-wrapper {
    display: flex;
    gap: 120px;
    align-items: flex-start;
    margin-left: 40px;
}

.footer-menu-col {
    flex-shrink: 0;
}

.footer-title {
    color: #4caf50;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    list-style-position: inside;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
}

.footer-menu li a:hover {
    color: #4caf50;
    padding-left: 5px;
}

/* ========== Widget Menu Styling ========== */
/* Style Navigation Menu widgets in footer to match hardcoded menus */
.footer-menu-col .footer-menu-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-col .footer-menu-widget ul li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-menu-col .footer-menu-widget ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
}

.footer-menu-col .footer-menu-widget ul li a:hover {
    color: #4caf50;
    padding-left: 5px;
}

/* Remove default widget styling */
.footer-menu-col .footer-menu-widget {
    margin: 0;
}

.footer-menu-col .widget {
    margin: 0;
}

.footer-menu-col .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-col .widget ul li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-menu-col .widget ul li::before {
    content: none;
}

.footer-menu-col .widget ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
}

.footer-menu-col .widget ul li a:hover {
    color: #4caf50;
    padding-left: 5px;
}

/* ========== Footer Contact Row ========== */
.site-footer .footer-contact-row {
    background-color: #2d2d2d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-email,
.footer-phone {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-email:hover,
.footer-phone:hover {
    color: #4caf50;
}

.footer-phone .phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone .phone-label {
    color: #4caf50;
    font-weight: 400;
    font-size: 15px;
}

.footer-phone .phone-number {
    font-weight: 700;
    font-size: 18px;
    color: #4caf50;
}

/* SVG Icon Styling */
.footer-contact-row .footer-email .icon-svg {
    width: 32px;
    height: 32px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-contact-row .footer-phone .icon-svg {
    width: 36px;
    height: 36px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-social .icon-svg {
    width: 22px;
    height: 22px;
    display: inline-block;
    filter: brightness(0) invert(1);
}

/* ========== Footer Bottom ========== */
.footer-bottom {
    background-color: #252525;
    color: #ffffff;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 15px;
    color: #cccccc;
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: #4caf50;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .footer-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-main-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-logo-col {
        text-align: center;
    }
    
    .footer-logo img {
        max-width: 220px;
        margin: 0 auto;
    }
    
    .footer-menus-wrapper {
        flex-direction: column;
        gap: 30px;
        margin-left: 0;
        width: 100%;
    }
    
    .footer-menu-col {
        text-align: center;
    }
    
    .footer-menu li {
        text-align: center;
    }
    
    .footer-menu li a:hover {
        padding-left: 0;
    }
    
    .footer-contact-content {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 12px 0;
        font-size: 13px;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
    
    .footer-title {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .footer-menu li {
        margin-bottom: 10px;
    }
    
    .footer-menu li a {
        font-size: 14px;
    }
    
    .footer-contact-row {
        padding: 20px 0;
    }
    
    .footer-contact-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-contact-row .footer-email .icon-svg,
    .footer-contact-row .footer-phone .icon-svg {
        width: 35px;
        height: 35px;
    }
    
    .footer-phone .phone-number {
        font-size: 16px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-copyright {
        font-size: 13px;
    }
    
    .footer-social .social-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
