/* Custom Footer Widget Styles */

#custom-footer {
    margin-top: auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.footer-left,
.footer-right {
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-right {
    --social-icon-size: 48px;
    --social-gap: 1.5rem;
    --social-count: 4;
    --social-group-width: calc(
        (var(--social-icon-size) * var(--social-count)) +
        (var(--social-gap) * (var(--social-count) - 1))
    );
}

.footer-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.footer-right .footer-content {
    max-width: 100%;
}

.footer-left .footer-content {
    max-width: 100%;
}

/* Left Column */
.footer-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-top: 2rem;
    display: block;
}

.footer-logo-link {
    display: block;
    width: 100%;
    margin-top: 2rem;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    /* All other styling inherited from theme settings */
}

.footer-text {
    font-size: 1.125rem;
    line-height: 1.8;
    padding-left: 5px;
    padding-right: 5px;
    /* All other styling inherited from theme settings */
}

/* Right Column */
.footer-actions {
    width: 80%;
    max-width: var(--social-group-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-button {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    /* All button styling inherited from theme settings */
}

.footer-social {
    display: flex;
    gap: var(--social-gap);
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: transparent;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Color inherited from theme settings */
}

.social-icon:hover {
    background-color: transparent;
    color: var(--color-link-hover);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-left,
    .footer-right {
        padding: 3rem 0;
    }
    
    .footer-title {
        font-size: 1.75rem;
    }
    
    .footer-text {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .footer-left,
    .footer-right {
        padding: 2rem 0;
    }

    .footer-right {
        --social-icon-size: 40px;
        --social-gap: 1rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-text {
        font-size: 0.95rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .footer-social {
        gap: 1rem;
    }

    .footer-actions {
        width: 100%;
        max-width: 100%;
    }
}
