/* Các biến màu sắc (Khác với gradient, sử dụng màu đặc trưng solid color) */
:root {
    --primary: #FFCC00;
    /* Màu vàng đặc trưng của taxi */
    --primary-dark: #E6B800;
    /* Màu vàng tối hơn */
    --text-dark: #222222;
    --text-light: #FFFFFF;
    --zalo-color: #0068FF;
    /* Màu xanh Zalo chuẩn */
    --phone-color: #00A651;
    /* Màu xanh lá cây */
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #E2E8F0;
    /* Màu nền trơn, không gradient */
    overflow-x: hidden;
}

/* ------------------ BANNER ------------------ */
.banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    background-image: url('./banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Hiệu ứng kéo ảnh (Parallax) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lớp phủ bằng màu đen mờ trên background, tạo sự tương phản text mà không cần gradient */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
    margin-top: -50px;
}

.banner-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9);
    /* Hiệu ứng bóng chữ trơn, rất đậm đà */
    letter-spacing: 2px;
}

.banner-content p {
    font-size: 1.4rem;
    margin-bottom: 45px;
    line-height: 1.8;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}

/* -------------- CHI TIẾT NÚT GỌI (GLASSSMORPHISM) -------------- */
.action-buttons {
    display: flex;
    justify-content: center;
}

/* 
Nút gọi mờ trên ảnh (backdrop-filter: blur) 
KHÔNG DÙNG GRADIENT 
*/
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 45px 15px 15px;
    /* Padding cho icon tròn phía trong và chữ */
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    border-radius: 60px;
    /* Bo góc hoàn toàn */

    /* Thiết lập background màu trắng cực mờ kết hợp hiệu ứng blur */
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    /* Chìa khóa cho nền mờ trên ảnh */
    -webkit-backdrop-filter: blur(15px);

    border: 2px solid rgba(255, 204, 0, 0.7);
    /* Viền vàng có độ mờ */
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.5);
    /* Bóng đổ cho nút */
    transition: all 0.4s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    position: relative;
}

.icon-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: var(--primary);
    /* Màu nền icon vàng trơn */
    color: var(--text-dark);
    border-radius: 50%;
    text-shadow: none;
}

/* Hoạt ảnh rung chuông cho điện thoại bên trong nút mờ */
.btn-call i {
    font-size: 2.2rem;
    animation: ringPhone 1.5s infinite;
}

.btn-call:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    /* Di chuyển nút lên một chút khi di chuột vào */
    border-color: var(--primary);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.7);
    color: #FFF;
}

/* ---------------- LƯỚI THÔNG TIN VÀ TÍNH NĂNG TRÊN BANNER ---------------- */
.features-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    /* Card mờ trên ảnh theo concept */
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 25px 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Viền mờ cho đẹp */
    transition: transform 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-12px);
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary);
}

.feature-item span {
    font-size: 1.3rem;
    font-weight: 600;
}

/* ------------------- CÁC NÚT TRÔI NỔI ------------------- */
.floating-buttons {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 999;
}

.float-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.zalo-btn {
    background-color: var(--zalo-color);
    /* Nền xanh trơn */
}

.zalo-btn img {
    width: 45px;
    height: 45px;
}

.phone-float-btn {
    background-color: var(--phone-color);
    /* Nền xanh lá trơn */
    color: white;
    font-size: 32px;
}

.phone-float-btn i {
    animation: ringPhone 1.5s infinite;
    /* Hiệu ứng chuông lắc liên tục */
}

/* Hiệu ứng sóng nước sóng âm tản ra đằng sau nút nổi (Ping effect) */
.float-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: -1;
    animation: pingRipple 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

.zalo-btn::after {
    background-color: var(--zalo-color);
}

.phone-float-btn::after {
    background-color: var(--phone-color);
    animation-delay: 1s;
    /* Chạy lệch nhịp để trông tự nhiên */
}


/* ---------------- HIỆU ỨNG TỔNG HỢP (ANIMATIONS) ---------------- */

@keyframes ringPhone {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-15deg);
    }

    20% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pingRipple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    75%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hoạt ảnh tỏa sáng (Pulse Border) quay vòng trên nút gọi mờ */
@keyframes pulseBorderFade {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 30px rgba(255, 204, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

/* Gắn Animations */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.pulse-anim {
    animation: pulseBorderFade 2.5s infinite;
}

.hover-bounce:hover {
    transform: scale(1.15) translateY(-6px);
}

/* ---------------- TƯƠNG THÍCH MÀN HÌNH NHỎ (RESPONSIVE) ---------------- */
@media (max-width: 768px) {
    .banner {
        height: auto;
        min-height: 100vh;
        padding: 40px 15px;
    }

    .banner-content {
        margin-top: 0;
        padding: 0;
    }

    .banner-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .btn-call {
        font-size: 1.1rem;
        padding: 8px 25px 8px 8px;
        gap: 10px;
    }

    .icon-ring {
        width: 45px;
        height: 45px;
    }

    .btn-call i {
        font-size: 1.4rem;
    }

    .btn-call span:last-child {
        white-space: nowrap;
        /* Tránh cho số điện thoại bị rớt dòng chữ */
    }

    .features-list {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        max-width: 320px;
        flex-direction: row;
        padding: 12px 20px;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
    }

    .feature-item i {
        font-size: 1.7rem;
        width: 35px;
        text-align: center;
    }

    .feature-item span {
        font-size: 1.1rem;
        text-align: left;
        flex: 1;
        /* text starts at the same vertical line */
    }

    .floating-buttons {
        bottom: 20px;
        right: 15px;
        gap: 15px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
    }

    .phone-float-btn {
        font-size: 22px;
    }

    .zalo-btn img {
        width: 28px;
        height: 28px;
    }
}