@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop")
    no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  user-select: none;
}

/* Boot Ekranı */
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #0f0;
  font-family: "Share Tech Mono", monospace;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out;
}
.boot-text {
  text-align: left;
  width: 300px;
}
.progress-bar {
  width: 100%;
  height: 2px;
  background: #333;
  margin-top: 10px;
}
.progress {
  width: 0%;
  height: 100%;
  background: #0f0;
  animation: load 2s forwards;
}
@keyframes load {
  to {
    width: 100%;
  }
}

/* Masaüstü Simgeleri */
.desktop-icons {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}
.icon {
  width: 80px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.icon-img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}
.rounded-icon {
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}
.icon-text {
  color: #fff;
  font-size: 12px;
  margin-top: 5px;
  text-shadow: 1px 1px 3px #000;
  font-weight: 600;
}

/* Yenilenmiş Aero Glass Pencereler */
.window {
  position: absolute;
  width: 750px;
  max-width: 90%;
  height: 500px;
  background: rgba(240, 248, 255, 0.4); /* Daha parlak cam */
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px 8px 0 0;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  top: 10vh;
  left: 20vw;
}
@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  cursor: grab;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.1)
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px 8px 0 0;
  color: #000;
  font-weight: bold;
  text-shadow: 0 0 5px #fff;
}
.title-bar:active {
  cursor: grabbing;
}

.controls {
  display: flex;
  gap: 4px;
}
.btn {
  width: 26px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
  background: linear-gradient(to bottom, #f0f0f0, #ccc);
  box-shadow: inset 0 1px 1px white;
}
.btn:hover {
  background: #fff;
}
.btn.close {
  background: linear-gradient(to bottom, #faa, #e33);
  color: white;
  border-color: #900;
}
.btn.close:hover {
  background: #f44;
  box-shadow: 0 0 5px red;
}

/* Pencere İçeriği */
/* --- YENİLENMİŞ İÇERİK ALANI (Göz Yormayan Tasarım) --- */
.content {
    background: #f8f9fa; /* Saf beyaz yerine göz dinlendiren kırık beyaz/açık gri */
    flex-grow: 1; 
    padding: 35px 45px; /* Kenarlardan daha fazla nefes payı bıraktık */
    overflow-y: auto; 
    cursor: auto; 
    user-select: text; 
    border-top: 1px solid #e9ecef;
    color: #343a40; /* Saf siyah yerine yumuşak antrazit gri (gözü yormaz) */
    font-size: 15.5px;
    line-height: 1.8; /* Satır aralıklarını ferahlattık */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.01); /* İçeriye çok hafif bir derinlik */
}

/* Modern ve Ayrıştırıcı Başlıklar */
.content h2 {
    color: #2c3e50; /* Tatlı bir koyu lacivert/gri tonu */
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0; /* Bölümleri birbirinden ayıran ince çizgi */
    font-weight: 600;
    letter-spacing: -0.3px;
}

.content h2:first-of-type {
    margin-top: 0; /* İlk başlığın üstündeki gereksiz boşluğu alır */
}

/* Paragraf ve Liste Boşlukları */
.content p {
    margin-bottom: 18px;
    text-align: justify; /* Metinleri iki yana yaslayarak daha düzenli gösterir */
}

.content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.content li {
    margin-bottom: 14px; /* Liste elemanlarının birbirine girmesini engeller */
}

/* Vurgulu Metinler (Kalın Yazılar) */
.content strong {
    color: #1a202c; /* Kalın yazıları metnin geri kalanından bir tık daha koyu yapar */
    font-weight: 600;
}

/* Linkler için ufak bir dokunuş */
.content a {
    color: #0969da;
    text-decoration: none;
    transition: color 0.2s;
}

.content a:hover {
    color: #03499e;
    text-decoration: underline;
}

/* Profil Alanı */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.profile-pic {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.header-text h1 {
  margin: 0;
  font-size: 26px;
  color: #114477;
}

/* Terminal Penceresi (Özel Tasarım) */
.dark-window {
  background: rgba(20, 20, 20, 0.85);
  border-color: #555;
}
.dark-title-bar {
  background: linear-gradient(to bottom, #444, #111);
  color: #ddd;
  text-shadow: none;
  border-bottom: 1px solid #000;
}
.terminal-content {
  background: #000;
  color: #0f0;
  font-family: "Share Tech Mono", monospace;
  font-size: 14px;
  padding: 15px;
  border-top: none;
}
.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #0f0;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Görev Çubuğu */
.taskbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 42px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  z-index: 100;
}
.start-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #4db8ff, #005bb5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px #4db8ff;
  cursor: pointer;
  transition: 0.2s;
}
.start-button:hover {
  box-shadow: 0 0 20px #fff;
  transform: scale(1.05);
}
.system-tray {
  color: white;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  padding-right: 15px;
}
.system-tray .date {
  font-size: 11px;
  font-weight: normal;
}

a {
  color: #005bb5;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}
.download-link {
  display: inline-block;
  padding: 10px 20px;
  background: #005bb5;
  color: white;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
}
.download-link:hover {
  background: #003f7f;
  transform: translateY(-2px);
  text-decoration: none;
}
