/* Stylizacja TYLKO dla strony show.php – wszystko z namespacem .show-page */

.show-page {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 25px;
}

/* BREADCRUMBS */

.show-page .breadcrumbs {
    font-size: 14px;
    color: #777;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.show-page .breadcrumbs a {
    color: #0d6efd;
    text-decoration: none;
}

.show-page .breadcrumbs a:hover {
    text-decoration: underline;
}

.show-page .breadcrumbs .current {
    color: #444;
    font-weight: 600;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* PANORAMA */

#pano-container { 
    width: 100%; 
    height: 65vh; 
    background: #000; 
    position: relative;
}

/* Pływający przycisk powrotu */

.floating-back-btn {
    position: absolute;
    top: 100px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #333 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.floating-back-btn i {
    font-size: 24px;
    line-height: 0;
}

.floating-back-btn:hover {
    background-color: #0099cc;
    color: #fff !important;
    transform: scale(1.1);
}

/* GŁÓWNY UKŁAD KOLUMN */

.show-page .content {
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    align-items: flex-start; 
}

.show-page .col-description { 
    flex: 2; 
    min-width: 350px; 
}

.show-page .col-tech { 
    flex: 0 0 320px; 
}

.show-page .col-map { 
    flex: 1.2; 
    min-width: 300px; 
}

/* META / OPIS */

.show-page .meta-info { 
    margin-bottom: 25px; 
    border-left: 3px solid #0099cc; 
    padding-left: 15px; 
}

.show-page .location-line { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 18px; 
    color: #0099cc; 
    font-weight: 600; 
    margin-bottom: 5px; 
}

.show-page .dates-line { 
    font-size: 13px; 
    color: #888; 
    display: flex; 
    gap: 20px; 
}

.show-page .description-text { 
    line-height: 1.8; 
    color: #444; 
    font-size: 15px; 
    font-weight: 300; 
}

/* TABELA EXIF */

.show-page table.exif { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 13px; 
    border: 1px solid #ddd; 
    background: #fff;
    margin-top: 5px;
}

.show-page table.exif th { 
    background: #f4f4f4 !important; 
    color: #666; 
    font-weight: 600; 
    padding: 8px 12px;
    text-align: right; 
    border: 1px solid #ddd; 
    width: 40%;
    vertical-align: middle;
}

.show-page table.exif td { 
    padding: 8px 12px;
    text-align: left; 
    border: 1px solid #ddd; 
    color: #333; 
    font-weight: 400;
    width: 60%;
    vertical-align: middle;
}

.show-page table.exif tr:hover td {
    background-color: #f9f9f9;
}

/* MAPA */

.show-page .map-panel { 
    width: 100%; 
    height: 350px; 
    border-radius: 8px; 
    border: 1px solid #eee; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

/* LINK DO WYCIECZKI */

.show-page .btn-tour-link {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: transparent !important;
    color: #0d6efd !important;
    padding: 0 !important;
    border: none !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    vertical-align: baseline;
    box-shadow: none !important;
}

.show-page .btn-tour-link:hover {
    opacity: 0.7;
    text-decoration: underline !important;
}

.show-page .btn-tour-link i {
    font-size: 16px;
    color: #448aff;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 992px) {
    .show-page .content {
        flex-direction: column;
    }
    #pano-container {
        height: 50vh;
		margin-bottom:40px;
    }
}

@media (max-width: 576px) {
    #pano-container {
        height: 40vh;
    }
    .show-page .location-line {
        font-size: 16px;
    }
    .show-page .breadcrumbs {
        font-size: 12px;
    }
}
