/* ==========================================================================
   DALFA EXPO - FOOTER STYLESHEET
   ========================================================================== */

.dalfa-site-footer {
    width: 100%;
    background-color: #FFFFFF;
    color: var(--text-main, #2A2C30);
    border-top: 2px solid var(--brand-red, #E6282B);
    padding: 70px 24px 30px;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.2fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-light, #E5E7EB);
}

/* Column 1: Brand Logo & Socials */
.footer-brand-col .footer-brand-logo {
    max-height: 80px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.footer-brand-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted, #5E626B);
    margin-bottom: 20px;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-pill-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F6;
    color: var(--brand-dark, #11141A);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-pill-btn:hover {
    background: var(--brand-red, #E6282B);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Widget Section Headings (DynaPuff Display Font) */
.footer-widget-title {
    font-family: var(--font-display) !important;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-red, #E6282B);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Column 2: Quick Links Navigation */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #2A2C30);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--brand-red, #E6282B);
    transform: translateX(4px);
}

/* Column 3: Direct Contact Cards Stack */
.footer-contacts-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-card {
    background: #FFFFFF;
    border: 1px solid rgba(230, 40, 43, 0.2);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(230, 40, 43, 0.03);
    transition: all 0.2s ease;
}

.footer-contact-card:hover {
    border-color: var(--brand-red, #E6282B);
    transform: translateY(-2px);
}

.f-contact-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark, #11141A);
    line-height: 1.2;
}

.f-contact-role {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted, #5E626B);
    margin-top: 2px;
}

.f-contact-divider {
    height: 1px;
    width: 100%;
    background: #F3F4F6;
    margin: 10px 0;
}

.f-contact-phone {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand-red, #E6282B);
    text-decoration: none;
}

.f-contact-phone:hover {
    text-decoration: underline;
}

/* Column 4: Head Office Details */
.footer-office-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-office-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text-main, #2A2C30);
    line-height: 1.5;
}

.f-office-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.footer-office-list a {
    color: var(--text-main, #2A2C30);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-office-list a:hover {
    color: var(--brand-red, #E6282B);
}

/* Bottom Bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted, #5E626B);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: var(--text-muted, #5E626B);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--brand-red, #E6282B);
}

.footer-bottom-links .sep {
    color: var(--border-light, #E5E7EB);
}

/* Scroll To Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-red, #E6282B);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(230, 40, 43, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 99;
}

.scroll-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    background: var(--brand-red-hover, #C7212B);
    transform: translateY(-3px);
}

/* Responsive Rules */
@media screen and (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media screen and (max-width: 640px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   FOOTER MOBILE & TABLET RESPONSIVE OVERRIDES
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .dalfa-site-footer {
        padding: 50px 20px 24px;
    }

    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding-bottom: 36px;
    }
}

@media screen and (max-width: 640px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand-col .footer-brand-logo {
        max-height: 65px;
    }

    .footer-widget-title {
        margin-bottom: 14px;
    }

    .footer-contact-card {
        padding: 14px 16px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding-top: 20px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}