@import 'https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/core@5/index.css';
@import 'https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/virtual-tour-plugin@5/index.css';
@import 'https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/gallery-plugin@5/index.css';
@import 'https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/markers-plugin@5/index.css';
/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
}

a {
    text-decoration: none;
}

/* --- VARIÁVEIS DE CORES --- */
:root {
    --purple-dark: #1a1459;
    --purple-light: #3c357a;
    --gray-text: #666;
    --border-color: #eaeaea;
}

.navbar {
    background-color: var(--purple-light);;
}

.nav-item a {
    color: #dfdeef;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item a.active {
    color: white;
    border-bottom: 2px solid #ffaa00;
}

.nav-item .btn-top-lock {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    border-radius: 4px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-item .btn-top-lock i {
    margin-right: 5px;
    color: #ffaa00;
}

.header-space {
    position: relative;
    height: 320px;
    background-image: url(https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?auto=format&fit=crop&w=1920&q=80);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 20, 89, 0.9) 0%, rgba(26, 20, 89, 0.2) 100%);
}

.header-content {
    position: relative;
    color: white;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.breadcrumb {
    font-size: 13px;
    color: var(--purple-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.breadcrumb a {
    color: var(--purple-light);
    transition: color 0.3s;
}

.breadcrumb span {
    color: var(--purple-dark);
    font-weight: 700;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}


/* --- CABEÇALHO DO AMBIENTE --- */
.env-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.env-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.env-main-icon {
    font-size: 32px;
    color: var(--purple-dark);
}

.env-text h1 {
    font-size: 24px;
    color: var(--purple-dark);
    font-weight: 700;
    margin-bottom: 2px;
}

.env-text p {
    font-size: 13px;
    color: var(--gray-text);
}

.btn-outline-large {
    border: 1px solid var(--purple-light);
    color: var(--purple-light);
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    background-color: transparent;
}

.btn-outline-large:hover {
    background-color: var(--purple-light);
    color: white;
}


/* Carrossel de Miniaturas (Bottom) */
.viewer-carousel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.carousel-arrow {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-text);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.carousel-arrow:hover {
    color: var(--purple-dark);
}

.carousel-track {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribui as thumbs no espaço */
    overflow: hidden;
    gap: 10px;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0.7;
    flex: 1;
}

.carousel-item:hover {
    opacity: 1;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    max-width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.carousel-item.active img {
    border-color: var(--purple-light);
}

.carousel-item span {
    font-size: 11px;
    color: var(--gray-text);
    font-weight: 500;
    text-align: center;
}

.carousel-item.active span {
    color: var(--purple-dark);
    font-weight: 700;
}

/* Container do Visualizador (Imagem e Controles) */
.viewer-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.viewer-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Barra de Metadados Inferior */
.tour-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--hover-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-icon {
    color: var(--purple-light);
    font-size: 24px;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 11px;
    color: var(--gray-text);
    margin-bottom: 2px;
}

.meta-value {
    font-size: 14px;
    color: var(--purple-dark);
    font-weight: 700;
}

.meta-divider {
    width: 1px;
    height: 40px;
    background-color: #dcdcdc;
}

.footer-banner-container {
    padding: 0 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-banner {
    background: linear-gradient(135deg, #241d4f 0%, #3c357a 100%);
    border-radius: 8px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-text .dev-by {
    font-size: 11px;
    color: #aaa5df;
    display: block;
    margin-bottom: 2px;
}

.footer-text h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-text .orange-text {
    color: #f39c12;
}

.footer-text p {
    font-size: 12px;
    color: #ccc8f1;
    margin-top: 2px;
}

.btn-footer {
    border: 1px solid white;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s, color 0.3s;
}

.btn-footer:hover {
    background-color: var(--purple-dark);
    color: #ffffff;
    text-decoration: none;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .carousel-item {
        display: none; /* Esconde alguns itens no tablet */
    }
    .carousel-item:nth-child(-n+4) {
        display: flex;
    }
}

@media (max-width: 768px) {
    

    .env-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .interactive-viewer {
        height: 500px;
    }

    .instruction-overlay {
        width: 90%;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .carousel-item:nth-child(-n+4) {
        display: none;
    }
    .carousel-item:nth-child(-n+2) {
        display: flex; /* Mostra só 2 no mobile */
    }

    .tour-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .meta-divider {
        width: 100%;
        height: 1px;
    }

    .footer-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
    }
}

