/* 
ORTAK CSS DOSYASI - COMMON STYLES - OPTIMIZED
Bu dosya hem indoor hem outdoor sayfalar için ortak stilleri içerir
Performance optimized for mobile devices
*/

/* Temel body ve sayfa ayarları - Mobile optimized */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-x pan-y;
}

/* Top Navigation Menu - Mobile responsive */
.top-nav-menu {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    padding: 0;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    /* Mobile performance */
    will-change: transform;
    contain: layout style paint;
}

.nav-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    /* Performance optimizations */
    will-change: background-color, color;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn:last-child {
    border-right: none;
}

.nav-btn:first-child {
    border-radius: 25px 0 0 25px;
}

.nav-btn:last-child {
    border-radius: 0 25px 25px 0;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-btn:hover {
    color: white;
    transform: translateY(-1px);
}

.nav-btn:hover::before {
    opacity: 0.1;
}

.nav-btn.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.nav-btn.active::before {
    opacity: 1;
}

.nav-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* PhotoSphere Viewer Base Styles - ORTAK */
.psv-navbar {
    background: rgba(40, 44, 52, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 25px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    padding: 8px !important;
    z-index: 200 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

.psv-navbar-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 8px 12px !important;
    margin: 2px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    backdrop-filter: blur(5px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 40px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.psv-navbar-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.psv-navbar-button:hover::before {
    left: 100%;
}

.psv-navbar-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

.psv-navbar-button.psv-navbar-button--active {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    border-color: #007bff !important;
}

.psv-navbar-button.psv-navbar-button--active:hover {
    background: linear-gradient(135deg, #0056b3, #004085) !important;
    transform: translateY(-3px) !important;
}

/* Panorama Container */
#panorama {
    width: 100%;
    height: 100%;
}

/* Startup Info */
.startup-info {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

.startup-info.fade-out {
    opacity: 0;
}

/* Logo */
.logo-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.logo {
    width: 100px;
    height: auto;
}

/* OZKHAN Logo - sabit geliştirici markası, sol alt */
.ozkhan-logo-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.ozkhan-logo {
    width: 90px;
    height: auto;
}

/* Quality Button Base Styling - ORTAK */
.quality-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    text-align: center;
    min-width: 160px;
}

/* Quality Menu Container - ORTAK */
.quality-menu-outdoor,
.quality-menu-indoor {
    position: fixed !important;
    top: 80px !important; /* Outdoor ve Indoor için ortak konum */
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 0 !important;
    z-index: 999 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 0 !important;
    border-radius: 25px !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    width: 320px !important;
}

.quality-btn:last-child {
    border-right: none;
}

.quality-btn:first-child {
    border-radius: 25px 0 0 25px;
}

.quality-btn:last-child {
    border-radius: 0 25px 25px 0;
}

.quality-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.quality-btn:hover {
    color: white;
    transform: translateY(-1px);
}

.quality-btn:hover::before {
    opacity: 0.1;
}

.quality-btn.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.quality-btn.active::before {
    opacity: 1;
}

.quality-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}
.quality-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-btn:last-child {
    border-right: none;
}

.quality-btn:first-child {
    border-radius: 25px 0 0 25px;
}

.quality-btn:last-child {
    border-radius: 0 25px 25px 0;
}

.quality-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.quality-btn:hover {
    color: white;
    transform: translateY(-1px);
}

.quality-btn:hover::before {
    opacity: 0.1;
}

.quality-btn.active {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.quality-btn.active::before {
    opacity: 1;
}

.quality-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Panorama container - ORTAK */
#panorama {
    width: 100%;
    height: 100%;
}

/* Logo - ORTAK */
.logo-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.logo {
    width: 100px;
    height: auto;
}

/* Loading Screen - ORTAK */
.resolution-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.resolution-loading.visible {
    opacity: 1;
    visibility: visible;
}
/* Gallery Modal Position - PhotoSphere Override */
.psv-gallery-container {
    
 
   position: relative !important;
    top: 10% !important;        
    left: 5% !important;
    right: 5% !important;
   
  
}



.loading-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-logo {
    width: 120px;
    height: auto;
    z-index: 2;
    position: relative;
}

.loading-spinner-ring {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 160px !important;
    height: 160px !important;
    margin-top: -80px !important;
    margin-left: -80px !important;
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 3px solid #007bff !important;
    border-radius: 50% !important;
    animation: spin 1.5s linear infinite !important;
    z-index: 1 !important;
}

/* Startup Info - ORTAK */
.startup-info {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

.startup-info.fade-out {
    opacity: 0;
}

/* ORTAK Animasyonlar */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ORTAK PhotoSphere Viewer Base Styles */
.psv-navbar {
    background: rgba(40, 44, 52, 0.01) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 25px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3) !important;
    padding: 1px !important;
    z-index: 200 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    min-height: 50px !important;
    /* Ortak margin ayarları */
    margin: 0 20px 20px 20px !important;
    max-width: calc(100vw - 40px) !important;
}

.psv-navbar-button {
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    margin: 4px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
}

.psv-navbar-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: -1 !important;
}

.psv-navbar-button:hover::before {
    opacity: 1 !important;
}

.psv-navbar-button:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.psv-navbar-button.psv-navbar-button--active {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4) !important;
}

.psv-navbar-button.psv-navbar-button--active:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5) !important;
}

/* Debug Panel Styling - ORTAK */
.debug-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.95);
    color: #00ff00;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    z-index: 2000;
    display: none;
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    min-width: 280px;
    max-width: 350px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.debug-panel.visible {
    display: block;
}

.debug-panel.collapsed .debug-content {
    display: none;
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 255, 0, 0.1);
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    cursor: pointer;
    user-select: none;
}

.debug-title {
    font-weight: bold;
    font-size: 13px;
    color: #00ff00;
}

.debug-toggle {
    background: none;
    border: none;
    color: #00ff00;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.debug-toggle:hover {
    background: rgba(0, 255, 0, 0.1);
}

.debug-content {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.debug-section {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.debug-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.debug-section h4 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.debug-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0;
    line-height: 1.4;
}

.debug-label {
    color: #cccccc;
    font-size: 10px;
    min-width: 100px;
}

.debug-value {
    color: #00ff00;
    font-weight: bold;
    font-size: 11px;
    text-align: right;
    flex: 1;
    margin-left: 10px;
}

.debug-unit {
    color: #888888;
    font-size: 9px;
    margin-left: 5px;
    min-width: 25px;
}

.debug-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.debug-btn {
    flex: 1;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.debug-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
}

/* Model Viewer Toggle - ORTAK */
.model-viewer-toggle {
    position: fixed;
    top: 150px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.model-viewer-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Model Viewer Panel - ORTAK */
.model-viewer-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-viewer-panel.active {
    opacity: 1;
    visibility: visible;
}

.model-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.model-viewer-content {
    position: relative;
    z-index: 2;
    width: 95vw;
    height: 90vh;
    max-width: 1400px;
    max-height: 900px;
    background: rgba(26, 26, 46, 0.95);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Floor Plans Container - ORTAK */
.floor-plans-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
}

.floor-plans-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.floor-plans-grid {
    display: grid;
    gap: 20px;
    flex: 1;
    align-content: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    place-items: center;
}

.floor-plan-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    max-width: 360px;
    min-height: 400px;
}

.floor-plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.floor-plan-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.floor-plan-info {
    padding: 25px;
    color: white;
}

.floor-plan-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #fff;
}

.floor-plan-info p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.apartment-type-section {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.apartment-type-header h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    letter-spacing: 0.5px;
}

.apartment-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 10px;
}

.apartment-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.coming-soon {
    opacity: 0.6;
    pointer-events: none;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.coming-soon-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.visit-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Compass Plugin - TAMAMEN DEVRE DIŞI BIRAKILDI */
/* Tüm compass ve navigation öğeleri kapandı */
.psv-map-compass,
.psv-compass,
[class*="compass"],
/* Google Fonts Navigation İkonu */
.material-symbols-outlined[style*="navigation"],
.material-symbols-outlined:contains("navigation"),
/* Map Plugin North/Compass Button */
.psv-map [title*="north"],
.psv-map [title*="North"],
.psv-map [title*="compass"],
.psv-map [title*="Compass"],
.psv-map [aria-label*="north"],
.psv-map [aria-label*="North"],
.psv-map [aria-label*="compass"],
.psv-map [aria-label*="Compass"],
/* SVG Compass Icons */
.psv-map svg[style*="compass"],
.psv-map svg[class*="compass"],
.psv-map .psv-map__toolbar,
/* Map Plugin Button - İlk buton genellikle compass/north */
.psv-map__button:first-child,
/* Navigation SVG ve Iconları */
svg[style*="navigation"],
[class*="navigation"][class*="icon"],
/* Ekstra güvenlik - tüm navigation elementleri */
*[title*="navigation"],
*[aria-label*="navigation"],
*[data-tooltip*="compass"],
*[data-tooltip*="north"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    z-index: -9999 !important;
}

/* Model Viewer Lazy Loading System */
.model-viewer-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    z-index: 10;
}

/* Model Viewer GLB Model Size Fix */
model-viewer {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    --poster-color: transparent !important;
    --progress-bar-color: #007bff !important;
}

model-viewer::part(default-progress-bar) {
    background-color: #007bff;
}

/* Model Viewer Container'ı tam boyut yap */
.model-viewer-content model-viewer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* Mobile Responsive - Enhanced performance optimizations */
@media (max-width: 768px) {
    .quality-menu-outdoor,
    .quality-menu-indoor {
        top: 75px !important;
        max-width: 85% !important;
        width: auto !important;
        padding: 2px !important;
        border-radius: 15px !important;
    }
    
    .quality-btn {
        font-size: 10px !important;
        padding: 8px 12px !important;
        min-width: 120px !important;
        border-radius: 12px !important;
    }
    
    .psv-navbar {
        margin: 0 10px 35px 10px !important; /* Alttan biraz yukarı çıkar */
        max-width: calc(100vw - 20px) !important;
        padding: 8px !important;
        border-radius: 15px !important;
        top: auto !important; /* Üst pozisyonu iptal et */
        bottom: 0 !important; /* Altta konumlandır */
    }
    
    .top-nav-menu {
        top: 5px !important;
        padding: 2px !important;
        border-radius: 15px !important;
    }
    
    /* Gyroscope butonu her zaman görünür olsun */
    .psv-navbar-button[data-psv-button="gyroscope"] {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-btn {
        padding: 8px 12px !important;
        font-size: 10px !important;
    }
    
    /* Mobile performance optimizations */
    * {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

@media (max-width: 480px) {
    .quality-menu-outdoor,
    .quality-menu-indoor {
        top: 70px !important;
        max-width: 95% !important;
    }
    
    .quality-btn {
        font-size: 10px !important;
        padding: 10px 16px !important;
        min-width: 140px !important;
    }
    
    .psv-navbar {
        margin: 0 10px 25px 10px !important;
        max-width: calc(100vw - 20px) !important;
    }
}

/* 
===========================================
OUTDOOR NAVIGATION MARKERS - DIS MEKAN NAVIGASYON HOTSPOTLARI
===========================================
Outdoor sanal turda panoramalar arası geçiş için navigation hotspot'ları
*/

.outdoor-navigation:hover {
    background: rgba(40, 167, 69, 1) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

.outdoor-navigation .hotspot-label {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Outdoor navigation marker'ları için animation */
@keyframes outdoorPulse {
    0% { 
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.5), 0 0 0 0 rgba(40, 167, 69, 0.7); 
    }
    50% { 
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.5), 0 0 0 8px rgba(40, 167, 69, 0); 
    }
    100% { 
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.5), 0 0 0 0 rgba(40, 167, 69, 0); 
    }
}

.outdoor-navigation {
    animation: outdoorPulse 2s infinite;
}

/* Outdoor tooltip özelleştirmesi */
.custom-outdoor-tooltip {
    z-index: 999999 !important;
}

.custom-outdoor-tooltip .psv-tooltip-content {
    max-width: 300px !important;
    border-radius: 12px !important;
    border: 2px solid rgba(40, 167, 69, 0.3) !important;
}
