html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}


body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer and Edge (Legacy) */
    overflow: auto;
    overflow-x: hidden;
    /* Still allow scrolling */
    -webkit-overflow-scrolling: touch;

}

h1 {
    font-size: 24px;
}

p {
    font-size: 14px;
    color: #3C3131;
}

.destination-content {
    width: 90%;
    margin: 0 auto;
    margin-top: 50px;
}

.destination-content img {
    width: 75%;
    max-width: 502px;
}

.destination-content h1 {
    margin-top: 30px;
    font-weight: 700;
}

.destination-content h1,
.destination-content p {
    text-align: left;
    width: 90%;
    margin-left: 10px;
}

.cta-button {
    margin: 0 auto;
    width: 20%;
    padding: 10px;
    background: linear-gradient(135deg, #F0B732 0%, #e6a825 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 183, 50, 0.3);
}

.trip-mobile {
    padding: 16px;
}

.trip-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 340px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.trip-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.trip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trip-content {
    padding: 16px;
}

.trip-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    text-align: left;
}

.trip-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.trip-duration,
.trip-schedule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.trip-duration img,
.trip-schedule img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.trip-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.original-price {
    font-size: 16px;
    color: #ff0000;
    text-decoration: line-through;
    margin: 0;
}

.discounted-price {
    font-size: 24px;
    font-weight: 700;
    color: #f0b732;
    margin: 0;
}

.cta-section {
    background-color: #F0B7321A;
    padding: 30px 0px;
}

.cta-section img {
    margin-bottom: 20px;
}

.cta-section h1 {
    margin-top: 20px !important;
    width: 80%;
    font-weight: 600;
    margin: 0 auto;
}

.cta-section p {
    margin-top: 20px !important;
    width: 80%;
    margin: 0 auto;
}

.trip-section {
    display: none;
}

.cta {
    width: 200px;
    margin-top: 20px;
}

/* ========== SORT SECTION ========== */
.sort-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
    width: 40%;
   margin-left: 40px;
   margin-top: 50px;
    
}


.sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-container label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-container label i {
    color: #F0B732;
}

#sortTrips {
    padding: 10px 16px;
    border: 2px solid #F0B732;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

#sortTrips:hover {
    border-color: #d99a1a;
    box-shadow: 0 2px 8px rgba(240, 183, 50, 0.2);
}

#sortTrips:focus {
    outline: none;
    border-color: #F0B732;
    box-shadow: 0 0 0 3px rgba(240, 183, 50, 0.1);
}

.trip-count {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.trip-count span {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

/* ========== ACTIVE FILTER TAB ========== */
.trip-selector {
    display: flex;
    gap: 10px;
    padding: 20px;
    scrollbar-width: thin;
}

.destinations {
    min-width: fit-content;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.destinations a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.destinations:hover {
    border-color: #F0B732;
    background: #fff9ed;
    transform: translateY(-2px);
}

.destinations.active {
    background: #F0B732;
    border-color: #F0B732;
}

.destinations.active a {
    color: white;
}

.destinations.active p {
    color: white;
}

/* ========== NO TRIPS MESSAGE ========== */
.no-trips {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-trips i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-trips h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-trips p {
    font-size: 16px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .sort-section {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-container {
        flex-direction: column;
        align-items: flex-start;
    }

    #sortTrips {
        width: 100%;
    }

    .trip-count {
        text-align: center;
        justify-content: center;
    }

    .trip-selector {
        padding: 15px 10px;
    }

    .destinations {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ========== TRIP CARDS GRID ========== */
.trip-pc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* ========== LOADING ANIMATION ========== */
.loading {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 48px;
    color: #F0B732;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== CTA SECTION IMPROVEMENTS ========== */
.cta-section {
    margin-top: 60px;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border-radius: 20px;
}

.cta-image img {
    max-width: 300px;
    border-radius: 12px;
}

.cta-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
}



.cta-button.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .cta-image img {
        max-width: 200px;
    }

    .cta-text h1 {
        font-size: 24px;
    }
}

/* Mobile First - Default styles above are for mobile */

/* Tablet and above */
@media (min-width: 768px) {}

/* Desktop and above */
@media (min-width: 992px) {
    .trip-section {
        width: 100%;
        display: block;
        margin: 0 auto;
    }
    .sort-section{
    width: 90%;
    max-width: 1450px;
    margin: 0 auto;
    margin-top: 50px;
    
}
    .destination-content {
        max-width: 1550px;
    }

    .destination-content img {
        max-width: 550px;
    }

    .trip-selector {
        width: 30%;
        display: inline-block;
        margin-left: 10px;
        margin-right: 30px;
        vertical-align: top;
        margin-top: 50px;
        background-color: #c7c7c7;
        padding-bottom: 40px;
        border-radius: 15px;
        aspect-ratio: 3/4;
        max-width: 380px;

    }

    .destinations {
        width: 90%;
        margin: 25px auto;
        background-color: #fff;
        border-radius: 8px;
    }

    .destinations p {
        font-size: 18px;
        padding: 5px 5px;
        color: black;
    }

    .destination p:hover {
        color: #f0b732;
    }

    .trip-mobile {
        display: none;
    }

    .trip-pc {
        width: 60%;
        margin-right: 10px;
        margin-top: 50px;
        vertical-align: top;
        display: inline-block;
    }

    .trip-card {
        width: 30%;
        max-width: 240px;
        min-width: px;
        margin: 10px auto;
        display: inline-block;
        aspect-ratio: 3 / 4;
        border-radius: 18px;
        margin-right: 10px;
        position: relative;
        overflow: hidden;
        color: #fff;
        background-size: cover;
        background-position: center;
        cursor: pointer;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .trip-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    /* Dark gradient */
    .overlay {
        position: absolute;
        inset: 0;
        height: 100%;
        bottom: 10px;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.0),
                rgba(0, 0, 0, 0.1));
        z-index: 1;
    }


    /* Bottom content */
    .card-bottom {
        position: absolute;
        bottom: 18px;
        width: 180px;
        left: 10px;
        right: 18px;
        z-index: 2;
    }

    .card-bottom h4 {
        font-size: 16px;
        margin-bottom: 8px;
        width: 125px;
        font-weight: 600;
    }

    .meta {
        display: flex;
        gap: 12px;
        font-size: 13px;
        opacity: 0.9;
        width: 100%;
        margin-bottom: 10px;
    }

    .price {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .price del {
        opacity: 0.6;
        font-size: 14px;
    }

    .price strong {
        font-size: 18px;
        color: #facc15;
    }

    .cta-image {
        width: 40%;
        display: inline-block;
        vertical-align: top;
    }

    .cta-image img {
        width: 55%;
        max-width: 300px;
    }

    .cta-text {
        width: 55%;
        display: inline-block;
        vertical-align: middle;
        text-align: left;
    }
    .cta-btn{
        width: 80%;
        margin: 0 auto;
    }

    .cta {
        text-align: center;
    }
    .cta-section{
        margin-top: 50px;
    }

}

@media(min-width:1200px) {
    .card-bottom {
        position: absolute;
        bottom: 18px;
        left: 18px;
        right: 18px;
        z-index: 2;
    }
}

@media (min-width:1440px) {
    .trip-section {
        max-width: 1550px
    }

    .trip-pc {
        margin-left: 5%;
    }

    .trip-card {
        max-width: 260px;

    }

    .cta-button {
        margin-top: 20px;
    }

    .trip-selector {
        max-width: 400px;

    }
}