﻿/* Style cho phần Destination */
.destination {
    background: url('/Design/img/MaximusTravel/Destin/back.png') no-repeat center/cover;
    padding: 155px 0 131px 0;
    position: relative;
}

.destination-bg {
    display: flex;
}

.destination-content {
    flex: 1 1 0;
    margin-right: 20px;
}

.card:hover h3 {
    color: #333;
}

.destination-content h1 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 4px;
    font-family: Montserrat-Black;
    margin-top: 0;
    color: #ffff;
    line-height: 106%;
}

    .destination-content h1 span {
        color: #ffcc00;
    }

a.btn-discover span {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--default-color-3);
    border-radius: 50%;
    margin-left: 8px;
}

    a.btn-discover span svg {
        width: 5px;
        height: auto;
        position: relative;
        right: -1px;
    }

        a.btn-discover span svg path {
            fill: #f6b64d;
        }

.destination-content p {
    margin: 0;
    font-size: 15px;
    font-family: 'Montserrat-Medium';
    color: #fff;
    line-height: 145%;
}

.img-destination {
    margin-bottom: 28px;
    margin-top: 10px;
}

.btn-readmore span svg {
    width: 5px;
    height: auto;
    position: relative;
    right: -1px;
}

a.btn-readmore span {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    margin-left: 8px;
}

.btn-readmore span svg path {
    fill: var(--default-color-3);
}

.des-explore-home {
    padding-right: 15px;
}

.btn-discover {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    background-color: #f6b64d;
    color: var(--default-color-3);
    font-weight: bold;
    text-decoration: none;
    padding: 11px 25px;
    border-radius: 5px;
    line-height: normal;
    font-size: 16px;
    font-family: 'Montserrat-SemiBold';
    transition: background-color 0.3s;
}

    .btn-discover:hover {
        background-color: #e6b800;
    }

.destination-cards {
    width: 59%;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: #333;
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 100%;
        height: 170px;
        object-fit: cover;
    }

    .card h3 {
        font-size: 17px;
        text-align: left;
        color: #000000;
        font-family: 'MONTSERRAT-BOLD';
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.des-card-item-h p {
    margin: 0;
    font-size: 14px;
    color: #484848;
    font-family: 'Montserrat-Medium';
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.item-b-discover-c {
    padding: 14px 14px 30px 14px;
}

.des-card-item-h {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #dcdcdc;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    background-color: var(--default-color-3);
    color: #fff;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 5px;
    font-size: 13px;
    font-family: 'Montserrat-Medium';
    transition: background-color 0.3s;
    margin-top: 13px;
}

    .btn-readmore:hover {
        background: #1874b9;
    }

/* Responsive */
@media (max-width: 1024px) {
    .destination-bg {
        flex-direction: column;
        align-items: flex-start;
    }

    .destination-content {
        max-width: 100%;
        margin-bottom: 40px;
        margin-right: 0;
    }

    .destination-cards {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        flex: 1 1 250px;
    }
}

@media (max-width: 768px) {
    .destination-content h1 {
        font-size: 48px;
    }

    .card img {
        width: 100%;
        height: 245px;
    }

    .destination-content p {
        font-size: 14px;
        text-align: justify;
    }

    .img-destination img {
        width: 93%;
    }

    .img-destination {
        margin-bottom: 15px;
    }

    .des-explore-home {
        padding-right: 0;
    }

    .btn-discover {
        padding: 12px 12px;
        font-size: 14px;
    }

    .card {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .destination-content h1 {
        font-size: 34px;
    }

    .destination {
        padding: 40px 0;
    }
}
