:root { --primary: #e74c3c; --bg: #0a0a0a; --card-bg: rgba(255,255,255,0.05); }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }
body { background-color: var(--bg); color: white; overflow-x: hidden; transition: background-color 0.8s ease; }
.main-container { display: grid; grid-template-rows: 40vh 1fr; min-height: 100vh; position: relative; }
.hero-header { position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.hero-header video { position: absolute; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.header-content { position: relative; z-index: 2; text-align: center; }
.header-content h1 { font-size: 3rem; font-weight: 900; letter-spacing: 10px; text-transform: uppercase; }
.header-content h1 span { color: var(--primary); }

/* WIDGETLAR VE SAAT */
.top-widgets { position: absolute; top: 10vh; width: 100%; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; z-index: 100; left: 0; }
.dashboard-clock { display: flex; gap: 10px; }
.gauge { width: 60px; height: 60px; background: #111; border-radius: 50%; border: 2px solid #333; position: relative; box-shadow: inset 0 0 10px rgba(0,0,0,0.8); }
.gauge.main-gauge { width: 75px; height: 75px; border-color: #555; }
.needle { width: 2px; height: 25px; background: var(--primary); position: absolute; bottom: 50%; left: calc(50% - 1px); transform-origin: bottom center; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 5px var(--primary); }
.gauge.main-gauge .needle { height: 32px; background: #fff; box-shadow: 0 0 5px #fff; }
.gauge .label { position: absolute; bottom: 8px; width: 100%; text-align: center; font-size: 0.5rem; color: #888; font-weight: bold; }
.auth-area { display: flex; align-items: center; gap: 20px; position: relative; }
.bell-icon { position: relative; font-size: 1.8rem; cursor: pointer; transition: 0.3s; }
.bell-icon:hover { transform: scale(1.1) rotate(10deg); }
.bell-badge { position: absolute; top: -5px; right: -5px; background: var(--primary); color: white; font-size: 0.7rem; font-weight: bold; width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 2px solid #0a0a0a;}
.user-btn { width: 50px; height: 50px; background: #1a1a1a; border: 2px solid var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; font-size: 1.2rem; transition: 0.3s; overflow: hidden;}
.user-btn:hover { border-color: white; transform: scale(1.1); }
.login-dropdown { position: absolute; top: 60px; right: 0; width: 280px; background: rgba(15, 15, 15, 0.95); padding: 20px; border-radius: 12px; border: 1px solid #333; display: none; backdrop-filter: blur(10px); box-shadow: 0 15px 30px rgba(0,0,0,0.9); }
.login-dropdown.show { display: block; }
.login-dropdown h3 { margin-bottom: 15px; text-align: center; border-bottom: 1px solid #333; padding-bottom: 10px; }
.login-dropdown input { width: 100%; padding: 10px; margin-bottom: 10px; background: #000; border: 1px solid #444; color: white; border-radius: 5px; outline: none; }
.login-dropdown input:focus { border-color: var(--primary); }

/* GARAJ VE MODELLER */
.brand-section { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 20px; padding: 50px 10%; }
.brand-card { background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 20px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: 0.4s ease; backdrop-filter: blur(5px); position: relative; height: 140px; }
.brand-card:hover { transform: translateY(-8px); border-color: white; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.brand-logo { width: 70px; height: 70px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); transition: 0.3s; }
.brand-card span { font-weight: bold; letter-spacing: 1px; font-size: 0.9rem; text-transform: uppercase; text-align: center; }
.edit-badge { position: absolute; top: 5px; right: 5px; background: rgba(0,0,0,0.8); border: 1px solid #fff; border-radius: 50%; width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; z-index: 10; font-size: 0.85rem;}
.edit-badge:hover { background: #f39c12; border-color: #f39c12; transform: scale(1.1); }
.delete-btn { flex: 1; padding: 12px; background: #c0392b; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; display: none; transition: 0.3s; }
.delete-btn:hover { background: #962d22; }

/* SAYFA KATMANLARI */
.page-layer { position: fixed; top: 0; left: 100%; width: 100%; height: 100%; background: var(--bg); z-index: 2000; transition: left 0.6s cubic-bezier(0.77, 0, 0.175, 1); }
.page-layer.active { left: 0; }
.page-scroll { width: 100%; height: 100%; overflow-y: auto; padding-bottom: 50px; }
.brand-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 100px 10% 50px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); min-height: 50vh;}
.brand-info h2 { font-size: 5rem; text-transform: uppercase; margin-bottom: 20px; line-height: 1; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.brand-info p { color: #ddd; font-size: 1.1rem; line-height: 1.8; }
.brand-img-box img { width: 100%; border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); object-fit: cover; border: 1px solid rgba(255,255,255,0.1); }
.models-section { padding: 50px 10%; background: rgba(0,0,0,0.6); min-height: 50vh; }
.models-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.models-header-row h3 { font-size: 2.5rem; text-transform: uppercase; border-left: 5px solid #fff; padding-left: 15px; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.model-card { background: #111; border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 20px rgba(0,0,0,0.5); position: relative; }
.model-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.5); box-shadow: 0 15px 30px rgba(0,0,0,0.8); }
.model-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid #222; }
.model-details { padding: 20px; }
.model-details h4 { font-size: 1.5rem; margin-bottom: 10px; }
.model-mini-specs { display: flex; justify-content: space-between; color: #aaa; font-size: 0.85rem; border-top: 1px solid #222; padding-top: 10px; }
.model-mini-specs span b { color: #fff; }
.model-hero-box { position: relative; width: 100%; height: 50vh; border-bottom: 1px solid #333; }
.model-hero-box img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, #0a0a0a, transparent); }
#modelDetailTitle { position: absolute; bottom: 20px; left: 10%; font-size: 5rem; text-transform: uppercase; z-index: 10; text-shadow: 0 5px 20px rgba(0,0,0,0.9); }
.tech-specs-container { padding: 50px 10%; display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.tech-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 25px; transition: 0.3s; }
.tech-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }
.tech-card h3 { color: var(--primary); margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; text-transform: uppercase; font-size: 1.3rem; }
.tech-list { list-style: none; }
.tech-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #222; font-size: 0.95rem; color: #aaa; }
.tech-list li b { color: #fff; text-align: right; max-width: 60%; }
.gallery-section { padding: 0 10% 50px; }
.gallery-section h3 { color: var(--primary); margin-bottom: 20px; text-transform: uppercase; border-bottom: 1px solid #333; padding-bottom: 10px; font-size: 1.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.gallery-grid img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.05); border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.8); }

/* YORUM ALANI VE ÇÖP KUTUSU */
.comments-section { padding: 50px 10%; background: #0a0a0a; border-top: 1px solid #222; }
.comments-section h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary); border-bottom: 1px solid #333; padding-bottom: 10px; }
.comment-input-area { display: flex; gap: 15px; margin-bottom: 40px; }
.comment-input-area textarea { flex: 1; padding: 15px; background: #111; border: 1px solid #333; color: white; border-radius: 10px; resize: vertical; min-height: 60px; font-size: 1rem; outline: none; transition: 0.3s; }
.comment-input-area textarea:focus { border-color: var(--primary); }
.comment-input-area button { padding: 0 30px; background: var(--primary); color: white; border: none; border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.comment-input-area button:hover { background: #c0392b; transform: scale(1.05); }
.comment-card { display: flex; gap: 20px; background: rgba(255,255,255,0.02); padding: 20px; border-radius: 12px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; position: relative; }
.comment-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.comment-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid #444; }
.comment-body { flex: 1; }
.comment-header { display: flex; justify-content: space-between; margin-bottom: 8px; align-items: center; padding-right: 40px;}
.comment-author { font-weight: bold; color: #fff; font-size: 1.1rem; display: flex; align-items: center;}
.comment-date { font-size: 0.85rem; color: #777; }
.comment-text { color: #ccc; line-height: 1.6; }
.delete-comment { position: absolute; top: 50%; transform: translateY(-50%); right: 20px; background: transparent; border: none; cursor: pointer; font-size: 1.4rem; filter: grayscale(1); transition: 0.3s; }
.delete-comment:hover { filter: grayscale(0); transform: translateY(-50%) scale(1.2); }

/* SÜRÜCÜ KÜNYESİ */
.profile-hero { display: flex; align-items: center; gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; }
.profile-avatar-wrapper { position: relative; width: 150px; height: 150px; }
.profile-avatar-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.8); }
.avatar-edit-badge { position: absolute; bottom: 5px; right: 5px; background: var(--primary); width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; border: 2px solid #000; font-size: 1.2rem; transition: 0.3s; }
.avatar-edit-badge:hover { transform: scale(1.1); background: #c0392b; }
.profile-title h2 { font-size: 3rem; color: #fff; margin-bottom: 5px; }
.profile-title p { color: #aaa; font-size: 1.1rem; }
.lbl-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.privacy-check { font-size: 0.75rem; color: #888; display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.4); padding: 3px 8px; border-radius: 15px; border: 1px solid #333; }
.privacy-check input { width: auto !important; margin: 0 !important; cursor: pointer; }
.dropdown-input { width: 100%; padding: 12px; background: #000; border: 1px solid #444; color: #fff; border-radius: 8px; outline: none; transition: 0.3s; cursor: pointer; appearance: none; }

/* BİLDİRİM/RAPOR KARTLARI */
.notification-card { background: #111; border-left: 5px solid var(--primary); padding: 20px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.notification-card.unread { background: rgba(231, 76, 60, 0.1); border-left-color: #f1c40f; }
.notif-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; color: #aaa; }
.notif-header b { color: #fff; }
.notif-reason { color: var(--primary); font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }
.notif-desc { color: #ccc; font-style: italic; margin-bottom: 10px; }
.notif-item { background: #000; padding: 10px; border-radius: 5px; border: 1px dashed #333; font-size: 0.9rem; }

/* DİĞER MODALLAR */
.user-table { width: 100%; border-collapse: collapse; }
.user-table th, .user-table td { padding: 15px; border-bottom: 1px solid #333; text-align: left; }
.user-table th { color: var(--primary); font-weight: bold; background: rgba(0,0,0,0.5); }
.user-table tr:hover { background: rgba(255,255,255,0.05); }
.role-select { background: #222; border: 1px solid #444; color: white; padding: 8px; border-radius: 5px; outline: none; cursor: pointer; }
.lightbox-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 9999; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.lightbox-overlay.active { display: flex; animation: fadeIn 0.3s; }
.lightbox-overlay img { max-width: 90%; max-height: 90vh; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.9); object-fit: contain; }
.lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 3rem; color: white; cursor: pointer; transition: 0.3s; }
.lightbox-close:hover { color: var(--primary); transform: scale(1.1); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: white; cursor: pointer; padding: 20px; transition: 0.3s; user-select: none; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--primary); transform: translateY(-50%) scale(1.2); }
.back-btn { position: absolute; top: 30px; left: 30px; z-index: 2500; padding: 12px 25px; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); border: 1px solid #fff; color: #fff; border-radius: 30px; cursor: pointer; transition: 0.3s; font-weight: bold; }
.back-btn:hover { background: #fff; color: #000; }
.add-model-btn { background: #27ae60; border: none; color: white; padding: 12px 25px; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.add-model-btn:hover { background: #2ecc71; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); z-index: 9000; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.form-container { background: #111; padding: 40px; border-radius: 20px; width: 500px; max-width: 95%; max-height: 90vh; overflow-y: auto; border: 1px solid #333; box-shadow: 0 20px 50px rgba(0,0,0,0.9); }
.form-container h2 { color: #fff; margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-group { flex: 1; margin-bottom: 15px; }
.form-group label { display: block; color: #aaa; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; background: #000; border: 1px solid #444; color: #fff; border-radius: 8px; outline: none; transition: 0.3s;}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group input[type="file"] { padding: 9px; background: #222; cursor: pointer; }
.form-actions { display: flex; gap: 15px; margin-top: 30px; }
.save-btn { flex: 1; padding: 15px; background: #27ae60; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.save-btn:hover { background: #2ecc71; }
.cancel-btn { flex: 1; padding: 15px; background: #e74c3c; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; }
.cancel-btn:hover { background: #c0392b; }
.specs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
fieldset { border: 1px solid #333; padding: 15px; border-radius: 8px; }
fieldset legend { color: var(--primary); font-weight: bold; padding: 0 5px; }
fieldset input, fieldset select { margin-bottom: 10px; font-size: 0.85rem; }
#loadingScreen { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.95); z-index: 9999; justify-content: center; align-items: center; flex-direction: column;}
#loadingScreen.active { display: flex; }
.spinner { width: 60px; height: 60px; border: 4px solid rgba(255,255,255,0.1); border-top: 4px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; }
#loadingText { color: white; font-weight: 300; }