/* Estilos adaptados para turistas */
.passeio-card.highlighted {
    border: 2px solid #ea1d2c;
    background-color: #ffe6e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

/* Reset e configurações gerais */
.passeios-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
}

.passeios-grid {
    display: grid;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #0095ae #f1f1f1;
    padding: 1rem 0;
    cursor: grab;
}

.passeios-grid::-webkit-scrollbar {
    height: 6px;
}

.passeios-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.passeios-grid::-webkit-scrollbar-thumb {
    background: #0095ae;
    border-radius: 10px;
}

.passeios-grid::-webkit-scrollbar-thumb:hover {
    background: #007b8f;
}

.passeios-grid:active {
    cursor: grabbing;
}

.passeios-grid.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    user-select: none;
}

/* Card de passeio */
.passeio-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.passeio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 94, 164, 0.15);
}

/* Imagem do passeio */
.passeio-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.passeio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.passeio-card:hover .passeio-image img {
    transform: scale(1.05);
}

/* Badge de categoria */
.categoria-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.categoria-badge img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.categoria-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0092ad;
}

/* Badge de aprovado - NOVO */
.aprovado-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Conteúdo do card */
.passeio-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.passeio-title {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(to right, #005ea4, #0095ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
}

.passeio-agency, .passeio-duration, .passeio-difficulty {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.passeio-agency i, .passeio-duration i, .passeio-difficulty i {
    color: #0095ae;
    width: 12px;
}

.passeio-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.toggle-text {
    color: #005ea4;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
}

.toggle-text:hover {
    text-decoration: underline;
}

.full-text {
    display: none;
}

.passeio-vacancies {
    font-weight: 600;
    background: linear-gradient(to right, #005ea4, #0095ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.passeio-vacancies i {
    background: #0095ae;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #0095ae;
}

/* Rodapé do card */
.passeio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.passeio-btn {
    padding: 0.7rem 1.4rem;
    background: linear-gradient(to right, #005ea4, #0095ae);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.passeio-btn:hover {
    background: linear-gradient(to right, #00508a, #007b8f);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.passeio-price {
    text-align: right;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0092ad;
    margin: 0;
}

.price-info {
    font-size: 0.75rem;
    color: #0092ad;
    margin: 0;
}

/* Mensagem de sem resultados - MELHORADA */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-results i {
    font-size: 3rem;
    color: #0095ae;
    margin-bottom: 1rem;
}

.no-results h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Controles de navegação */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.prev-btn, .next-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0095ae;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    margin: 0 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    width: 12px;
    height: 12px;
    background: #0095ae;
}

.dot:hover {
    background: #999;
}

/* Responsividade */
@media screen and (min-width: 768px) {
    .passeios-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-auto-flow: row;
        overflow-x: visible;
        cursor: default;
    }
    
    .passeio-card {
        cursor: pointer;
    }
}

@media screen and (max-width: 767px) {
    .passeios-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .passeio-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        max-height: 520px;
    }

    .passeio-image {
        height: 160px;
    }

    .carousel-controls {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    
    .prev-btn, .next-btn {
        z-index: 10;
        opacity: 0.9;
    }
    
    .prev-btn:active, .next-btn:active {
        transform: scale(0.95);
    }
}

@media screen and (min-width: 1200px) {
    .passeios-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}