/* --- classic.css --- */

/* GOTHIC THEME VARIABLES */
:root {
	--Background: #000000;
	--Window: #050505;
	--WindowText: #ff3333; /* Hafif açık kırmızı metin */
	--ButtonFace: #000000; /* Buton yüzeyleri siyah */
	--ButtonText: #ffffff; /* Buton yazıları beyaz */
	--ButtonHilight: #666666; /* Parlak kısımlar gri */
	--ButtonLight: #333333;
	--ButtonShadow: #330000; /* Gölgeler koyu kırmızı */
	--ButtonDkShadow: #1a0000;
	--Hilight: #ff0000; /* Seçim rengi tam kırmızı */
	--HilightText: #000000; /* Seçilen yazı siyah */
    --TitleBarBg: #990000; /* Başlık çubuğu kırmızı */
    --TitleBarText: #ffffff;
}

.desktop {
	background: var(--Background);
    /* Opsiyonel: Dama tahtası veya gürültü deseni ekleyebilirsin */
    background-image: 
        linear-gradient(45deg, #050505 25%, transparent 25%, transparent 75%, #050505 75%, #050505), 
        linear-gradient(45deg, #050505 25%, transparent 25%, transparent 75%, #050505 75%, #050505);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}

.taskbar {
	outline: 1px solid var(--ButtonLight);
	border-top: 1px solid var(--ButtonHilight);
	background: var(--ButtonFace);
	color: var(--ButtonText);
    box-shadow: 0 -2px 10px rgba(255, 0, 0, 0.1);
}

.taskbar-divider {
	border-left: 1px solid var(--ButtonShadow);
	border-right: 1px solid var(--ButtonHilight);
}

.taskbar-time {
	font-family: "Courier New", monospace; /* Daha hacker/retro hava için */
	font-size: 12px;
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 0 5px red;
}

.start-menu {
    border: 2px solid #333;
    border-top-color: #666;
    border-left-color: #666;
    background: #000;
}

.start-menu-titlebar {
	/* Orijinal win98 görseli yerine Goth gradient */
	background-image: linear-gradient(to bottom, #000000, #550000);
	background-color: #000000;
    display: flex;
    align-items: end;
    justify-content: center;
}
/* Titlebar'a dikey yazı eklemek istersen (CSS hack) */
.start-menu-titlebar::after {
    content: "SYSTEM FAILURE";
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    padding-bottom: 10px;
    letter-spacing: 2px;
}

.start-menu li a,
.start-menu .back-link {
	display: block;
	padding: 5px 0;
	color: #ff0000 !important; /* Mavi yerine kırmızı linkler */
    text-decoration: none;
    font-family: monospace;
    text-transform: uppercase;
}
.start-menu li a:hover,
.start-menu .back-link:hover {
    background: #ff0000;
    color: #000 !important;
}

.start-menu li a:before,
.start-menu .back-link:before,
.the-thing-heading:before {
	content: "†"; /* Ok yerine haç veya gothic sembol */
	text-decoration: none;
	display: inline-block;
	margin-right: 5px;
}

.start-menu .back-link:before {
	content: "«"
}

.windows-cant-do-it-you-can {
	margin-top: 2em;
}

/* Taskbar'daki aktif pencereler */
.task {
    background: #000;
    color: #aaa;
    border: 2px solid;
    border-color: #fff #333 #333 #fff; /* 3D effect */
}
.task.selected {
	font-weight: bold;
    background: #200; /* Aktif pencere hafif kırmızı */
    color: #fff;
    border-color: #333 #fff #fff #333; /* Inverted 3D */
    box-shadow: inset 0 0 5px #ff0000;
}

/* Desktop İkonları */
.desktop-icon {
	position: absolute;
	outline: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.folder-view:focus {
	outline: none;
}

/* İkon görünümleri */
.folder-view:not([data-view-mode="DESKTOP"]):not([data-view-mode="LARGE_ICONS"]) .desktop-icon {
	display: flex;
	flex-direction: row;
	width: 150px;
	height: 17px;
    align-items: center;
}

.folder-view[data-view-mode="DESKTOP"] .desktop-icon,
.folder-view[data-view-mode="LARGE_ICONS"] .desktop-icon {
	width: 75px;
	height: 75px;
}

.desktop-icon .title {
	font-family: "MS Sans Serif", "Segoe UI", sans-serif;
	font-size: 8pt;
	background: transparent; /* Arkaplan şeffaf olsun */
	color: #ffffff;
	position: relative;
	box-sizing: border-box;
	display: flex;
    justify-content: center;
    text-shadow: 1px 1px 0 #000;
}

.folder-view[data-view-mode="DESKTOP"] .desktop-icon .title,
.folder-view[data-view-mode="LARGE_ICONS"] .desktop-icon .title {
	margin-top: 5px;
}
.folder-view:not([data-view-mode="DESKTOP"]):not([data-view-mode="LARGE_ICONS"]) .desktop-icon .title {
	text-align: start;
    justify-content: start;
	white-space: nowrap;
	height: 17px;
	line-height: 17px;
	padding-right: 2px;
	padding-left: 3px;
}

/* Seçili İkonlar */
.folder-view:focus-within .desktop-icon.selected:not(.renaming) .title {
	background: var(--Hilight);
	color: var(--HilightText);
    box-shadow: 0 0 5px red;
}

.folder-view:focus-within .desktop-icon.focused:not(.renaming) .title::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	border: 1px dotted #000000;
	mix-blend-mode: normal;
}

.desktop-icon.renaming .title {
	border: 1px solid var(--ButtonText);
    background: #000;
}
.desktop-icon .title input {
	font: inherit;
	outline: none;
	border: 1px solid red;
	height: 17px;
	line-height: 13px;
	box-sizing: border-box;
	background: #000;
	color: #f00;
	text-align: inherit;
	padding: 0;
	align-self: center;
}

/* İkon Seçim Efekti (Mavi yerine Kırmızı Glitch) */
.desktop-icon .icon-wrapper .selection-effect {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	mask-image: var(--icon-image);
	-webkit-mask-image: var(--icon-image);
	background: var(--Hilight);
	opacity: 0.7;
    filter: drop-shadow(0 0 2px red);
}
.folder-view:focus-within .desktop-icon.selected .icon-wrapper .selection-effect {
	display: block;
}
.desktop-icon .icon-wrapper {
	position: relative;
}
.desktop-icon.shortcut .icon-wrapper:after {
	content: var(--shortcut-icon, url("images/icons/shortcut-32x32.png"));
	position: absolute;
	left: 0;
	top: 0;
    filter: invert(1); /* Kısayol okunu beyaz yap */
}

/* Marquee (Fare ile sürükleyerek seçim kutusu) */
.folder-view .marquee {
	border: 1px dotted #ff0000;
	box-sizing: border-box;
    background: rgba(255, 0, 0, 0.2);
	z-index: 1;
}

/* Pencereler ve Başlıklar */
.window-titlebar {
    background: linear-gradient(90deg, #800000, #000000);
    color: #fff;
    font-weight: bold;
    padding: 2px;
}
.window-titlebar.inactive {
    background: #333;
    color: #888;
}

/* Yardım Penceresi Linkleri */
.help-window .item {
	font-family: 'Segoe UI', sans-serif;
	font-size: 12px;
	padding: 0 2px;
	position: relative;
    color: #ffcccc;
}
.help-window .item:hover {
	text-decoration: underline;
	color: #ff0000;
	cursor: pointer;
}
.help-window li:before {
	background-image: url("../../images/help-icons.png");
    filter: invert(1);
}
.help-window:not(.focused) .item.selected {
	background-color: var(--ButtonFace);
	color: var(--ButtonText);
}
.help-window.focused .item.selected {
	background-color: var(--Hilight);
	color: var(--HilightText);
	outline: 1px dotted black;
	outline-offset: -1px;
}

/* Window Switcher (Alt+Tab Menüsü) */
.window-switcher {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 350px;
	z-index: 1000;
	user-select: none;
    background: #000;
    border: 2px solid #fff;
    box-shadow: 10px 10px 0 #300;
}
.window-switcher * {
	pointer-events: none;
}
.window-switcher-list {
	display: flex;
    margin: 0;
    padding: 0;
	flex-direction: row;
	flex-wrap: wrap;
    justify-content: start;
	max-width: calc(43px * 7);
	margin-top: 17px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}
.window-switcher-item {
	display: flex;
	width: 43px;
	height: 43px;
	box-sizing: border-box;
	border: 2px solid transparent;
	padding: 0;
	outline: none;
}
.window-switcher-item.active {
	border: 2px solid var(--Hilight);
    background: #111;
}
.window-switcher-item img {
	margin: 3px;
    filter: invert(1);
}
.window-switcher-window-name {
    align-self: stretch;
	font-family: "MS Sans Serif", "Segoe UI", sans-serif;
	font-size: 10pt;
	line-height: 16px;
	font-weight: bold;
	height: 24px;
	box-sizing: border-box;
	padding: 2px;
	margin: 8px 12px;
	margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    background: #300;
    border: 1px inset #500;
}

* {
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

.menu-hotkey {
	text-decoration-skip: none;
    text-decoration-skip-ink: none;
    color: red; /* Altı çizili harfler kırmızı olsun */
}
