/* Destinations Page Specific Styles */

.page-hero {
    position: relative;
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/1008155/pexels-photo-1008155.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.filter-section {
    padding: 2rem 0;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.filter-container svg {
    color: #6b7280;
    flex-shrink: 0;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    background: #f3f4f6;
    color: #374151;
}

.filter-btn:hover {
    background: #e5e7eb;
}

.filter-btn.active {
    background: #2563eb;
    color: white;
}

.destinations-section {
    padding: 3rem 0;
    background: #f9fafb;
}

.destinations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.destination-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.destination-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.destination-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

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

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

.destination-rating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.destination-rating svg {
    color: #eab308;
    fill: currentColor;
}

.destination-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.destination-content {
    padding: 1.5rem;
}

.destination-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.destination-header svg {
    color: #6b7280;
}

.destination-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.destination-country {
    color: #6b7280;
}

.destination-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.destination-attractions {
    margin-bottom: 1.5rem;
}

.destination-attractions h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.attractions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.attraction-tag {
    padding: 0.25rem 0.5rem;
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    border-radius: 9999px;
}

.destination-cta {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #dc2626 100%);
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.destination-cta:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #b91c1c 100%);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 3rem;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Loading and Animation States */
.destination-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

.destination-card.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.empty-state p {
    margin-bottom: 2rem;
}

.empty-state .btn-primary {
    display: inline-flex;
}