/* --- CORE SYSTEM --- */
:root { --main-color: #0078d7; --win-bg: #f0f0f0; --bar-bg: rgba(20, 20, 20, 0.9); }
* { box-sizing: border-box; user-select: none; font-family: 'Segoe UI', sans-serif; }
body { margin: 0; overflow: hidden; background: #000; height: 100vh; width: 100vw; }

/* --- SVG ICON STYLES (Gömülü İkonlar) --- */
.icon-box svg { width: 48px; height: 48px; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }
.desktop-icon-img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }
.icon-box { display: flex; flex-direction: column; align-items: center; width: 80px; padding: 10px; cursor: pointer; border-radius: 5px; transition: 0.2s; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.icon-box:hover { background: rgba(255,255,255,0.15); }
.icon-text { margin-top: 5px; font-size: 13px; text-align: center; }

/* --- BOOT SCREEN --- */
#boot { position: fixed; inset: 0; background: #000; color: #0f0; padding: 20px; font-family: monospace; z-index: 10000; display: flex; flex-direction: column; justify-content: flex-end; }

/* --- LOGIN SCREEN --- */
#login { position: fixed; inset: 0; background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 50%, #16213e 100%); z-index: 9999; display: none; flex-direction: column; align-items: center; justify-content: center; }

.login-time { position: absolute; top: 50px; font-size: 72px; color: white; font-weight: 300; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.login-date { position: absolute; top: 140px; font-size: 22px; color: rgba(255,255,255,0.8); font-weight: 300; }

.login-container { display: flex; flex-direction: column; align-items: center; margin-top: 50px; }
.avatar { width: 96px; height: 96px; background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); border-radius: 50%; margin-bottom: 20px; display: grid; place-items: center; font-size: 48px; font-weight: bold; color: white; letter-spacing: -2px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.login-username { color: white; font-size: 24px; margin-bottom: 20px; font-weight: 400; }

.login-field { background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3); padding: 12px 20px; color: white; border-radius: 8px; text-align: center; width: 280px; outline: none; transition: 0.3s; font-size: 15px; backdrop-filter: blur(10px); }
.login-field::placeholder { color: rgba(255,255,255,0.5); }
.login-field:focus { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); box-shadow: 0 0 20px rgba(255,255,255,0.2); }

.login-submit-btn { margin-top: 8px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: none; background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); color: #fff; cursor: pointer; transition: 0.2s; display: grid; place-items: center; }
.login-submit-btn svg { width: 20px; height: 20px; fill: #fff; }
.login-submit-btn:hover { filter: brightness(1.15); transform: scale(1.06); }
.login-submit-label { margin-top: 10px; color: rgba(255,255,255,0.85); font-size: 13px; }

.login-loading { display: none; flex-direction: column; align-items: center; gap: 16px; margin-top: 50px; }
.login-spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.2); border-top-color: #fff; animation: mkSpin 0.8s linear infinite; }
.login-loading-text { color: rgba(255,255,255,0.85); font-size: 14px; }
@keyframes mkSpin { to { transform: rotate(360deg); } }

.power-menu { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 15px; }
.power-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: 0.3s; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.power-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.power-btn svg { width: 20px; height: 20px; fill: white; }

/* --- DESKTOP --- */
#desktop { position: fixed; inset: 0; background: linear-gradient(135deg, #3a6186, #89253e); display: none; }
.desktop-area { position: relative; padding: 10px; display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 10px; height: calc(100% - 45px); }
.icon-box.dragging { opacity: 0.7; z-index: 50; cursor: grabbing; }

/* --- TASKBAR --- */
#taskbar { position: absolute; bottom: 0; width: 100%; height: 45px; background: var(--bar-bg); backdrop-filter: blur(10px); display: flex; align-items: center; padding: 0 10px; border-top: 1px solid #333; z-index: 9000; }
.start-btn { width: 35px; height: 35px; fill: white; cursor: pointer; transition: 0.2s; padding: 5px; border-radius: 4px; }
.start-btn:hover { background: rgba(255,255,255,0.1); fill: #00aaff; }

/* Taskbar Items */
.task-container { display: flex; gap: 5px; margin-left: 15px; flex-grow: 1; }
.task-item { background: rgba(255,255,255,0.1); color: #ddd; padding: 5px 15px; border-radius: 3px; font-size: 13px; cursor: pointer; border-bottom: 2px solid transparent; display: flex; align-items: center; gap: 5px; }
.task-item:hover { background: rgba(255,255,255,0.2); }
.task-item.active { border-bottom-color: #0078d7; background: rgba(255,255,255,0.15); }

.sys-tray { color: white; font-size: 12px; margin-right: 10px; display: flex; gap: 8px; align-items: center; }
.sys-icon { padding: 5px 8px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 5px; }
.sys-icon:hover { background: rgba(255,255,255,0.15); }
.sys-icon svg { width: 16px; height: 16px; fill: white; }

.battery-icon { cursor: default; }
.battery-shell { position: relative; display: inline-block; width: 22px; height: 11px; border: 1.5px solid rgba(255,255,255,0.8); border-radius: 2px; padding: 1px; }
.battery-shell::after { content: ''; position: absolute; right: -3px; top: 3px; width: 2px; height: 5px; background: rgba(255,255,255,0.8); border-radius: 0 1px 1px 0; }
.battery-fill { display: block; height: 100%; background: #6fcf5d; border-radius: 1px; }
.battery-label { font-size: 12px; font-weight: 600; }

/* --- BİLDİRİMLER --- */
#notif-icon { position: relative; }
.notif-badge { position: absolute; top: 1px; right: 1px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: #e74c3c; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.notif-popup { width: 320px; max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; }
.notif-popup::-webkit-scrollbar { width: 7px; }
.notif-popup::-webkit-scrollbar-track { background: transparent; }
.notif-popup::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.notif-popup::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }
.notif-clear { font-size: 11px; color: #7ab8f5; cursor: pointer; font-weight: 400; }
.notif-clear:hover { text-decoration: underline; }
.notif-item { display: flex; gap: 10px; padding: 10px; border-radius: 6px; margin-bottom: 6px; background: rgba(255,255,255,0.05); }
.notif-item-icon { width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-title { font-size: 13px; font-weight: 600; margin-bottom: 2px; overflow-wrap: break-word; }
.notif-item-text { font-size: 12px; color: #bbb; line-height: 1.4; overflow-wrap: break-word; word-break: break-word; }
.notif-item-time { font-size: 10px; color: #888; margin-top: 4px; }
.notif-empty { text-align: center; color: #888; font-size: 12px; padding: 30px 0; }

/* --- Ekran görüntüsü flaşı --- */
#screenshot-flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 99999; transition: opacity 0.08s ease-out; }
#screenshot-flash.flash { opacity: 0.85; transition: none; }

/* --- Ekran parlaklığı --- */
#brightness-overlay { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 99998; transition: opacity 0.15s ease-out; }

/* Sistem Tepsisi Açılır Menüleri */
.tray-popup { position: absolute; bottom: 50px; right: 10px; width: 300px; background: rgba(30, 30, 30, 0.95); backdrop-filter: blur(15px); border-radius: 8px; border: 1px solid #444; color: white; display: none; z-index: 9100; box-shadow: 0 5px 20px rgba(0,0,0,0.5); padding: 15px; animation: popUp 0.2s ease-out; }
@keyframes popUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.popup-header { font-size: 14px; font-weight: 600; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #444; }
.popup-item { padding: 10px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.popup-item:hover { background: rgba(255,255,255,0.1); }
.popup-item svg { width: 20px; height: 20px; fill: white; }

/* Ses Kaydırıcısı */
.volume-slider { width: 100%; margin: 10px 0; }
.volume-slider input[type="range"] { width: 100%; height: 4px; border-radius: 2px; background: #555; outline: none; -webkit-appearance: none; }
.volume-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #0078d7; cursor: pointer; }
.volume-slider input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #0078d7; cursor: pointer; border: none; }

/* WiFi Ağları */
.wifi-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.wifi-item:hover { background: rgba(255,255,255,0.1); }
.wifi-strength { display: flex; gap: 2px; align-items: flex-end; height: 18px; }
.wifi-bar { width: 3px; background: #666; border-radius: 1px; }
.wifi-bar.active { background: #0078d7; }
.wifi-connected { color: #0078d7; font-size: 11px; }

/* --- RIGHT CLICK MENU --- */
#context-menu { position: fixed; background: #2b2b2b; border-radius: 8px; border: 1px solid #454545; padding: 6px; display: none; z-index: 10000; box-shadow: 0 8px 24px rgba(0,0,0,0.5); width: 240px; color: #eee; font-size: 13.5px; }
.task-ctx-menu { position: fixed; background: #2b2b2b; border-radius: 8px; border: 1px solid #454545; padding: 6px; z-index: 10001; box-shadow: 0 8px 24px rgba(0,0,0,0.5); width: 190px; color: #eee; font-size: 13px; }
.ctx-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 4px; cursor: pointer; text-decoration: none; color: #eee; white-space: nowrap; }
.ctx-item:hover { background: #3a6186; color: #fff; }
.ctx-icon { width: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; opacity: 0.9; }
.ctx-arrow { margin-left: auto; opacity: 0.6; font-size: 12px; }
.ctx-item.ctx-disabled { color: #888; cursor: default; }
.ctx-item.ctx-disabled:hover { background: rgba(255,255,255,0.06); color: #888; }
.ctx-divider { height: 1px; background: #454545; margin: 6px 4px; }

/* --- START MENU --- */
#start-menu { position: absolute; bottom: 50px; left: 10px; width: 600px; height: 500px; background: rgba(30, 30, 30, 0.98); backdrop-filter: blur(20px); border-radius: 12px; border: 1px solid #444; color: white; display: none; z-index: 9100; box-shadow: 0 8px 32px rgba(0,0,0,0.6); transform-origin: bottom left; animation: menuUp 0.2s ease-out; overflow: hidden; }
@keyframes menuUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.menu-container { display: flex; height: 100%; }
.menu-side { width: 60px; background: rgba(0,0,0,0.4); display: flex; flex-direction: column; align-items: center; padding: 15px 0; border-right: 1px solid #444; }
.menu-main { flex: 1; display: flex; flex-direction: column; }
.menu-header { padding: 20px; border-bottom: 1px solid #444; }
.menu-user { display: flex; align-items: center; gap: 12px; }
.menu-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); border-radius: 50%; display: grid; place-items: center; color: white; font-size: 20px; font-weight: bold; overflow: hidden; }
.menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.menu-user-info h3 { margin: 0; font-size: 16px; font-weight: 600; }
.menu-user-info p { margin: 3px 0 0 0; font-size: 12px; color: #aaa; }
.menu-content { flex: 1; overflow-y: auto; padding: 15px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; }
.menu-content::-webkit-scrollbar { width: 7px; }
.menu-content::-webkit-scrollbar-track { background: transparent; }
.menu-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.menu-content::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }
.menu-section { margin-bottom: 20px; }
.menu-section-title { font-size: 11px; text-transform: uppercase; color: #888; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.5px; }
.menu-item { padding: 8px 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; border-radius: 8px; transition: 0.2s; margin-bottom: 2px; }
.menu-item:hover { background: rgba(255,255,255,0.1); }
.menu-item-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.menu-item-icon svg { width: 18px; height: 18px; fill: currentColor; }
.menu-item-icon-img { width: 22px; height: 22px; object-fit: contain; }
.menu-item-text { flex: 1; }
.menu-item-title { font-size: 14px; font-weight: 500; }
.menu-item-desc { font-size: 11px; color: #aaa; margin-top: 2px; }
.menu-footer { padding: 10px; border-top: 1px solid #444; display: flex; gap: 10px; }
.menu-footer-btn { flex: 1; padding: 10px; background: rgba(255,255,255,0.05); border: 1px solid #555; border-radius: 6px; cursor: pointer; transition: 0.2s; text-align: center; font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.menu-footer-btn:hover { background: rgba(255,255,255,0.1); }
.menu-footer-btn svg { width: 16px; height: 16px; fill: white; }
.menu-side-btn { width: 40px; height: 40px; border-radius: 8px; cursor: pointer; transition: 0.2s; display: grid; place-items: center; font-size: 20px; margin-bottom: 10px; }
.menu-side-btn:hover { background: rgba(255,255,255,0.1); }

/* --- WINDOWS --- */
.window { position: absolute; background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); display: flex; flex-direction: column; min-width: 200px; min-height: 100px; border: 1px solid #444; animation: winPop 0.2s cubic-bezier(0.19, 1, 0.22, 1); overflow: hidden; }
@keyframes winPop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.win-header { height: 32px; background: #e1e1e1; border-bottom: 1px solid #ccc; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; cursor: default; }
.win-title { font-size: 13px; color: #333; font-weight: 600; pointer-events: none; }
.win-controls { display: flex; gap: 8px; }
.win-btn { width: 12px; height: 12px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(0,0,0,0.1); }
.btn-close { background: #ff5f57; } .btn-close:hover { background: #e0443e; }
.btn-min { background: #febc2e; }
.btn-max { background: #28c840; }

.win-body { flex-grow: 1; position: relative; background: #fff; overflow: hidden; }

/* --- APP SPECIFIC --- */
/* Calculator */
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto repeat(5, 1fr); gap: 8px; padding: 14px; background: #232323; height: 100%; box-sizing: border-box; }
.calc-screen { grid-column: span 4; background: #141414; border-radius: 8px; padding: 14px 16px 10px; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; overflow: hidden; min-height: 78px; }
.calc-expr { font-family: 'Consolas', 'Courier New', monospace; font-size: 14px; color: #8a8a8a; letter-spacing: 0.5px; min-height: 18px; }
.calc-display { font-family: 'Consolas', 'Courier New', monospace; font-size: 34px; font-weight: 600; color: #fff; letter-spacing: 0.5px; line-height: 1.2; width: 100%; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-btn { border: none; background: #3a3a3a; border-radius: 8px; cursor: pointer; font-size: 19px; transition: 0.1s; text-align: center; color: #fff; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.calc-btn:hover { background: #464646; }
.calc-btn:active { transform: scale(0.94); }
.calc-btn.num { background: #4a4a4a; }
.calc-btn.num:hover { background: #565656; }
.calc-btn.op { background: #3a6186; color: white; font-weight: 600; font-size: 21px; }
.calc-btn.op:hover { background: #457399; }
.calc-btn.func { background: #6b6b6b; color: #fff; font-weight: 600; }
.calc-btn.func:hover { background: #7a7a7a; }
.calc-btn.eq { background: #89253e; color: white; font-size: 22px; }
.calc-btn.eq:hover { background: #9e2c48; }
.calc-btn.zero { grid-column: span 2; }

/* --- SITE (Browser App) --- */
.site-tabs { display: flex; background: #eef1f5; border-bottom: 1px solid #ddd; }
.site-tab { padding: 12px 20px; cursor: pointer; font-size: 13px; font-weight: 600; color: #555; border-bottom: 3px solid transparent; }
.site-tab:hover { background: rgba(0,0,0,0.03); }
.site-tab.active { color: #0078d7; border-bottom-color: #0078d7; background: #fff; }
.site-panel { display: none; padding: 0; overflow-y: auto; height: 100%; background: #fafbfc; }
.site-panel.active { display: block; }
.contact-form label { display: block; font-size: 12px; font-weight: 600; color: #444; margin: 12px 0 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #3a6186; }
.contact-form button { margin-top: 15px; background: #3a6186; color: #fff; border: none; padding: 10px 22px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.contact-form button:hover { background: #2c4d6b; }
.form-msg { margin-top: 10px; font-size: 13px; }

/* --- PRO SITE (Tarayıcı içeriği) --- */
.pro-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #89253e; margin-bottom: 8px; }

.pro-hero { background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); color: #fff; padding: 50px 30px; text-align: center; }
.pro-hero h1 { margin: 0 0 12px; font-size: 30px; font-weight: 800; }
.pro-hero p { margin: 0 auto; max-width: 480px; font-size: 14.5px; color: rgba(255,255,255,0.9); line-height: 1.6; }

.pro-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; padding: 28px; }
.pro-service-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 20px; transition: 0.2s; }
.pro-service-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: #d8dee5; }
.pro-service-icon { width: 44px; height: 44px; border-radius: 10px; background: #eef2f6; color: #3a6186; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pro-service-card h3 { margin: 0 0 6px; font-size: 14.5px; color: #222; }
.pro-service-card p { margin: 0; color: #666; font-size: 12.5px; line-height: 1.5; }

.pro-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding: 34px; align-items: start; }
.pro-about-text h2 { margin: 0 0 14px; font-size: 22px; color: #1c1c1c; }
.pro-about-text p { color: #555; line-height: 1.7; font-size: 13.5px; margin-bottom: 16px; }
.pro-feature-list { list-style: none; padding: 0; margin: 0; }
.pro-feature-list li { padding: 6px 0; font-size: 13px; color: #333; }
.pro-about-stats { display: flex; flex-direction: column; gap: 14px; }
.pro-stat { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 18px; text-align: center; }
.pro-stat strong { display: block; font-size: 24px; color: #3a6186; }
.pro-stat span { font-size: 11.5px; color: #888; text-transform: uppercase; letter-spacing: 0.4px; }

.pro-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; padding: 34px; align-items: start; }
.pro-contact-info h2 { margin: 4px 0 8px; font-size: 22px; color: #1c1c1c; }
.pro-contact-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; font-size: 13.5px; color: #333; text-decoration: none; }
.pro-contact-item--address { align-items: flex-start; line-height: 1.5; }
.pro-contact-item--address .pro-contact-icon { margin-top: 2px; }
.pro-contact-label { color: #999; font-size: 11.5px; }
.pro-contact-map-link { color: #3a6186; font-weight: 600; }
.pro-contact-map-link:hover { background: #eef2f6; border-color: #d8dee5; }
.pro-contact-icon { display: inline-flex; color: #3a6186; }
.pro-contact-form { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 22px; }

/* --- PROJECTS GRID --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 15px; }
.portfolio-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: 0.2s; }
.portfolio-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.portfolio-card-img { height: 120px; background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; }
.portfolio-card-img img { width: 100%; height: 100%; object-fit: contain; background: #1c2b3a; }
.portfolio-card-body { padding: 14px; }
.portfolio-card-body h3 { margin: 0 0 6px; font-size: 15px; color: #222; }
.portfolio-card-body p { margin: 0 0 8px; font-size: 12px; color: #666; }
.portfolio-card-tag { display: inline-block; font-size: 11px; background: #eef1f5; color: #0078d7; padding: 3px 8px; border-radius: 10px; margin-bottom: 8px; }

/* --- FOTOĞRAF GÖRÜNTÜLEYİCİ (gerçek pencere) --- */
.pv-body { height: 100%; display: flex; align-items: center; justify-content: center; position: relative; background: #1c1c1c; overflow: hidden; }
.pv-body img { max-width: 92%; max-height: 88%; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pv-nav:hover { background: rgba(255,255,255,0.2); }
.pv-prev { left: 16px; }
.pv-next { right: 16px; }
.pv-counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); color: #aaa; font-size: 12px; font-family: 'Consolas', monospace; }

/* --- EXPLORER (Projelerim penceresi) --- */
.explorer { display: flex; flex-direction: column; height: 100%; background: #fff; }
.explorer-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f1f3f4; border-bottom: 1px solid #ddd; }
.explorer-back-btn { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: #3a6186; line-height: 1; }
.explorer-back-btn:hover { background: #eef2f6; border-color: #3a6186; }
.explorer-path { flex: 1; display: flex; align-items: center; min-width: 0; background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 8px 14px; font-size: 13px; color: #555; overflow-x: auto; white-space: nowrap; }
.explorer-path-crumb { cursor: pointer; color: #3a6186; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.explorer-path-crumb svg { flex-shrink: 0; }
.explorer-path-crumb:hover { text-decoration: underline; }
.explorer-path-sep { margin: 0 8px; color: #bbb; flex-shrink: 0; }
.explorer-path-current { color: #222; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.explorer-body { flex: 1; overflow-y: auto; padding: 18px; }

.explorer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.explorer-folder { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border-radius: 6px; cursor: pointer; text-align: center; }
.explorer-folder:hover { background: #e8f0fe; }
.explorer-folder-icon svg { width: 48px; height: 48px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.explorer-folder-name { margin-top: 6px; font-size: 12.5px; color: #222; line-height: 1.3; word-break: break-word; }

.explorer-detail { max-width: 720px; margin: 0 auto; }
.explorer-detail-img { height: 320px; border-radius: 8px; background: #1c2b3a; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; overflow: hidden; margin-bottom: 14px; }
.explorer-detail h2 { margin: 4px 0 10px; color: #222; }
.explorer-detail p { color: #555; line-height: 1.6; margin-bottom: 18px; }

.proj-description { margin-bottom: 18px; }
.proj-description p { color: #555; line-height: 1.6; margin: 0 0 16px; }
.proj-description h3 { font-size: 15px; color: #1c1c1c; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.proj-description h3 .h3-dot { width: 6px; height: 6px; border-radius: 50%; background: #0078d7; flex-shrink: 0; }
.proj-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 20px; }
.proj-feature { display: flex; gap: 10px; align-items: flex-start; background: #f7f9fb; border: 1px solid #eef1f5; border-radius: 8px; padding: 12px; }
.proj-feature-icon { width: 26px; height: 26px; border-radius: 6px; background: #eaf3fc; color: #0078d7; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.proj-feature-text { font-size: 13px; color: #444; line-height: 1.45; }
.proj-feature-text strong { display: block; color: #1c1c1c; font-size: 13.5px; margin-bottom: 2px; }
.explorer-thumb-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.explorer-thumb { width: 68px; height: 68px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: 0.15s; }
.explorer-thumb:hover { border-color: #3a6186; transform: scale(1.05); }

/* --- MSN MESSENGER --- */
.msn-window { height: 100%; display: flex; flex-direction: column; background: #fff; font-family: 'Segoe UI', Tahoma, sans-serif; }
.msn-header { background: linear-gradient(180deg, #8bc63f 0%, #5ba62c 100%); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.msn-header-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.msn-icon-img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }
.msn-header-name { font-size: 13px; font-weight: 700; }
.msn-header-status { font-size: 11.5px; opacity: 0.95; margin-top: 2px; }
.msn-search { padding: 8px 12px; font-size: 12px; color: #888; border-bottom: 1px solid #e5e5e5; }
.msn-group { padding: 8px 12px 4px; font-size: 11px; font-weight: 700; color: #5ba62c; text-transform: uppercase; letter-spacing: 0.4px; }
.msn-contact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 0 6px; border-radius: 6px; cursor: pointer; }
.msn-contact:hover { background: #eef7e1; }
.msn-avatar { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 6px; background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd; }
.msn-avatar-dot { position: absolute; bottom: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #5ba62c; border: 2px solid #fff; }
.msn-contact-name { font-size: 13px; font-weight: 600; color: #222; }
.msn-contact-msg { font-size: 11.5px; color: #777; margin-top: 2px; }
.msn-footer { margin-top: auto; padding: 10px 12px; font-size: 11px; color: #999; border-top: 1px solid #e5e5e5; text-align: center; }

/* --- QUOTE TOOL --- */
.quote-body { padding: 32px 36px; height: 100%; overflow-y: auto; background: #fafbfc; }
.quote-body h2 { margin-top: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; color: #1c1c1c; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-group { margin-bottom: 20px; }
.quote-group label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; color: #333; }
.quote-group select, .quote-group input[type="number"] { width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid #ddd; font-size: 14px; background: #fff; }
.quote-group select:focus, .quote-group input:focus { outline: none; border-color: #3a6186; }
.quote-check { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 14px; color: #333; }
.quote-check input[type="checkbox"] { width: 16px; height: 16px; }
.quote-options-box { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; }
.quote-result { margin-top: 22px; padding: 22px; background: linear-gradient(135deg, #3a6186 0%, #89253e 100%); color: #fff; border-radius: 12px; text-align: center; }
.quote-result .amount { font-size: 30px; font-weight: 700; }
.quote-disclaimer { margin-top: 14px; font-size: 12px; color: #888; line-height: 1.6; text-align: center; }

/* --- MOBIL --- */
@media (max-width: 768px) {
    .login-time { font-size: 46px; top: 30px; }
    .login-date { font-size: 15px; top: 84px; }
    .login-container { margin-top: 30px; }
    .avatar { width: 76px; height: 76px; font-size: 36px; }
    .power-menu { display: none; }

    .desktop-area { flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 4px; padding: 8px; }
    .icon-box { width: 72px; padding: 8px 4px; }
    .icon-box svg { width: 38px; height: 38px; }
    .icon-box .msn-icon-img { width: 38px; height: 38px; }
    .icon-box .desktop-icon-img { width: 38px; height: 38px; }
    .icon-text { font-size: 11px; }

    /* Pencereler tam ekran açılır, sürükleme/yeniden boyutlandırma devre dışı kalır */
    .window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100% - 45px) !important;
        border-radius: 0;
    }
    .win-header { height: 44px; }
    .win-title { font-size: 14px; }
    .win-btn { width: 18px; height: 18px; }
    .btn-max { display: none; }

    #start-menu { width: 100%; left: 0; bottom: 45px; height: 70vh; border-radius: 16px 16px 0 0; }
    .menu-container { flex-direction: column; min-height: 0; }
    .menu-side { flex-direction: row; width: 100%; flex: 0 0 auto; padding: 8px 12px; border-right: none; border-bottom: 1px solid #444; }
    .menu-main { min-height: 0; }
    .menu-content { min-height: 0; }

    .tray-popup { width: calc(100vw - 20px); right: 10px; }

    #context-menu { width: 210px; padding: 5px; font-size: 12.5px; }
    .ctx-item { padding: 9px 10px; }

    .task-container { overflow-x: auto; scrollbar-width: none; }
    .task-item span { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .site-tabs { overflow-x: auto; }
    .pro-hero { padding: 34px 20px; }
    .pro-hero h1 { font-size: 22px; }
    .quote-body { padding: 20px; }
    .quote-row { grid-template-columns: 1fr; gap: 0; }

    .explorer-toolbar { padding: 8px 10px; gap: 8px; }
    .explorer-back-btn { padding: 6px 10px; font-size: 12px; }
    .explorer-path { padding: 7px 10px; font-size: 12px; }
    .explorer-path-sep { margin: 0 5px; }
    .pro-services-grid { grid-template-columns: 1fr 1fr; padding: 16px; gap: 10px; }
    .pro-about, .pro-contact { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}
