@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

html {
    scroll-padding-top: 15vh;
}

body {
    background-color: white;
    color: black;
    overflow-x: hidden;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.navbar .container {
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.3s ease-in-out;
}

.navbar-scrolled .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hero-section {
    background-image: url("../img/hero-background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 85vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-radius: 24px;
    overflow: hidden;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 4.5rem;
    margin-bottom: 1rem;
    width: 80%;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-weight: 500;
    font-size: 1rem;
    line-height: 2rem;
    width: 50%;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 2rem;
        width: 90%;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.2rem;
        width: 90%;
    }

    .hero-section {
        height: 50vh;
    }

    .hero-section .btn {
        font-size: 0.8rem;
    }
}

.about-box {
    height: 300px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.6;
}

.certificate-img {
    height: 400px;
}

@media (max-width: 768px) {
    .about-box {
        height: 300px;
    }

    .about-text {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .certificate-img {
        height: 200px;
    }
}

.destination-card {
    border: none;
    background: none;
}

.destination-package-card {
    border: none;
    background: none;
}

.flashsale-card {
    border: none;
    background: none;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.destination-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flashsale-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-img-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.see-more-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;

    opacity: 0;
    transform: translate(-50%, -30%);
    transition: all 0.4s ease;
}

.destination-card:hover .card-img-wrapper::before {
    opacity: 1;
}

.destination-package-card:hover .card-img-wrapper::before {
    opacity: 1;
}

.flashsale-card:hover .card-img-wrapper::before {
    opacity: 1;
}

.destination-card:hover .see-more-btn {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.destination-package-card:hover .see-more-btn {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.flashsale-card:hover .see-more-btn {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.destination-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.destination-package-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.flashsale-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.destination-card-body {
    padding-top: 1rem;
}

.destination-package-card-body {
    padding-top: 1rem;
}

.flashsale-card-body {
    padding-top: 1rem;
}

.destination-card-body h5 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.destination-package-card-body h5 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.flashsale-card-body h5 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.destination-card-body p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .destination-card .card-img-wrapper {
        height: 200px;
    }

    .destination-package-card .card-img-wrapper {
        height: 400px;
    }

    .flashsale-card .card-img-wrapper {
        height: 200px;
    }

    .destination-card-body h5 {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .flashsale-card-body h5 {
        font-weight: 700;
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .destination-card-body p {
        color: #6c757d;
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .see-more-btn {
        font-size: 0.8rem;
        width: 80%;
        text-align: center;
    }
}
