/*
 * Footer Styles
 * Màu chủ đạo: Dark + Gold sang trọng
 */

.site-footer {
    background: linear-gradient(135deg, #2766AB 0%, #0d233a 100%);
    color: var(--white);
    margin-top: auto;
}

.footer-top {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-col {
    padding: 0 var(--space-md);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #D4B896;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #D4B896, transparent);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-company-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

/* Footer Info */
.footer-info p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-info i {
    color: #D4B896;
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    text-align: center;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-info a:hover {
    color: #D4B896;
}

/* Footer Links */
.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
    color: #D4B896;
    padding-left: 8px;
}

.footer-links a i {
    color: var(--gold-500);
    font-size: 12px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Hotline */
.footer-hotline {
    margin-bottom: var(--space-lg);
}

.hotline-number {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(135deg, #B8956C, #D4B896);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    transition: all var(--duration-fast) var(--ease-out);
    box-shadow: 0 4px 20px rgba(184, 149, 108, 0.3);
}

.hotline-number i {
    font-size: 20px;
    animation: phone-ring 1.5s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.hotline-number:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(184, 149, 108, 0.4);
}

.hotline-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--white);
    transition: all var(--duration-normal) var(--ease-spring);
}

.social-icons a.fb {
    background: #1877f2;
}

.social-icons a.yt {
    background: #ff0000;
}

.social-icons a.zl {
    background: #0068ff;
    font-family: var(--font-heading);
    font-weight: 700;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Map */
.footer-map {
    width: 100%;
    line-height: 0;
    filter: grayscale(0.5);
    transition: filter var(--duration-normal) var(--ease-out);
}

.footer-map:hover {
    filter: grayscale(0);
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.footer-bottom strong {
    color: #D4B896;
}

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

    .footer-col:first-child {
        grid-column: span 2;
    }
}

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

    .footer-col:first-child {
        grid-column: span 1;
    }

    .footer-col {
        padding: 0;
        text-align: left !important;
    }

    .footer-logo {
        text-align: left !important;
    }

    .footer-logo img {
        margin: 0;
    }

    .footer-company-name {
        text-align: left !important;
    }

    .footer-title {
        text-align: left !important;
    }

    .footer-title::after {
        left: 0 !important;
        transform: none !important;
    }

    .footer-info {
        text-align: left !important;
    }

    .footer-info p {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .footer-links {
        text-align: left !important;
    }

    .footer-links a {
        justify-content: flex-start !important;
    }

    .footer-links a:hover {
        padding-left: 8px;
    }

    .social-icons {
        justify-content: flex-start !important;
    }

    .footer-hotline {
        text-align: left !important;
    }

    .hotline-number {
        font-size: 18px;
        display: inline-flex;
    }

    .hotline-note {
        text-align: left !important;
    }
}
