/* ================================================
   footer.css - Footer G&C Rent A Car
   ================================================ */

.footer-section {
    background: var(--bg-dark);
    color: #E2E8F0;
    padding: 60px 0 60px;
    font-family: var(--font-secondary);
}

.footer-section-box {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER (Logo + Slogan) ==================== */
.footer-section-header {
    text-align: center;
    margin-bottom: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-section-header-logo {
    max-height: 150px;

    justify-content: center;
}

.footer-section-header-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    
    margin: 0 auto;
    line-height: 1.5;
    font-family: var(--font-primary);
}

/* ==================== BODY (4 Columnas) ==================== */
.footer-section-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* Columnas */
.footer-section-body-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.box-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.2;
}

.contact-item i, .footer-icon {
    color: #60A5FA;
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
}

/* Listas */
.about-box {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: auto 1fr;
    grid-template-areas: "title title" "icon list";
    grid-gap: 0;
    grid-column-gap: 30px;
}

.about-box span {
    grid-area: title;
}
.about-box i {
    grid-area: icon;
}

.item-list {
    grid-area: list;
    list-style: disc;
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

}

.item-list li {
    margin-bottom: 5px;
}

.item-list a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.3s;
}

.item-list a:hover {
    color: #60A5FA;
}

/* Social Icons */
.social-icons {
    gap: 16px;

    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: repeat(2, auto);
    grid-area: "title title" "icon icon";
}

.social-icon {
    font-size: 2.2rem;
    color: #E2E8F0;
    transition: all 0.3s;
    cursor: pointer;
}

.social-icon:hover {
    color: #60A5FA;
    /*transform: scale(1.1);*/
}

/* ==================== FOOTER BOTTOM ==================== */
.footer-section-footer {
    
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.footer-copyrights-box {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px;

    width: 100%;
}
.footer-copyrights-text {
    font-size: 0.95rem;
    color: #94A3B8;
}

.footer-powered-by-box {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
    color: #94A3B8;
    font-size: 0.9rem;
}


.footer-powered-by-image {
    height: 64px;
    filter: brightness(0) invert(1);
    cursor: pointer;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .footer-section-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-section-body {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-section {
        padding: 60px 0 30px;
    }
}