/* =========================================
   footer.css
   Site footer — grid layout, brand, links,
   social buttons, contact info, bottom bar,
   and mobile responsive stacking.
   Depends on: global.css
========================================= */

/* =========================================
   FOOTER SHELL
========================================= */
.footer {
    background: #111827;
    color: #ffffff;
    padding-top: 70px;
}

/* =========================================
   FOOTER GRID
========================================= */
.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

/* =========================================
   FOOTER SECTIONS
========================================= */
.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

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

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-section ul li a:hover { color: #ffffff; }

/* =========================================
   FOOTER LOGO
========================================= */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Logo text is white inside the dark footer */
.footer .logo-text { color: #ffffff; }

/* =========================================
   CONTACT BLOCK
========================================= */
.footer-contact { margin-top: 20px; }
.footer-contact p { margin-bottom: 10px; }

.footer-contact-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-link:hover { color: #ffffff; }

/* =========================================
   SOCIAL ICONS
========================================= */
.footer-social {
    display: flex;
    gap: 10px;
    margin: 20px 0 16px;
}

.footer-social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: #0066ff;
    border-color: #0066ff;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================
   FOOTER BOTTOM BAR
========================================= */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 40px;
    color: #94a3b8;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-credit-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.footer-credit-link:hover { text-decoration: underline; }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer { padding-top: 50px; }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: left;
    }

    .footer-logo { justify-content: flex-start; }

    .footer-contact p {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 6px;
    }
}