/* Destinations Page Styles */

.destinations-hero {
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.8)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=1335&q=80');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 100px 0;
    margin-top: 0;
}

.destinations-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.destinations-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section */
.destinations-filters {
    padding: 40px 0;
    background-color: var(--light-bg);
    border-bottom: 2px solid rgba(98, 182, 203, 0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    background-color: white;
    border: 2px solid var(--primary-light);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    display: inline-block;
    user-select: none;
}

.filter-btn:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 27, 42, 0.2);
}

.filter-btn:has(input[type="checkbox"]:checked) {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
    color: white;
}

.filter-btn input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-btn-offer {
    background-color: var(--accent-orange) !important;
    border-color: var(--accent-orange) !important;
    color: white !important;
}

.filter-btn-offer:hover {
    background-color: #e67e22 !important;
    border-color: #e67e22 !important;
}

.filter-btn-offer:has(input[type="checkbox"]:checked) {
    background-color: #d35400 !important;
    border-color: #d35400 !important;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.filter-btn-secondary {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: var(--dark-text) !important;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.filter-btn-secondary:hover {
    background-color: #e9ecef !important;
    border-color: var(--accent-sky) !important;
    color: var(--accent-sky) !important;
}

.filter-btn-secondary:has(input[type="checkbox"]:checked) {
    background-color: rgba(98, 182, 203, 0.1) !important;
    border-color: var(--accent-sky) !important;
    color: var(--accent-sky) !important;
}

.offer-filters-advanced {
    border-top: 2px dashed rgba(98, 182, 203, 0.3);
    padding-top: 20px;
    margin-top: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.destinations-filters:has(#offersFilterToggle:checked) .offer-filters-advanced {
    max-height: 500px;
    opacity: 1;
    padding-top: 20px;
    margin-top: 20px;
}

.offer-highlight {
    border: 2px solid rgba(243, 156, 18, 0.3);
}

.offer-badge {
    background-color: var(--accent-orange) !important;
}

.offer-label {
    background-color: rgba(243, 156, 18, 0.2) !important;
    color: #e67e22 !important;
}

.featured-offer {
    border: 3px solid var(--accent-orange) !important;
}

/* Destinations Grid */
.destinations-grid-section {
    padding: 80px 0;
    background-color: rgba(98, 182, 203, 0.05);
    min-height: 500px;
}

/* Pagination */
.destinations-grid-section .pagination {
    margin-top: 50px;
}

.destinations-grid-section .page-link {
    color: var(--primary-dark);
    border-color: #dee2e6;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    margin: 0 5px;
    transition: all 0.3s ease;
    background-color: white;
    min-width: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.destinations-grid-section .page-link:hover {
    background-color: rgba(98, 182, 203, 0.1);
    color: var(--accent-sky);
    border-color: var(--accent-sky);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.destinations-grid-section .page-item.active .page-link {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
    color: white;
    box-shadow: 0 4px 12px rgba(98, 182, 203, 0.3);
    cursor: pointer;
}

.destinations-grid-section .page-item:first-child .page-link {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.destinations-grid-section .page-item:last-child .page-link {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.destinations-grid-section .page-link i {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.destination-card-item {
    margin-bottom: 30px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.destination-card-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.destination-card {
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.destination-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.destination-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.destination-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-info h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.destination-info p {
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.8;
    flex-grow: 1;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.destination-price {
    color: var(--accent-sky);
    font-weight: 700;
    font-size: 1.5rem;
}

.destination-price .price-label {
    font-size: 0.9rem;
    color: var(--dark-text);
    display: block;
    margin-bottom: 5px;
}

.destination-card .btn-primary {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
}

/* Offer Expiry Date */
.offer-expiry {
    padding: 10px 15px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.offer-expiry i {
    margin-left: 8px;
}

/* Category Labels */
.category-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-label.internal {
    background-color: rgba(98, 182, 203, 0.2);
    color: var(--primary-light);
}

.category-label.honeymoon {
    background-color: rgba(243, 156, 18, 0.2);
    color: #e67e22;
}

.category-label.adventure {
    background-color: rgba(27, 73, 101, 0.2);
    color: var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .destinations-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .destinations-hero .hero-content p {
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .destination-info h4 {
        font-size: 1.2rem;
    }
    
    .destination-price {
        font-size: 1.3rem;
    }
}

