
/* Destinations List Page Specific Styles */
.destinations {
    padding-block: 50px;
}

/* Section Headers */
.section-title {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--dark-text-color);
    font-family: var(--heading-font);
}

.section-subtitle {
    font-size: 16px;
    color: #696969;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Buttons */
.destination-filters {
    margin-bottom: 20px;
}

.destination-filters .btn {
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 0 5px;
}

.destination-filters .btn.active,
.destination-filters .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(250, 186, 64, 0.3);
}

/* Destination Cards */
.tour-item {
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%
}

.tour-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tour-item__img {
    position: relative;
    overflow: hidden;
    margin-block-end: 0;
    height: 250px;
}

.tour-item__img img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease-in-out;
}

.tour-item__img:hover img {
    transform: scale(1.1);
}

.tour-item__content {
    padding-block: 15px;
    padding-inline: 20px;
}

.tour-item__content .date {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #696969;
    margin-block-end: 5px;
}

.tour-item__content .desc {
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 1px;
    color: #000;
    font-family: var(--heading-font);
}

.tour-item__content .desc a {
    color: inherit;
}

.tour-item__content .desc a:hover {
    color: var(--primary-color);
}

.tour-item__content p {
    font-size: 14px;
    line-height: 1.6;
    color: #696969;
}

.destination-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tour-rating {
    color: var(--primary-color);
    font-size: 14px;
}

/* Featured Destination Cards */
.featured-destinations {
    background-color: var(--section-bg-color);
}

.featured-card {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

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

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

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    transition: all 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.featured-card:hover .featured-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
}

.featured-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-overlay p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.featured-overlay .btn {
    align-self: flex-start;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .featured-overlay .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

/* Newsletter Section */
.newsletter {
    background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(33, 59, 85, 0.85);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    padding: 50px 30px;
    border-radius: 10px;
    color: #fff;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 700;
}

.newsletter-content p {
    font-size: 16px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: 25px;
    padding-left: 20px;
    border: none;
}

.newsletter-form .btn {
    height: 50px;
    min-width: 150px;
    border-radius: 25px;
    font-weight: 600;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.newsletter-form .btn:hover {
    background-color: #e5a930;
    border-color: #e5a930;
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    border-radius: 4px;
    margin: 0 3px;
    color: var(--dark-text-color);
    border-color: #dee2e6;
    padding: 8px 16px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 8px 16px;
}

/* Make the destinations page responsive */
@media (max-width: 1199px) {
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
    }

    .featured-card {
        height: 350px;
    }

    .featured-overlay h3 {
        font-size: 24px;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .featured-card {
        height: 300px;
        margin-bottom: 20px;
    }

    .newsletter-content {
        padding: 30px 20px;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .destination-filters .btn {
        margin-bottom: 10px;
    }

    .featured-overlay h3 {
        font-size: 20px;
    }

    .featured-overlay p {
        font-size: 14px;
    }

    .pagination .page-link {
        padding: 6px 12px;
    }
}
