/* CSS para Seção de Passeios e Guias (Tours) */
.tours-section {
    padding: 2rem 0;
    margin-bottom: 2rem;
    width: 100%;
}

.tours-section h2 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* Horizontal Scrolling Grid */
.tours-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 1.5rem 2rem 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100%;
}

/* Ensure cards have fixed width for scrolling */
.tours-grid .tour-card {
    min-width: 300px;
    max-width: 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-light);
    height: 100%;
    /* Uniform height */
}

/* Hover effect */
.tours-grid .tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tours-grid::-webkit-scrollbar {
    height: 8px;
}

.tours-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 0 1.5rem;
}

.tours-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.tours-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Tour Card Internals */
.tour-image {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.tour-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.tour-header h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
    /* Amber */
    font-weight: 700;
    font-size: 0.9rem;
    background: #fffbeb;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
}

.tour-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tour-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.tour-price {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tour-price small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

@media (min-width: 1024px) {

    /* On large screens, ensure it doesn't stretch too wide if few items */
    .tours-grid {
        justify-content: flex-start;
        /* Should alignment start left */
    }
}