﻿/* ==== Footer Base ==== */
.wpo-site-footer {
    background: #d4a017; /* vàng pha nâu */
    color: #1a1a1a; /* chữ đen đậm */
    font-size: clamp(14px, 1.5vw, 15px);
    line-height: 1.7;
    margin-bottom: 0;
}

    .wpo-site-footer a {
        color: #1a1a1a;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .wpo-site-footer a:hover {
            color: #000;
        }

/* ==== Upper Footer ==== */
.wpo-upper-footer {
    padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 5vw, 50px);
}

.wpo-site-footer .widget-title {
    margin-bottom: 20px;
}

    .wpo-site-footer .widget-title h3 {
        font-size: clamp(16px, 1.2vw, 18px);
        font-weight: 700;
        text-transform: uppercase;
        color: #1a1a1a;
        position: relative;
        display: inline-block;
    }

        .wpo-site-footer .widget-title h3::after {
            content: "";
            display: block;
            width: 35px;
            height: 2px;
            background: #1a1a1a;
            margin-top: 6px;
        }

/* ==== About Widget ==== */
.wpo-site-footer .about-widget p {
    margin-bottom: 15px;
    color: #333;
    font-size: clamp(13px, 1.3vw, 14px);
}

/* ==== Social Icons ==== */
.wpo-site-footer .social-icons ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

    .wpo-site-footer .social-icons ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(0,0,0,0.15);
        color: #1a1a1a;
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .wpo-site-footer .social-icons ul li a:hover {
            background: #1a1a1a;
            color: #d4a017; /* vàng pha nâu hover */
        }

/* ==== Link Widget ==== */
.wpo-site-footer .link-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .wpo-site-footer .link-widget ul li + li {
        margin-top: 10px;
    }

    .wpo-site-footer .link-widget ul li a {
        font-size: clamp(13px, 1.3vw, 14px);
        position: relative;
        padding-left: 15px;
    }

        .wpo-site-footer .link-widget ul li a::before {
            content: "›";
            position: absolute;
            left: 0;
            color: #1a1a1a;
        }

/* ==== Contact Widget ==== */
.wpo-site-footer .contact-ft ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .wpo-site-footer .contact-ft ul li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 12px;
        font-size: clamp(13px, 1.3vw, 14px);
        color: #333;
    }

        .wpo-site-footer .contact-ft ul li i {
            position: absolute;
            left: 0;
            top: 3px;
            font-size: 16px;
            color: #1a1a1a;
        }

/* ==== Newsletter Widget ==== */
.wpo-site-footer .newsletter-widget p {
    font-size: clamp(13px, 1.3vw, 14px);
    color: #333;
    margin-bottom: 15px;
}

.wpo-site-footer .newsletter-widget .input-area {
    display: flex;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

    .wpo-site-footer .newsletter-widget .input-area input {
        flex: 1;
        border: none;
        padding: 12px 15px;
        font-size: 14px;
        outline: none;
    }

    .wpo-site-footer .newsletter-widget .input-area button {
        background: #1a1a1a;
        border: none;
        color: #fff;
        padding: 0 18px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .wpo-site-footer .newsletter-widget .input-area button:hover {
            background: #000;
        }

/* ==== Lower Footer ==== */
.wpo-lower-footer {
    background: #b8860b; /* vàng đậm pha nâu */
    padding: 20px 0;
    text-align: center;
}

    .wpo-lower-footer p {
        margin: 0;
        font-size: 14px;
        color: #1a1a1a;
    }

        .wpo-lower-footer p a {
            color: #000;
        }

/* ==== Logo size ==== */
.wpo-site-footer .logo img {
    max-width: clamp(180px, 20vw, 250px);
    height: auto;
}

/* ==== Footer Wave ==== */
.footer-wave {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #1A1A1A;
    position: relative;
}

    .footer-wave svg {
        width: 200%;
        height: 100%;
        display: block;
    }

    .footer-wave .wave {
        fill: #d4a017; /* sóng vàng pha nâu */
        transform: translateX(0);
        animation: waveMove 12s linear infinite;
        will-change: transform;
    }

.wave2 {
    animation-delay: -6s;
}

@keyframes waveMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==== Responsive tweaks ==== */
@media (max-width: 991px) {
    .wpo-upper-footer {
        padding: clamp(30px, 5vw, 50px) 0 clamp(20px, 4vw, 30px);
    }

    .wpo-site-footer .widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .footer-wave {
        height: 80px;
    }

    .wpo-site-footer .newsletter-widget .input-area input {
        font-size: 13px;
        padding: 10px 12px;
    }

    .wpo-site-footer .newsletter-widget .input-area button {
        padding: 0 14px;
    }
}
