/* Destinations Page Styles */
.destinations-page {
    background: #f8f9fb;
    min-height: 100vh;
}

/* Hero Section */
.destinations-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.destinations-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color, #FF6B35);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
.destinations-content,
.featured-packages,
.why-choose-us {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: #2c5282;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 320px;
    transform-origin: center;
}

.destination-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.destination-image {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.destination-card:hover .destination-image {
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.destination-card:hover .destination-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.packages-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    align-self: flex-start;
    margin-bottom: auto;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.destination-card:hover .packages-badge {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.destination-content {
    color: white;
    text-align: left;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-content {
    transform: translateY(-5px);
}

.destination-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.destination-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

/* Search Form */
.destination-search-form {
    max-width: 500px;
    margin: 2rem auto;
}

.search-input-group {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-input-group input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.search-input-group input::placeholder {
    color: #999;
}

.search-input-group button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-input-group button:hover {
    background: #e55a2b;
}

.search-input-group button i {
    font-size: 1.1rem;
}

/* Filter Section */
.destinations-filters {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #4a5568;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* No Results Section */
.no-results-section {
    text-align: center;
    padding: 4rem 0;
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Featured Packages Section */
.featured-packages {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.package-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b35;
}

.price-label {
    font-size: 0.8rem;
    color: #718096;
}

.package-content {
    padding: 1.5rem;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.package-destination {
    color: #667eea;
    font-weight: 500;
}

.package-duration {
    color: #718096;
}

.package-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.package-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-title a:hover {
    color: #667eea;
}

.package-excerpt {
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.package-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.package-link:hover {
    gap: 0.8rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #f7fafc;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-description {
    color: #718096;
    line-height: 1.6;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .destinations-hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Fix destinations grid for mobile */
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .destination-card {
        height: 280px;
        max-width: 100%;
        margin: 0 auto;
    }

    .destination-overlay {
        padding: 20px;
    }

    .destination-name {
        font-size: 1.3rem;
    }

    .destination-subtitle {
        font-size: 0.9rem;
    }

    .packages-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .filter-tabs {
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }

    .search-input-group {
        flex-direction: column;
        border-radius: 15px;
    }

    .search-input-group input,
    .search-input-group button {
        border-radius: 0;
    }

    .search-input-group input {
        border-radius: 15px 15px 0 0;
    }

    .search-input-group button {
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .destinations-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .destination-card {
        height: 250px;
    }

    .destination-overlay {
        padding: 16px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }
}