﻿.campus-wrapper {
    display: flex;
    height: calc(100vh - 70px); /* MasterPage navbar yüksekliğine göre ayarlı */
    overflow: hidden;
    background-color: #f8f9fa;
}
/* SOL LİSTE ALANI */
.campus-sidebar {
    width: 320px;
    background: #ffffff;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.location-group-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    padding: 12px 20px 4px 20px;
    font-weight: 700;
}

.location-btn {
    background: none;
    border: none;
    color: #495057;
    padding: 10px 20px;
    text-align: left;
    width: 100%;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

    .location-btn:hover {
        background: #f8f9fa;
        color: #212529;
        border-left-color: #0d6efd;
    }

    .location-btn.active {
        background: #e7f1ff;
        color: #0a58ca;
        font-weight: 600;
        border-left-color: #0d6efd;
    }
/* MERKEZİ 360° VİZÖR */
.panorama-container {
    flex-grow: 1;
    position: relative;
    height: 100%;
}

#panorama-viewer {
    width: 100%;
    height: 100%;
}
/* SAĞ ALT AKILLI GOOGLE MAPS */
.mini-map-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 220px;
    border-radius: 14px;
    border: 3px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 5;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .mini-map-box:hover {
        width: 400px;
        height: 300px;
    }

#google-maps-element {
    width: 100%;
    height: 100%;
}
#header.header {
    position: fixed !important; /* Sayfa üzerinde bağımsız yüzmesi için */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999 !important; /* 360° panorama vizörünün üstünde kalması için */
    /* Menüyü yukarı fırlatıyoruz. %92 oranında gizliyoruz ki, 
           en tepede 5-6 piksellik çok ince, hissedilmeyen bir tetikleme çizgisi kalsın hacı */
    transform: translateY(-92%);
    /* Yağ gibi akması için modern geçiş efekti */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

    /* 2. FARE EKRANIN EN ÜSTÜNE / MENÜNÜN HİZASINA GELDİĞİNDE AŞAĞI İNDİRME */
    #header.header:hover {
        transform: translateY(0); /* Menü jilet gibi tamamen görünür hale gelir */
        background-color: #ffffff !important; /* Menünün altı artık tamamen beyaz baby! */
        /* Menü beyaz olunca alt taraftaki 360 resminden net ayrılsın diye şık bir derinlik gölgesi */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    }

/* 3. MENÜ GİZLENDİĞİ İÇİN OLUŞAN BOŞLUĞU SIFIRLAYIP SANAL TURU TAM EKRAN YAPMA */
.campus-wrapper {
    height: 100vh !important; /* Ekranın tam %100'ünü kaplasın */
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#header.header::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Menünün altında 15 piksellik görünmez bir hassas algılama alanı oluşturur */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.street-tour-wrapper {
    width: 100%;
    height: min(75vh, 700px);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: #000;
}

.tour-info-panel .btn {
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .street-tour-wrapper {
        height: 70vh;
    }
}