/* ============================================
   PÁGINA DE DESTINOS - ESTILOS
   ============================================ */

/* HERO SECTION */
.destinos-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(0, 191, 165, 0.9) 0%, rgba(26, 35, 126, 0.9) 100%),
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* FILTROS SECTION */
.filters-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-group h3 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group h3 i {
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-select:hover {
    border-color: var(--primary-color);
}

/* RESULTADOS INFO */
.destinos-grid-section {
    padding: 3rem 0 4rem;
    background: #f8f9fa;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.results-info p {
    font-size: 1rem;
    color: var(--text-gray);
}

.results-info span {
    font-weight: 600;
    color: var(--primary-color);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: var(--text-gray);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.view-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* GRID DE DESTINOS */
.destinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    transition: all 0.3s ease;
}

.destinos-grid.list-view {
    grid-template-columns: 1fr;
}

.destino-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.5s ease;
}

.destino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.destino-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.destino-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destino-card:hover .destino-card-image img {
    transform: scale(1.1);
}

.destino-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.destino-favorite {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: #ff6b6b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.destino-favorite:hover {
    transform: scale(1.1);
}

.destino-favorite.active {
    background: #ff6b6b;
    color: white;
}

.destino-card-content {
    padding: 1.5rem;
}

.destino-location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.destino-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.destino-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.destino-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.destino-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.destino-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFB800;
    font-weight: 600;
}

.destino-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.destino-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-gray);
}

.destino-card-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.btn-view-details,
.btn-book-now {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-view-details {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-view-details:hover {
    background: var(--primary-color);
    color: white;
}

.btn-book-now {
    background: var(--gradient-primary);
    color: white;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.3);
}

/* LIST VIEW */
.destinos-grid.list-view .destino-card {
    display: flex;
    flex-direction: row;
}

.destinos-grid.list-view .destino-card-image {
    width: 350px;
    height: auto;
    min-height: 250px;
}

.destinos-grid.list-view .destino-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destinos-grid.list-view .destino-card-content {
    flex: 1;
}

.destinos-grid.list-view .destino-card-footer {
    justify-content: flex-end;
}

/* NO RESULTS */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.no-results i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* LOAD MORE */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 191, 165, 0.3);
}

/* INSPIRATION SECTION */
.inspiration-section {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.inspiration-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.inspiration-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.inspiration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inspiration-card:hover img {
    transform: scale(1.1);
}

.inspiration-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem;
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.inspiration-card:hover .inspiration-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.inspiration-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.inspiration-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.btn-inspiration {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
}

.inspiration-card:hover .btn-inspiration {
    opacity: 1;
    transform: translateY(0);
}

.btn-inspiration:hover {
    transform: translateX(5px);
}

/* NEWSLETTER SECTION */
.newsletter-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 3px solid rgba(255, 255, 255, 0.3);
}

.btn-subscribe {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-subscribe:hover {
    background: #FF5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .filters-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .destinos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .destinos-grid.list-view .destino-card {
        flex-direction: column;
    }

    .destinos-grid.list-view .destino-card-image {
        width: 100%;
        height: 250px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .filters-section {
        padding: 2rem 0 1rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .results-info {
        flex-direction: column;
        gap: 1rem;
    }

    .destinos-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .inspiration-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-subscribe {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .filters-container {
        padding: 1.5rem;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .destino-card-content {
        padding: 1rem;
    }

    .destino-name {
        font-size: 1.2rem;
    }

    .btn-load-more {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}
