/* Ana Stiller */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #333; overflow: hidden; } .hidden { display: none !important; } /* Ana Container */ #gallery-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: transparent; display: flex; z-index: 1000; } /* Orta kısım için arka plan */ #gallery-container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: -1; } /* Paneller */ .panel { background: rgba(30, 30, 46, 0.85); border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; } #left-panel { width: 450px; height: 100vh; overflow-y: auto; border-right: 2px solid rgba(255, 255, 255, 0.1); } #right-panel { width: 400px; height: 100vh; margin-left: auto; overflow-y: auto; border-left: 2px solid rgba(255, 255, 255, 0.1); } /* Panel Header */ .panel-header { padding: 25px; background: linear-gradient(135deg, #ff6b6b, #ee5a52); color: white; text-align: center; border-bottom: 3px solid rgba(255, 255, 255, 0.2); } .panel-header h2 { font-size: 24px; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } /* Arama */ .search-container { position: relative; margin-top: 15px; } #search-input { width: 100%; padding: 12px 40px 12px 15px; border: none; border-radius: 25px; background: rgba(255, 255, 255, 0.9); font-size: 14px; outline: none; transition: all 0.3s ease; } #search-input:focus { background: white; box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); } .search-container i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #666; } /* Filtreler */ .filters { padding: 20px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: white; } .filter-group { margin-bottom: 15px; } .filter-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #e0e0e0; } .filter-group select { width: 100%; padding: 10px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: white; outline: none; transition: all 0.3s ease; } .filter-group select:focus { background: rgba(255, 255, 255, 0.2); box-shadow: 0 0 10px rgba(255, 105, 180, 0.3); } .filter-group select option { background: #2d2d42; color: white; } /* Fiyat Aralığı */ .price-range { display: flex; flex-direction: column; gap: 10px; } .price-range input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); outline: none; appearance: none; } .price-range input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #ff6b6b, #ee5a52); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); } .price-display { text-align: center; font-size: 12px; color: #ccc; } /* Checkbox */ .filter-group input[type="checkbox"] { margin-right: 8px; transform: scale(1.2); } /* Araç Listesi */ .vehicle-list { padding: 15px; max-height: calc(100vh - 300px); overflow-y: auto; } .vehicle-item { background: rgba(255, 255, 255, 0.08); border-radius: 12px; margin-bottom: 12px; padding: 15px; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; backdrop-filter: blur(5px); } .vehicle-item:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2); border-color: rgba(255, 105, 180, 0.3); } .vehicle-item.selected { background: linear-gradient(135deg, rgba(255, 105, 180, 0.2), rgba(255, 105, 180, 0.1)); border-color: #ff69b4; box-shadow: 0 0 20px rgba(255, 105, 180, 0.3); } .vehicle-item h4 { color: white; margin-bottom: 8px; font-size: 16px; } .vehicle-item-details { display: flex; justify-content: space-between; align-items: center; font-size: 14px; } .vehicle-price { color: #4CAF50; font-weight: bold; } .vehicle-stock { color: #ff9800; font-size: 12px; } .vehicle-stock.out-of-stock { color: #f44336; } .vehicle-stock.low-stock { color: #ff9800; } /* Sağ Panel Içeriği */ #right-panel { padding: 20px; color: white; } /* Araç Bilgileri */ .vehicle-info { background: rgba(255, 255, 255, 0.08); border-radius: 15px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.1); } .vehicle-info h3 { color: #ff69b4; margin-bottom: 15px; font-size: 20px; text-align: center; } .vehicle-details { display: flex; flex-direction: column; gap: 10px; } .detail-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .detail-item:last-child { border-bottom: none; } .detail-item .label { font-weight: 500; color: #ccc; } .detail-item .value { font-weight: bold; color: white; } /* Renk Seçimi */ .color-selection { background: rgba(255, 255, 255, 0.08); border-radius: 15px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.1); } .color-selection h4 { color: #ff69b4; margin-bottom: 15px; text-align: center; } .color-section { margin-bottom: 15px; } .color-section label { display: block; margin-bottom: 10px; font-weight: 500; color: #ccc; } .color-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .color-option { width: 35px; height: 35px; border-radius: 50%; cursor: pointer; border: 3px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease; position: relative; } .color-option:hover { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); } .color-option.selected { border-color: #ff69b4; box-shadow: 0 0 20px rgba(255, 105, 180, 0.6); } .color-option::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); opacity: 0; transition: opacity 0.3s ease; } .color-option.selected::after { opacity: 1; } /* Kamera Kontrolleri */ .camera-controls { background: rgba(255, 255, 255, 0.08); border-radius: 15px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.1); } .camera-controls h4 { color: #ff69b4; margin-bottom: 15px; text-align: center; } .camera-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; } .camera-buttons .camera-btn:nth-child(1) { grid-column: 1; grid-row: 2; } .camera-buttons .camera-btn:nth-child(2) { grid-column: 3; grid-row: 2; } .camera-buttons .camera-btn:nth-child(3) { grid-column: 2; grid-row: 1; } .camera-buttons .camera-btn:nth-child(4) { grid-column: 2; grid-row: 3; } .zoom-controls { display: flex; justify-content: space-between; gap: 10px; } .camera-btn { background: linear-gradient(135deg, #667eea, #764ba2); border: none; border-radius: 10px; padding: 12px; color: white; cursor: pointer; transition: all 0.3s ease; font-size: 16px; min-width: 45px; min-height: 45px; } .camera-btn:hover { background: linear-gradient(135deg, #5a6fd8, #6a4190); transform: scale(1.05); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); } .camera-btn:active { transform: scale(0.95); } /* Aksiyon Butonları */ .action-buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; } .action-btn { background: linear-gradient(135deg, #ff6b6b, #ee5a52); border: none; border-radius: 12px; padding: 15px 20px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } .action-btn:hover { background: linear-gradient(135deg, #ff5252, #e53935); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4); } .action-btn:active { transform: translateY(0); } .action-btn.test-drive { background: linear-gradient(135deg, #4CAF50, #45a049); } .action-btn.test-drive:hover { background: linear-gradient(135deg, #45a049, #3e8e41); box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4); } .action-btn.finance { background: linear-gradient(135deg, #2196F3, #1976D2); } .action-btn.finance:hover { background: linear-gradient(135deg, #1976D2, #1565C0); box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4); } .action-btn.favorite { background: linear-gradient(135deg, #ff9800, #f57c00); } .action-btn.favorite:hover { background: linear-gradient(135deg, #f57c00, #ef6c00); box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4); } .action-btn.favorite.favorited { background: linear-gradient(135deg, #e91e63, #c2185b); } /* Şirket Yönetimi */ .management-section { background: rgba(255, 255, 255, 0.08); border-radius: 15px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.1); } .management-section h4 { color: #ff69b4; margin-bottom: 15px; text-align: center; } .management-buttons { display: flex; flex-direction: column; gap: 10px; } .mgmt-btn { background: linear-gradient(135deg, #9c27b0, #7b1fa2); border: none; border-radius: 10px; padding: 12px 15px; color: white; font-size: 14px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; } .mgmt-btn:hover { background: linear-gradient(135deg, #8e24aa, #6a1b9a); transform: translateX(5px); box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3); } /* Kapatma Butonu */ .close-btn { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #f44336, #d32f2f); border: none; color: white; font-size: 20px; cursor: pointer; transition: all 0.3s ease; z-index: 1001; display: flex; align-items: center; justify-content: center; } .close-btn:hover { background: linear-gradient(135deg, #d32f2f, #c62828); transform: scale(1.1); box-shadow: 0 5px 20px rgba(244, 67, 54, 0.4); } /* Modal */ .modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 2000; backdrop-filter: blur(5px); } .modal-content { background: linear-gradient(145deg, #1e1e2e, #2d2d42); border-radius: 20px; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); } .modal-header { background: linear-gradient(135deg, #ff6b6b, #ee5a52); padding: 20px; border-radius: 20px 20px 0 0; display: flex; justify-content: space-between; align-items: center; color: white; } .modal-header h3 { margin: 0; font-size: 20px; } .modal-close { background: none; border: none; color: white; font-size: 24px; cursor: pointer; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.3s ease; } .modal-close:hover { background: rgba(255, 255, 255, 0.2); } .modal-body { padding: 25px; color: white; } /* Satın Alma Modal */ .purchase-summary { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); } .purchase-summary h4 { color: #ff69b4; margin-bottom: 15px; font-size: 18px; } .price-info { display: flex; justify-content: space-between; align-items: center; font-size: 16px; } .price-label { color: #ccc; } .price-value { color: #4CAF50; font-weight: bold; font-size: 18px; } /* Ödeme Yöntemleri */ .payment-methods h4 { color: #ff69b4; margin-bottom: 15px; text-align: center; } .payment-options { display: flex; gap: 15px; margin-bottom: 20px; } .payment-option { flex: 1; background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 15px; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; gap: 10px; } .payment-option:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 105, 180, 0.3); } .payment-option input[type="radio"] { display: none; } .payment-option input[type="radio"]:checked + .payment-icon { color: #ff69b4; } .payment-option input[type="radio"]:checked ~ * { color: #ff69b4; } .payment-option:has(input[type="radio"]:checked) { background: rgba(255, 105, 180, 0.1); border-color: #ff69b4; box-shadow: 0 0 20px rgba(255, 105, 180, 0.2); } .payment-icon { font-size: 24px; color: #ccc; transition: color 0.3s ease; } /* Kredi Modal */ .finance-summary { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); } .finance-summary h4 { color: #ff69b4; margin-bottom: 15px; font-size: 18px; } .finance-options { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; } .finance-input { display: flex; flex-direction: column; gap: 10px; } .finance-input label { color: #ccc; font-weight: 500; } .finance-input input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); outline: none; appearance: none; } .finance-input input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #2196F3, #1976D2); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); } .finance-input select { padding: 10px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: white; outline: none; font-size: 14px; } .finance-input select option { background: #2d2d42; color: white; } #down-payment-display { color: #4CAF50; font-weight: bold; text-align: center; } .finance-summary-info { background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 15px; border: 1px solid rgba(255, 255, 255, 0.1); } .summary-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .summary-item:last-child { border-bottom: none; color: #4CAF50; font-weight: bold; } /* Modal Aksiyonları */ .modal-actions { display: flex; gap: 15px; justify-content: center; } .confirm-btn { background: linear-gradient(135deg, #4CAF50, #45a049); border: none; border-radius: 10px; padding: 12px 25px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex: 1; } .confirm-btn:hover { background: linear-gradient(135deg, #45a049, #3e8e41); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4); } .cancel-btn { background: linear-gradient(135deg, #f44336, #d32f2f); border: none; border-radius: 10px; padding: 12px 25px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex: 1; } .cancel-btn:hover { background: linear-gradient(135deg, #d32f2f, #c62828); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4); } /* Yükleme Ekranı */ .loading { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 3000; color: white; } .spinner { width: 50px; height: 50px; border: 5px solid rgba(255, 255, 255, 0.3); border-top: 5px solid #ff69b4; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Responsive */ @media (max-width: 768px) { #gallery-container { flex-direction: column; } #left-panel, #right-panel { width: 100%; height: 50vh; } .modal-content { width: 95%; margin: 20px; } } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 4px; } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #ff6b6b, #ee5a52); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #ee5a52, #e53935); } /* Animasyonlar */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .vehicle-item { animation: fadeIn 0.3s ease; } .modal-content { animation: fadeIn 0.4s ease; }