/* ====================================================================
   FOOTER STYLES
   File: css/footer.css
   Description: Styles cho footer section
   ==================================================================== */

/* ===== Footer Base ===== */
.footer {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== Footer Links ===== */
.footer__title {
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.footer__title:hover {
    color: #FDB913;
}

.footer__title:hover::after {
    width: 100%;
}

/* ===== Footer Logo ===== */
.footer img[alt*="CỔNG THÔNG TIN"] {
    transition: transform 0.3s ease;
}

.footer img[alt*="CỔNG THÔNG TIN"]:hover {
    transform: scale(1.05);
}

/* ===== Footer Links Separator ===== */
.footer span.text-lg {
    opacity: 0.5;
}

/* ===== Back to Top Button ===== */
#hoi-dap {
    transition: all 0.3s ease;
}

#hoi-dap .bg-top {
    background-color: #C8102E;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
    transition: all 0.3s ease;
}

#hoi-dap .bg-top:hover {
    background-color: #A00B26;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.4);
}

#hoi-dap .bg-top svg {
    transition: transform 0.3s ease;
}

#hoi-dap .bg-top:hover svg {
    transform: translateY(-2px);
}

/* ===== Footer Responsive ===== */
@media (max-width: 1023px) {
    .footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer .flex.flex-col {
        text-align: center;
    }
}

/* ===== Copyright Section ===== */
.footer [class*="bg-[#00000026]"] {
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

.footer [class*="bg-[#00000026]"] p {
    line-height: 1.6;
}