/* ========================================
   Footer Styles - Top1to5.com
   Design: Modern 4-column responsive footer
   Theme: Purple (#8b5cf6)
   ======================================== */

/* Footer Container */
.site-footer {
    background: rgba(30, 27, 75, 0.9);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 0;
    border-top: 2px solid rgba(30, 27, 75, 1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Logo & Tagline */
.footer-logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

/* Footer Headings */
.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact .footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover,
.footer-contact .footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-contact .footer-link i {
    margin-right: 8px;
    font-size: 16px;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Facebook - Blue */
.footer-social a[href*="facebook"] {
    background: #1877F2;
}

.footer-social a[href*="facebook"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

/* LINE - Green */
.footer-social a[href*="line"] {
    background: #00C300;
}

.footer-social a[href*="line"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 195, 0, 0.4);
}

/* Instagram - Pink/Purple Gradient */
.footer-social a[href*="instagram"] {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.footer-social a[href*="instagram"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(221, 42, 123, 0.4);
}

/* YouTube - Red */
.footer-social a[href*="youtube"] {
    background: #FF0000;
}

.footer-social a[href*="youtube"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Copyright Bar */
.footer-bottom {
    background: rgba(30, 27, 75, 0.9);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(30, 27, 75, 1);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0 0;
        margin-top: 0; /* No margin - flows naturally after content */
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 30px;
    }

    .footer-logo-img {
        width: 120px;
    }

    .footer-logo h3 {
        font-size: 22px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links a,
    .footer-contact .footer-link {
        font-size: 14px;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-bottom {
        padding: 15px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
    .footer-tagline {
        font-size: 13px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }
}
