/* G-TECH V9.2 CSS - Mobil Uyumlu + Tab Düzeltmesi */
.gtech-configurator-wrapper * { box-sizing: border-box; margin: 0; padding: 0; }
.gtech-configurator-wrapper { display: flex; max-width: 1400px; margin: 20px auto; background: #fff; border-radius: 12px; box-shadow: 0 4px 25px rgba(0,0,0,0.12); overflow: hidden; font-family: 'Segoe UI', sans-serif; min-height: 700px; }

.gtech-control-panel { width: 280px; min-width: 280px; background: linear-gradient(180deg, #1a1a2e, #16213e); color: #fff; padding: 18px; overflow-y: auto; }
.gtech-panel-title { font-size: 16px; font-weight: 600; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #e94560; }
.gtech-section { margin-bottom: 16px; }
.gtech-section-title { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.gtech-slider-group { margin-bottom: 12px; }
.gtech-slider-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; color: #e2e8f0; }
.gtech-slider-label span:last-child { color: #e94560; font-weight: 600; }
.gtech-slider { width: 100%; height: 5px; border-radius: 3px; background: #0f3460; outline: none; -webkit-appearance: none; cursor: pointer; }
.gtech-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #e94560; cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════════════ */
/* RENK VE CAM SEÇİM BUTONLARI - BÜYÜK, BELİRGİN, KOLAY TIKLANIR */
/* ═══════════════════════════════════════════════════════════════════════ */
.gtech-color-buttons { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
}

.gtech-color-btn { 
    min-width: 90px; 
    height: 50px; 
    border-radius: 10px; 
    border: 3px solid rgba(255,255,255,0.2); 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.gtech-color-btn:hover { 
    transform: scale(1.08) translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.5);
}

.gtech-color-btn:active {
    transform: scale(0.95);
}

.gtech-color-btn.active { 
    border-color: #4ade80 !important; 
    box-shadow: 0 0 0 4px rgba(74,222,128,0.4), 0 8px 25px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

.gtech-color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 14px;
    color: #4ade80;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.color-label { 
    font-size: 11px; 
    color: #fff; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Profil Renkleri */
.gtech-color-btn[data-color="anthracite"] { background: linear-gradient(145deg, #4a4a4a, #2d2d2d); }
.gtech-color-btn[data-color="white"] { background: linear-gradient(145deg, #ffffff, #e0e0e0); color: #333; }
.gtech-color-btn[data-color="white"] .color-label { color: #333; text-shadow: none; }
.gtech-color-btn[data-color="black"] { background: linear-gradient(145deg, #1a1a1a, #000000); }

/* Cam Tipleri */
.gtech-color-btn[data-glass="tek_cam"] { 
    background: linear-gradient(145deg, #87CEEB, #5BA3C6); 
    min-width: 100px;
}
.gtech-color-btn[data-glass="cift_cam"] { 
    background: linear-gradient(145deg, #9370DB, #7B5CB8); 
    min-width: 100px;
}

/* Cam Renkleri */
.gtech-color-btn[data-glass-color="clear"] { background: linear-gradient(145deg, #f0f8ff, #d4e8f5); color: #333; }
.gtech-color-btn[data-glass-color="clear"] .color-label { color: #333; text-shadow: none; }
.gtech-color-btn[data-glass-color="blue"] { background: linear-gradient(145deg, #4169E1, #2E4FA8); }
.gtech-color-btn[data-glass-color="smoke"] { background: linear-gradient(145deg, #696969, #4a4a4a); }

.gtech-quote-btn { 
    width: 100%; 
    padding: 16px; 
    margin-top: 15px; 
    background: linear-gradient(135deg, #e94560, #c73659); 
    color: #fff; 
    border: none; 
    border-radius: 12px; 
    font-size: 16px; 
    font-weight: 700; 
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(233,69,96,0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.gtech-quote-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(233,69,96,0.5); 
}

.gtech-view-panel { flex: 1; display: flex; flex-direction: column; background: #f0f2f5; }

/* ═══════════════════════════════════════════════════════════════════════ */
/* YENİ TAB BUTONLARI - 3D EFEKTLİ, GÖRÜNÜR, AÇIKLAYICI */
/* ═══════════════════════════════════════════════════════════════════════ */
.gtech-tabs { 
    display: flex; 
    background: linear-gradient(180deg, #1a1a2e 0%, #0f172a 100%); 
    padding: 12px 15px; 
    gap: 12px;
    border-bottom: 2px solid #e94560;
}

.gtech-tab { 
    flex: 1; 
    padding: 16px 20px; 
    background: linear-gradient(145deg, #2d2d4a, #1a1a2e);
    border: 2px solid #3d3d5c;
    border-radius: 12px;
    color: #94a3b8; 
    font-size: 14px; 
    font-weight: 600; 
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

/* Tab İkon */
.gtech-tab .tab-icon {
    font-size: 28px;
    display: block;
    transition: transform 0.3s ease;
}

/* Tab Ana Başlık */
.gtech-tab .tab-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Tab Alt Açıklama */
.gtech-tab .tab-desc {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
    opacity: 0.8;
}

/* Hover Efekti - 3D Kaldırma */
.gtech-tab:hover { 
    background: linear-gradient(145deg, #3d3d5c, #2d2d4a);
    border-color: #e94560;
    color: #fff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(233,69,96,0.3), 0 4px 10px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.gtech-tab:hover .tab-icon {
    transform: scale(1.15) rotate(-5deg);
}

.gtech-tab:hover .tab-desc {
    color: #e2e8f0;
    opacity: 1;
}

/* Aktif Tab - Parlak ve Belirgin */
.gtech-tab.active { 
    background: linear-gradient(145deg, #e94560, #c73659);
    border-color: #ff6b8a;
    color: #fff;
    box-shadow: 0 8px 20px rgba(233,69,96,0.5), inset 0 2px 0 rgba(255,255,255,0.2);
}

.gtech-tab.active .tab-title,
.gtech-tab.active .tab-desc {
    color: #fff;
    opacity: 1;
}

.gtech-tab.active .tab-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Aktif Tab Animasyonu */
.gtech-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #fff;
    border-radius: 3px 3px 0 0;
    animation: tabPulse 2s infinite;
}

@keyframes tabPulse {
    0%, 100% { opacity: 0.6; width: 60%; }
    50% { opacity: 1; width: 70%; }
}
.gtech-tab-contents { flex: 1; position: relative; }
.gtech-tab-content { display: none; height: 100%; min-height: 600px; overflow-y: auto; }
.gtech-tab-content.active { display: block; }

.gtech-3d-container { width: 100%; height: 100%; min-height: 600px; position: relative; background: #e8ecef; overflow: hidden; }
.webgl-frame { width: 100%; height: 100%; min-height: 600px; border: none; display: block; transform: scale(1.3); transform-origin: center center; }
.gtech-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; color: #1a1a2e; z-index: 10; }
.loading-spinner { width: 40px; height: 40px; border: 4px solid #ddd; border-top-color: #e94560; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 15px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Model Overlay - SADECE 3D TAB'DA GÖRÜNÜR */
.model-info-overlay { position: absolute; top: 15px; left: 15px; background: rgba(26,26,46,0.92); color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 20; min-width: 140px; backdrop-filter: blur(5px); border: 1px solid rgba(233,69,96,0.3); }
.overlay-title { font-size: 18px; font-weight: 700; color: #e94560; margin-bottom: 8px; letter-spacing: 1px; }
.overlay-specs { display: flex; flex-direction: column; gap: 4px; }
.overlay-row { font-size: 12px; color: #e2e8f0; display: flex; align-items: center; gap: 6px; }
.overlay-row span:first-child { font-size: 14px; }

/* Referans Fotoğrafları - Hover Büyütme */
.ref-photos-container { position: absolute; top: 15px; right: 15px; z-index: 100; }
.ref-photos { display: flex; gap: 10px; }
.ref-photo-item { position: relative; width: 80px; height: 55px; border-radius: 10px; overflow: visible; cursor: pointer; border: 2px solid rgba(255,255,255,0.4); transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3); background: #1a1a2e; }
.ref-photo-item > img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: all 0.3s ease; }
.ref-photo-item:hover { border-color: #e94560; transform: scale(1.05); box-shadow: 0 6px 20px rgba(233,69,96,0.4); }

/* Büyük Resim Preview */
.ref-photo-preview { position: absolute; top: 70px; right: 0; width: 350px; height: 250px; background: #1a1a2e; border-radius: 15px; border: 3px solid #e94560; box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 30px rgba(233,69,96,0.3); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.95); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; overflow: hidden; pointer-events: none; }
.ref-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.ref-photo-item:hover .ref-photo-preview { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

/* Preview konumu - soldan sağa doğru konumlandır */
.ref-photo-item:nth-child(1) .ref-photo-preview { right: auto; left: 0; }
.ref-photo-item:nth-child(2) .ref-photo-preview { right: auto; left: 50%; transform: translateX(-50%) translateY(-10px) scale(0.95); }
.ref-photo-item:nth-child(2):hover .ref-photo-preview { transform: translateX(-50%) translateY(0) scale(1); }
.ref-photo-item:nth-child(3) .ref-photo-preview { right: 0; left: auto; }

/* Preview ok işareti */
.ref-photo-preview::before { content: ''; position: absolute; top: -12px; right: 30px; border: 6px solid transparent; border-bottom-color: #e94560; }
.ref-photo-item:nth-child(1) .ref-photo-preview::before { left: 30px; right: auto; }
.ref-photo-item:nth-child(2) .ref-photo-preview::before { left: 50%; right: auto; transform: translateX(-50%); }

/* Referans Modal (eski - backup) */
.ref-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 999999; align-items: center; justify-content: center; cursor: pointer; }
.ref-modal img { max-width: 90%; max-height: 90%; border-radius: 12px; box-shadow: 0 10px 50px rgba(0,0,0,0.5); animation: refZoomIn 0.3s ease; }
@keyframes refZoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* SVG Container */
.gtech-svg-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 20px; background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%); cursor: grab; user-select: none; }
.gtech-svg-container:active { cursor: grabbing; }
#tech-svg { width: 100%; max-width: 800px; min-height: 500px; background: linear-gradient(180deg, #fafbfc 0%, #f0f2f5 100%); border: 1px solid #e0e5eb; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.svg-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 6px; background: #1a1a2e; color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 12px; }
.leg-color { width: 12px; height: 12px; border-radius: 3px; }

/* Malzeme Listesi Tab */
.materials-container { padding: 20px; background: #f8f9fa; min-height: 100%; overflow-y: auto; }
.materials-header { text-align: center; margin-bottom: 25px; }
.materials-header h2 { font-size: 22px; color: #1a1a2e; margin-bottom: 5px; }
.materials-model { font-size: 14px; color: #666; }
.materials-model strong { color: #e94560; }

.mat-category { margin-bottom: 25px; }
.mat-category-title { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #e94560; }

.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }

.mat-card { background: #fff; border-radius: 10px; padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #e5e7eb; transition: all 0.2s; }
.mat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.mat-card-img { width: 100%; height: 120px; background: #f0f2f5; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 32px; overflow: hidden; padding: 8px; }
.mat-card-img img { width: 100%; height: 100%; object-fit: contain; max-width: 100%; max-height: 100%; }
.mat-card-img .no-img { font-size: 28px; color: #94a3b8; }
.mat-card-title { font-size: 12px; font-weight: 500; color: #1a1a2e; margin-bottom: 4px; line-height: 1.3; }
.mat-card-code { font-size: 13px; font-weight: 700; color: #e94560; margin-bottom: 4px; }
.mat-card-gramaj { font-size: 11px; color: #6366f1; font-weight: 600; margin-bottom: 4px; background: #eef2ff; padding: 2px 6px; border-radius: 4px; display: inline-block; }
.mat-card-specs { font-size: 11px; color: #666; margin-bottom: 4px; }
.mat-card-specs span { display: block; margin-bottom: 2px; }
.mat-card-weight { font-size: 14px; font-weight: 700; color: #16a34a; margin-top: 6px; padding-top: 6px; border-top: 1px solid #e5e7eb; }
.mat-card-value { font-weight: 600; color: #e94560; }

.mat-summary { display: flex; justify-content: center; gap: 30px; background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 20px 30px; border-radius: 12px; margin-top: 20px; flex-wrap: wrap; }
.mat-summary-item { text-align: center; }
.mat-sum-icon { font-size: 24px; display: block; margin-bottom: 5px; }
.mat-sum-label { display: block; font-size: 11px; color: #94a3b8; margin-bottom: 3px; }
.mat-sum-value { font-size: 18px; font-weight: 700; color: #4ade80; }

/* Modal */
.gtech-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 99999; overflow-y: auto; padding: 20px; }
.modal-content { background: #fff; border-radius: 15px; max-height: 95vh; overflow-y: auto; position: relative; padding: 25px; }
.modal-large { width: 700px; max-width: 95%; }

/* Form Stilleri */
.quote-grid { display: flex; gap: 25px; flex-wrap: wrap; }
.quote-form-col { flex: 1; min-width: 280px; }
.quote-summary-col { flex: 1; min-width: 280px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: #1a1a2e; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 12px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 14px; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #e94560; box-shadow: 0 0 0 3px rgba(233,69,96,0.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.modal-xlarge { width: 1000px; max-width: 95%; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; background: #f0f0f0; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; }
.modal-close:hover { background: #e94560; color: #fff; }
.modal-content h2 { margin: 0 0 18px; color: #1a1a2e; text-align: center; font-size: 20px; }
.modal-content h3 { margin: 0 0 12px; color: #1a1a2e; font-size: 14px; border-bottom: 2px solid #e94560; padding-bottom: 6px; }
.quote-grid { display: flex; gap: 20px; }
.quote-form-col, .quote-summary-col { flex: 1; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; font-size: 11px; color: #666; margin-bottom: 3px; }
.form-group input, .form-group textarea { width: 100%; padding: 9px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #e94560; }
.submit-btn { width: 100%; padding: 12px; background: linear-gradient(135deg, #4ade80, #22c55e); color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.submit-btn:hover { transform: translateY(-2px); }
.submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.summary-table { width: 100%; font-size: 12px; }
.summary-table td { padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.summary-table td:first-child { color: #666; }
.summary-table td:last-child { font-weight: 600; text-align: right; }

.result-header { text-align: center; margin-bottom: 18px; }
.result-icon { font-size: 45px; }
.result-alu-box { display: flex; justify-content: center; gap: 25px; background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 20px 30px; border-radius: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.alu-item { text-align: center; min-width: 100px; }
.alu-label { display: block; font-size: 11px; color: #94a3b8; margin-bottom: 4px; }
.alu-value { font-size: 22px; font-weight: 700; color: #4ade80; }
.alu-price { color: #f59e0b !important; }
.alu-total { color: #fff !important; }
.result-info { display: flex; gap: 20px; justify-content: center; margin-bottom: 18px; font-size: 13px; flex-wrap: wrap; }
.result-materials { background: #f8f9fa; padding: 18px; border-radius: 10px; margin-bottom: 18px; }
.result-materials h3 { margin: 0 0 12px; font-size: 15px; color: #1a1a2e; }
.mat-section { margin-bottom: 15px; }
.mat-section h4 { font-size: 13px; color: #666; margin-bottom: 8px; }
.mat-table { width: 100%; font-size: 11px; border-collapse: collapse; }
.mat-table th, .mat-table td { padding: 6px 8px; text-align: left; border-bottom: 1px solid #e5e7eb; }
.mat-table th { background: #1a1a2e; color: #fff; font-weight: 500; }
.mat-table tr:nth-child(even) { background: #f8f9fa; }
.mat-small { width: 250px; }
.mat-small td:first-child { color: #666; width: 80px; }
.mat-small td:last-child { font-weight: 600; }
.result-grand { text-align: center; font-size: 20px; font-weight: 700; color: #1a1a2e; padding: 15px; background: linear-gradient(135deg, #4ade80, #22c55e); border-radius: 10px; margin-bottom: 15px; }
.result-grand span { color: #fff; font-size: 26px; }
.result-actions { display: flex; gap: 12px; justify-content: center; }
.btn-print, .btn-close { padding: 10px 25px; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; }
.btn-print { background: #3b82f6; color: #fff; }
.btn-close { background: #94a3b8; color: #fff; }

/* ===================== MOBİL UYUMLULUK ===================== */
@media (max-width: 900px) {
    .gtech-configurator-wrapper { flex-direction: column; min-height: auto; margin: 10px; border-radius: 10px; }
    .gtech-control-panel { width: 100%; min-width: auto; padding: 15px; }
    .gtech-panel-title { font-size: 15px; text-align: center; }
    .gtech-color-buttons { justify-content: center; }
    .gtech-view-panel { min-height: 500px; }
    
    /* Mobil Tab Butonları */
    .gtech-tabs { padding: 10px 10px; gap: 8px; }
    .gtech-tab { 
        padding: 12px 10px; 
        border-radius: 10px;
    }
    .gtech-tab .tab-icon { font-size: 22px; }
    .gtech-tab .tab-title { font-size: 12px; }
    .gtech-tab .tab-desc { font-size: 9px; }
    
    .gtech-3d-container, .webgl-frame { min-height: 450px; }
    .webgl-frame { transform: scale(1.25); }
    .gtech-tab-content { min-height: 450px; }
    
    .model-info-overlay { top: 10px; left: 10px; padding: 10px 12px; }
    .overlay-title { font-size: 15px; }
    .overlay-row { font-size: 11px; }
    
    .ref-photos-container { top: 10px; right: 10px; }
    .ref-photos { gap: 6px; }
    .ref-photo-item { width: 60px; height: 42px; }
    .ref-photo-preview { width: 280px; height: 200px; top: 55px; }
    
    #tech-svg { min-height: 350px; }
    .svg-legend { gap: 8px; }
    .legend-item { padding: 6px 10px; font-size: 11px; }
    
    .materials-container { padding: 15px; }
    .materials-header h2 { font-size: 18px; }
    .mat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mat-card { padding: 10px; }
    .mat-card-img { height: 100px; font-size: 26px; padding: 6px; }
    .mat-card-title { font-size: 12px; }
    .mat-summary { gap: 15px; padding: 15px; }
    .mat-sum-value { font-size: 16px; }
    
    .quote-grid { flex-direction: column; gap: 15px; }
    .modal-content { padding: 18px; }
    .result-alu-box { gap: 15px; padding: 15px; }
    .alu-item { min-width: 80px; }
    .alu-value { font-size: 18px; }
    .result-info { flex-direction: column; gap: 8px; align-items: center; }
    .result-grand { font-size: 16px; }
    .result-grand span { font-size: 22px; }
}

@media (max-width: 500px) {
    .gtech-control-panel { padding: 12px; }
    .gtech-slider-group { margin-bottom: 10px; }
    .gtech-color-btn { min-width: 80px; height: 45px; font-size: 11px; }
    
    /* Küçük Mobil Tab Butonları */
    .gtech-tabs { padding: 8px 8px; gap: 6px; flex-wrap: wrap; }
    .gtech-tab { 
        padding: 10px 8px; 
        border-radius: 8px;
        min-width: calc(33% - 6px);
    }
    .gtech-tab .tab-icon { font-size: 18px; }
    .gtech-tab .tab-title { font-size: 10px; }
    .gtech-tab .tab-desc { font-size: 8px; display: none; }
    
    .gtech-3d-container, .webgl-frame, .gtech-tab-content { min-height: 380px; }
    .webgl-frame { transform: scale(1.2); }
    
    .model-info-overlay { padding: 8px 10px; min-width: 120px; }
    .overlay-title { font-size: 14px; margin-bottom: 5px; }
    .overlay-row { font-size: 10px; }
    
    .ref-photos-container { top: 8px; right: 8px; }
    .ref-photos { gap: 4px; }
    .ref-photo-item { width: 50px; height: 35px; border-width: 1px; }
    .ref-photo-preview { width: 220px; height: 160px; top: 45px; }
    
    .mat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .mat-card { padding: 8px; }
    .mat-card-img { height: 85px; font-size: 22px; padding: 5px; }
    .mat-card-title { font-size: 11px; }
    .mat-card-code { font-size: 9px; }
    .mat-card-specs { font-size: 10px; }
    .mat-summary { flex-direction: column; gap: 12px; }
    
    .legend-item { padding: 5px 8px; font-size: 10px; }
    
    .result-alu-box { flex-direction: column; gap: 10px; }
    .alu-item { min-width: auto; }
    .mat-table { font-size: 10px; }
    .mat-table th, .mat-table td { padding: 4px 5px; }
}
