/* ============================================
   PÁGINA DE DESTINOS - ESTILOS
============================================ */

/* Header fijo para destinos */
.header {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
}

/* Hero Destinos */
.destinos-hero {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.destinos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1600') center/cover;
    opacity: 0.3;
}

.destinos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(255, 107, 157, 0.8));
}

.destinos-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 var(--spacing-lg);
}

.destinos-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.destinos-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Destinos Section */
.destinos-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.destinos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

/* Destino Card */
.destino-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.destino-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.destino-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.destino-badge.popular {
    background: rgba(139, 92, 246, 0.9);
    color: white;
}

.destino-badge.oferta {
    background: rgba(255, 107, 157, 0.9);
    color: white;
}

.destino-badge.lujo {
    background: rgba(255, 215, 0, 0.9);
    color: #1F2937;
}

.destino-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.destino-card:hover .destino-img {
    transform: scale(1.1);
}

.destino-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.destino-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.destino-country {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.destino-country i {
    width: 16px;
    height: 16px;
}

.destino-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.destino-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.destino-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.destino-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.destino-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.destino-card {
    animation: fadeInUp 0.6s ease backwards;
}

.destino-card:nth-child(1) { animation-delay: 0.1s; }
.destino-card:nth-child(2) { animation-delay: 0.15s; }
.destino-card:nth-child(3) { animation-delay: 0.2s; }
.destino-card:nth-child(4) { animation-delay: 0.25s; }
.destino-card:nth-child(5) { animation-delay: 0.3s; }
.destino-card:nth-child(6) { animation-delay: 0.35s; }

/* Responsive */
@media (max-width: 1024px) {
    .destinos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .destinos-hero {
        height: 40vh;
        min-height: 300px;
    }

    .destinos-hero-title {
        font-size: 2.5rem;
    }

    .destinos-hero-subtitle {
        font-size: 1.1rem;
    }

    .destinos-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .destinos-hero-title {
        font-size: 2rem;
    }

    .destino-footer {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .destino-btn {
        width: 100%;
        text-align: center;
    }
}
