/* footer.css - Final Version */

/* Footer */
.footer { 
    background: #d9203e; 
    color: var(--white); 
    padding: 60px 0 20px; 
    text-align: center; 
    position: relative; 
    margin-top: 70px; 
}

/* =========================== */
/* MELTING ICE CREAM EFFECT    */
/* =========================== */
.footer-melt {
    position: absolute;
    bottom: 100%; /* Sits exactly on top of the footer */
    left: 0;
    width: 100%;
    height: 70px;
    margin-bottom: -2px; /* THE FIX: Pulls the wave down by 2px to overlap the gap */
    z-index: 10;
    pointer-events: none; 
}

.footer-melt svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.footer-melt .shadow-layer {
    transform: translateY(-4px); 
}

/* =========================== */
/* FOOTER CONTENT              */
/* =========================== */
.footer-content { display: flex; flex-direction: column; gap: 30px; margin-bottom: 40px; align-items: center; }

.footer-logo { display: flex; justify-content: center; align-items: center; width: 100%; margin-bottom: 15px; }
.footer-img { height: 85px; width: auto; object-fit: contain; display: block; margin: 0 auto; }

.footer-links { display: flex; gap: 50px; flex-wrap: wrap; justify-content: center; width: 100%; }
.footer-column { flex: 1; }
.footer-column h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 15px; }
.footer-column p { color: rgba(255, 255, 255, 0.9); margin-bottom: 10px; font-size: 0.9rem; line-height: 1.6; }

.social-icons { display: flex; gap: 15px; justify-content: center; margin-top: 15px; }
.social-icons a { width: 35px; height: 35px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.social-icons a:hover { background: var(--white); color: #d9203e; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 20px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }

/* =========================== */
/* MOBILE RESPONSIVE FOOTER    */
/* =========================== */
@media (max-width: 768px) {
    .footer-melt { height: 45px; } 
    .footer-img { height: 70px; margin-bottom: 5px; } 
    
    /* 2-Column Layout Logic */
    .footer-links { 
        flex-direction: row; 
        justify-content: space-between; 
        gap: 15px; 
        text-align: left; 
    }
    
    .footer-column h3 { font-size: 1rem; margin-bottom: 10px; }
    .footer-column p { font-size: 0.8rem; line-height: 1.4; }
    
    .social-icons { justify-content: flex-start; margin-top: 10px; }
    .social-icons a { width: 32px; height: 32px; font-size: 0.85rem; }
}