/* CSS EXCLUSIVO: DETALHE DO PACOTE (ESTILO DA FOTO) */

.tour-detail-section {
    padding-top: 100px; /* Espaço para o menu fixo */
    padding-bottom: 60px;
    background-color: var(--bg-dark);
}

.tour-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border: 1px solid #222;
}

/* ESQUERDA: GALERIA */
.tour-gallery {
    flex: 6;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid #222;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 450px;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Barra do Topo (Meses) */
.gallery-top-bar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
}

.months {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.months span.active { color: var(--primary-orange); }
.months .spacer { flex-grow: 1; }
.months span { margin-right: 15px; opacity: 0.5; }
.months span:last-child { margin-right: 0; }

/* Badge Vermelho */
.badge-disponible {
    position: absolute;
    top: 40px; left: 0;
    background-color: #e63946;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ícones Direita Superior */
.gallery-icons {
    position: absolute;
    top: 40px; right: 20px;
    display: flex;
    gap: 10px;
}

.gallery-icons i {
    width: 35px; height: 35px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Slider de Miniaturas */
.thumbnail-slider {
    display: flex;
    align-items: center;
    background-color: #0b0c10;
    padding: 10px;
    height: 120px;
}

.thumb-nav {
    background: #222;
    border: none;
    color: #fff;
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}

.thumb-nav:hover { background: var(--primary-orange); }

.thumbnails-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex-grow: 1;
    margin: 0 10px;
    padding-bottom: 5px;
}

.thumbnails-track::-webkit-scrollbar { height: 4px; }
.thumbnails-track::-webkit-scrollbar-thumb { background: #444; border-radius: 10px; }

.thumb {
    width: 120px; height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: 0.3s;
    flex-shrink: 0;
}

.thumb:hover, .thumb.active {
    opacity: 1;
    border-color: var(--primary-orange);
}


/* DIREITA: INFORMAÇÕES */
.tour-info {
    flex: 4;
    display: flex;
    flex-direction: column;
    /* Fundo listrado bem sutil como na foto, mas escuro */
    background: repeating-linear-gradient(transparent, transparent 29px, rgba(255,255,255,0.02) 29px, rgba(255,255,255,0.02) 30px), var(--card-bg);
}

.info-content {
    padding: 40px;
    flex-grow: 1;
}

.tour-info h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #fff;
}

.tour-info h1 span {
    display: block;
    color: var(--primary-orange);
}

.tour-subtitle {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 30px;
    font-weight: 400;
}

.tour-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.label-title {
    display: block;
    font-size: 10px;
    color: #777;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.location-val {
    font-size: 13px;
    color: #ccc;
    font-weight: 600;
    text-transform: uppercase;
}

.price-col { text-align: right; }
.currency { font-size: 16px; font-weight: 700; color: #fff; display: block;}
.amount { font-size: 32px; font-weight: 800; color: #fff; line-height: 1;}

.tour-stats-row {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
}

.stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.stat-val i { color: #555; margin-left: 5px; cursor: pointer;}

.tour-grade { margin-bottom: 40px; }

.dots {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.dot.filled { background-color: #555; }
.dot.empty { background-color: transparent; border: 1px solid #555; }

/* Botão Fixado Embaixo */
.btn-book {
    background-color: var(--primary-orange);
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.btn-book:hover { background-color: #e66e00; }

/* Responsividade */
@media (max-width: 900px) {
    .tour-container { flex-direction: column; }
    .tour-gallery { border-right: none; border-bottom: 1px solid #333; }
    .main-image-container { height: 300px; }
    .info-content { padding: 30px 20px; }
}