:root {
    --primary: #11a0ab; /* Teal từ Logo */
    --accent: #93c64c;  /* Lime Green từ Logo */
    --dark: #232d3b;
    --light: #f4f7f8;
    --white: #ffffff;
    --zalo-color: #0068ff;
            --fb-color: #1877f2;
    --shadow: 0 15px 35px rgba(17, 160, 171, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; color: var(--dark); line-height: 1.6; background-color: #fff; scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.3}
a { text-decoration: none; transition: 0.3s; }


body, .container, .container-fluid {
    min-width: 470px !important;
}
    
/* Header */
header { 
    background: var(--white); 
    padding: 10px 8%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.logo { height: 70px; } /* Tăng kích thước logo để thấy rõ chữ */
.header-info { display: flex; gap: 25px; align-items: center; }
.info-item { display: flex; flex-direction: column; text-align: right; }
.info-item span { font-size: 12px; color: #777; text-transform: uppercase; }
.info-item strong { color: var(--primary); font-size: 18px; font-weight: 500}
.btn-call-head { 
    background: linear-gradient(135deg, var(--primary), var(--accent)); 
    color: #fff; padding: 10px 25px; border-radius: 50px; 
    font-weight: 700; box-shadow: 0 4px 15px rgba(17, 160, 171, 0.3);
}



@keyframes shineSweep {
    0% {
        left: -100%; /* Bắt đầu ngoài cùng bên trái */
    }
    /* Tạo độ trễ giữa các lần quét để không bị rối mắt */
    60%, 100% {
        left: 125%; /* Chạy qua bên phải và ẩn đi */
    }
}

@keyframes callRadar {
    0% {
        box-shadow: 0 0 0 0 rgba(147, 198, 76, 0.8); /* Màu Lime Green đậm */
    }
    70% {
        box-shadow: 0 0 0 15px rgba(147, 198, 76, 0); /* Tỏa rộng 15px và mờ dần */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(147, 198, 76, 0);
    }
}

/* === 3. Style cơ bản của button (Tối ưu Mobile & Gắn Animations) === */
.btn-call-head {
    position: relative; /* Quan trọng để lớp sáng quét nằm bên trong */
    display: inline-flex; /* Căn chỉnh icon và text mượt hơn trên mobile */
    align-items: center;
    gap: 10px; /* Khoảng cách icon-text nếu có */
    
    background: linear-gradient(135deg, var(--primary), var(--accent)); /* Sử dụng biến màu của bạn */
    color: #fff;
    padding: 12px 30px; /* Mobile-friendly size */
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase; /* Chữ in hoa cho CTA mạnh */
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden; /* Quan trọng: Giữ vệt sáng quét không bị tràn ra ngoài */
    z-index: 1; /* Nền móng */

    /* Hiệu ứng mượt mà khi hover */
    transition: all 0.3s ease-out;
    
    /* Gắn Hiệu ứng 2: Vòng tròn radar tỏa sáng bên ngoài */
    animation: callRadar 2s infinite ease-out;
}

/* === 4. Tạo vệt sáng quét bên trong (Pseudo-element ::after) === */
.btn-call-head::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Bắt đầu ẩn bên trái */
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg); /* Làm cho vệt sáng chéo chuyên nghiệp */
    
    /* Gắn Hiệu ứng 1: Chạy quét liên tục */
    animation: shineSweep 5s infinite ease-in-out; /* 5 giây quét một lần */
    z-index: -1; /* Nằm dưới text nhưng trên background */
}

/* === 5. Hiệu ứng Hover (Dành cho Desktop - Tăng cường tương tác) === */
@media (min-width: 992px) {
    .btn-call-head:hover {
        /* Đảo ngược Gradient để nổi bật */
        background: linear-gradient(135deg, var(--accent), var(--primary)); 
        transform: scale(1.05); /* Phóng to nhẹ button */
        box-shadow: 0 8px 25px rgba(17, 160, 171, 0.4); /* Bóng đổ đậm hơn khi hover */
    }
    
    /* Tăng tốc độ quét khi hover để tạo cảm giác "gọi ngay" */
    .btn-call-head:hover::after {
        animation: shineSweep 1.8s infinite ease-in-out; /* 1.8 giây quét một lần */
    }
}

/* Hero Banner */
.hero { position: relative; height: 550px; overflow: hidden; }
.hero-slider img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: 1.5s ease-in-out; }
.hero-slider img.active { opacity: 1; }
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(35, 45, 59, 0.5); 
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-content { color: var(--white); max-width: 800px; padding: 20px; }
.hero-content h1 { font-size: 48px; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); line-height:1.1 }
.hero-content p { font-size: 20px; margin-bottom: 30px; font-weight: 300; }

/* Section "Chúng tôi có gì" - Overview */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -50px; position: relative; z-index: 10; padding: 0 8%; }
.overview-card { 
    background: var(--white); padding: 40px 30px; border-radius: 15px; text-align: center;
    box-shadow: var(--shadow); transition: 0.4s; border-bottom: 4px solid transparent;
}
.overview-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.overview-card i { font-size: 45px; color: var(--primary); margin-bottom: 20px; }
.overview-card h3 { color: var(--primary); margin-bottom: 15px; }

/* Section Commons */
section { padding: 80px 8%; }
.sec-header { text-align: center; margin-bottom: 60px; }
.sec-header span { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.sec-header h2 { font-size: 34px; color: var(--primary); margin-top: 10px; text-transform: uppercase; }

/* All Tours Grid */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.tour-card { 
    background: var(--white); border-radius: 15px; overflow: hidden; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s;
    display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tour-img { position: relative; height: 180px; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-code { 
    position: absolute; top: 15px; left: 15px; background: var(--primary); 
    color: #fff; padding: 3px 10px; border-radius: 4px; font-weight: 700; font-size: 12px; 
}
.tour-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tour-body h3 { font-size: 16px; margin-bottom: 15px; color: var(--dark); line-height: 1.4; }
.tour-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eee; padding-top: 15px; }
.tour-price { color: #e74c3c; font-weight: 800; font-size: 20px; }
.tour-price small { font-size: 12px; color: #888; font-weight: 400; }
.btn-view { color: var(--primary); font-weight: 500; font-size: 14px; }
.btn-view:hover { color: var(--accent); }


/* Vehicle Section */
.vehicle-wrap { 
    background: linear-gradient(rgba(17, 160, 171, 0.9), rgba(17, 160, 171, 0.9)), url('../images/bg-xe.jpg');
    background-size: cover; border-radius: 30px; padding: 60px; color: #fff;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.v-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.v-item { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.1); padding: 15px; border-radius: 12px; }
.v-item i { color: var(--accent); font-size: 24px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item { height: 200px; border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

.footer{
    background:#1f2933;
    color:#fff;
    text-align:center;
    padding:30px 20px 20px;
}

.footer-container{
    max-width:800px;
    margin:auto;
}

.footer-logo{
    height:60px;
    margin-bottom:15px;
}

.footer h3{
    margin-bottom:15px;
    font-size:20px;
}

.footer p{
    margin:5px 0;
    font-size:14px;
}

.footer a{
    color: var(--primary);
    text-decoration:none;
}

.footer a:hover{
    color: var(--accent);
}

.footer-copy{
    border-top:1px solid #3d4852;
    margin-top:25px;
    padding-top:15px;
    font-size:14px;
    opacity:0.8;
}-link i { color: var(--accent); }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}


.tool-item:hover { transform: scale(1.1); }

.tool-zalo { background: var(--zalo-color); }
.tool-fb { background: var(--fb-color); }
.tool-phone { background: #ff3b30; animation: pulse 2s infinite; }

.tool-item svg { width: 24px; height: 24px; fill: white; }



.social-tools {
    position: fixed;
    bottom: 20px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Style chung cho icon */
.tool-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Hiệu ứng rung lắc (Wiggle) */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(12deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(8deg); }
    60% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Hiệu ứng Phóng đại & Tỏa sáng (Pulse) */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(152, 208, 69, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(152, 208, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(152, 208, 69, 0); }
}

/* Áp dụng cho từng nút */
.tool-fb:hover, .tool-zalo:hover {
    animation: wiggle 0.8s ease-in-out; /* Rung khi di chuột vào */
}
.tool-zalo img {
    width: 25px;
}
.tool-phone {
    background: #ff3b30;
    /* Rung liên tục mỗi 2 giây để gây chú ý */
    animation: wiggle 1s infinite 2s, pulse-red 2s infinite; 
}

/* Hiệu ứng tỏa sóng riêng cho nút Phone màu đỏ */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* Làm icon nhỏ lại một xíu như bạn muốn */
.tool-item svg {
    width: 22px;
    height: 22px;
}
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* Lightbox */
#lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; justify-content: center; align-items: center; z-index: 2000; }
#lightbox img { max-width: 90%; max-height: 80vh; border: 5px solid #fff; border-radius: 10px; }
.close-lb { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 50px; cursor: pointer; }
 h2 {
        line-height: 1.3;
    }
    .girdl {
        display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
    }
@media (max-width: 991px) {
    .vehicle-wrap { grid-template-columns: 1fr; padding: 30px; }
    .hero-content h1 { font-size: 32px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .btn-call-head {
        font-size: 14px !important;
    }


    .overview-grid {
        gap: 15px;
        margin-top: -30px;
        padding: 0 2%;
    }
    .overview-card h3 {
        font-size: 16px;
    }
    .overview-card i {
        font-size: 30px;
    }
    .overview-card p {
        font-size: 14px;
    }
    .overview-card {
        padding: 20px 15px;
    }
    .hero {
        height: 450px;
    }
    p {
        font-size: 14px;
    }
    .hero-content p {
        font-size: 16px;
    }
    h2 {
        font-size: 24px !important;
    }
    .tour-body h3 {
        font-size: 14px;
    }
    .btn-view {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .info-item {
        display: none;
    }
    .overview-grid, .girdl{
       grid-template-columns: repeat(1, 1fr);
         padding: 0 8%;
         margin-top: 20px;
    }
    .girdl {
        padding: 0;
        margin-top: 0;
    }
        .hero {
        height: 320px;
    }
    .hero-content h1 {
        font-size: 25px;
    }
    section {
        padding: 50px 8%;
    }
        .hero-content p {
        font-size: 14px;
    }
    .tour-img {
        height: auto;
    }
    .gallery-item {
        height: 135px;
    }
}

.afooter {
    color: white;
    text-decoration: none
}

.afooter:hover {
    color: var(--accent-green);
}