/* Excursões Section */
.excursao-section {
    padding: 40px 0 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: visible;
}

/* Header da seção de excursões */
.excursao-section .section-header {
    margin-bottom: 30px;
}

.excursao-section .section-title {
    margin-bottom: 10px;
}

/* Container de Seções por Mês */
.excursaoes-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    overflow: visible;
}

/* Seção por Mês */
.mes-section {
    margin-bottom: 40px;
    overflow: visible;
}

.mes-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 30px 0;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.mes-titulo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(135deg, #9beb24, #8bd21f);
    border-radius: 2px;
}

/* Container de rolagem horizontal */
.mes-scroll-container {
    position: relative;
    overflow: visible;
    padding: 0 30px;
}

.mes-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 20px 0 40px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #9beb24 #f1f1f1;
}

.mes-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.mes-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.mes-scroll-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #9beb24, #8bd21f);
    border-radius: 4px;
}

.mes-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8bd21f, #7bc11a);
}

/* Botões de navegação */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #9beb24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
    background: #9beb24;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn-left {
    left: 0;
}

.scroll-btn-right {
    right: 0;
}

.scroll-btn i {
    font-size: 1.2rem;
    color: #9beb24;
    transition: color 0.3s ease;
}

.scroll-btn:hover i {
    color: white;
}

/* Card de Excursão - NOVO DESIGN */
.excursao-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.excursao-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Imagem da Excursão */
.excursao-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.excursao-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.excursao-card:hover .excursao-image img {
    transform: scale(1.05);
}

/* Badge de Vagas */
.excursao-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

/* Conteúdo do Card */
.excursao-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.excursao-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Grid de Informações */
.excursao-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.excursao-destination,
.excursao-date,
.excursao-price,
.excursao-vagas {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.excursao-destination i,
.excursao-date i,
.excursao-price i,
.excursao-vagas i {
    color: #9beb24;
    font-size: 0.8rem;
    width: 12px;
}

.excursao-price {
    color: #2c3e50;
    font-weight: 600;
}

/* Descrição */
.excursao-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Botões de Ação */
.excursao-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-details,
.btn-budget {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 36px;
    box-sizing: border-box;
}

.btn-details {
    background: #f8f9fa;
    color: #5a6c7d;
    border: 1px solid #e9ecef;
}

.btn-details:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-budget {
    background: linear-gradient(135deg, #9beb24, #8bd21f);
    color: white;
    box-shadow: 0 2px 8px rgba(155, 235, 36, 0.2);
}

.btn-budget:hover {
    background: linear-gradient(135deg, #8bd21f, #7bc11a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(155, 235, 36, 0.3);
}

/* Mensagem quando não há excursões */
.no-excursao {
    text-align: center;
    padding: 60px 20px;
    color: #5a6c7d;
}

.no-excursao-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-excursao i {
    font-size: 4rem;
    color: #9beb24;
    margin-bottom: 20px;
}

.no-excursao h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.no-excursao p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #5a6c7d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.modal-body {
    padding: 30px;
}

.modal-excursao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.modal-imagem img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5a6c7d;
    font-size: 0.9rem;
}

.info-item i {
    color: #9beb24;
    font-size: 1rem;
    width: 16px;
}

.modal-descricao,
.modal-inclui,
.modal-nao-inclui {
    margin-bottom: 20px;
}

.modal-descricao h4,
.modal-inclui h4,
.modal-nao-inclui h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.modal-descricao p,
.modal-inclui p,
.modal-nao-inclui p {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 20px 30px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-modal {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-secondary {
    background: #f8f9fa;
    color: #5a6c7d;
    border: 1px solid #e9ecef;
}

.btn-modal-secondary:hover {
    background: #e9ecef;
}

.btn-modal-primary {
    background: linear-gradient(135deg, #9beb24, #8bd21f);
    color: white;
}

.btn-modal-primary:hover {
    background: linear-gradient(135deg, #8bd21f, #7bc11a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(155, 235, 36, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .mes-titulo {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .scroll-btn {
        display: none;
    }
    
    .mes-scroll-wrapper {
        padding: 10px 0 30px 0;
    }
    
    .excursao-card {
        width: 260px;
    }
    
    .excursao-content {
        padding: 16px;
    }
    
    .btn-details,
    .btn-budget {
        padding: 8px 10px;
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .modal-excursao {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .mes-titulo {
        font-size: 1.8rem;
        padding-left: 15px;
    }
    
    .mes-titulo::before {
        width: 3px;
        height: 30px;
    }
    
    .excursao-card {
        width: 240px;
    }
    
    .excursao-content {
        padding: 14px;
    }
    
    .btn-details,
    .btn-budget {
        padding: 6px 8px;
        font-size: 0.7rem;
        min-height: 30px;
    }
    
    .excursao-title {
        font-size: 1.1rem;
    }
    
    .excursao-info-grid {
        gap: 6px;
    }
    
    .excursao-destination,
    .excursao-date,
    .excursao-price,
    .excursao-vagas {
        font-size: 0.75rem;
    }
    
    .excursao-description {
        font-size: 0.8rem;
    }
}

/* Galeria de Fotos no Modal */
.modal-galeria {
    width: 100%;
    margin-bottom: 20px;
}

.galeria-principal {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.galeria-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-prev, .galeria-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.galeria-prev:hover, .galeria-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.galeria-prev {
    left: 15px;
}

.galeria-next {
    right: 15px;
}

.galeria-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.galeria-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.galeria-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.galeria-thumbnails::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.galeria-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.thumbnail {
    min-width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #9beb24;
    opacity: 1;
    transform: scale(1.1);
}

/* Responsividade da galeria */
@media (max-width: 768px) {
    .galeria-principal {
        height: 250px;
    }
    
    .galeria-prev, .galeria-next {
        width: 35px;
        height: 35px;
    }
    
    .galeria-prev {
        left: 10px;
    }
    
    .galeria-next {
        right: 10px;
    }
    
    .thumbnail {
        min-width: 50px;
        height: 50px;
    }
}

