body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    display: flex;
    flex-direction: column; 
    min-height: 100vh; 
    transition: background-color 0.4s, color 0.4s;
}
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    transition: 0.4s;
}
header .logo { font-size: 24px; font-weight: bold; letter-spacing: 1px; }
header nav a { color: white; text-decoration: none; margin-left: 20px; font-size: 16px; transition: 0.3s; }
header nav a:hover { color: #0984e3; }
.araclar-izgarasi {
    display: flex; flex-wrap: wrap; gap: 30px; justify-content: center;
    max-width: 1200px; margin: 50px auto; flex: 1; 
}
.ana-kutu {
    background-color: white; padding: 35px; border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1); text-align: center;
    width: 350px; display: flex; flex-direction: column; transition: 0.4s;
}
h1 { color: #2c3e50; font-size: 22px; transition: 0.4s; }
p { color: #7f8c8d; font-size: 14px; margin-bottom: 25px; transition: 0.4s; }
label { display: block; font-weight: bold; margin-bottom: 8px; color: #34495e; text-align: left; transition: 0.4s; }
input {
    width: 100%; padding: 12px; margin-bottom: 20px; border: 2px solid #dfe6e9;
    border-radius: 8px; box-sizing: border-box; font-size: 16px; transition: 0.3s;
}
input:focus { border-color: #0984e3; outline: none; }
button {
    width: 100%; background-color: #0984e3; color: white; padding: 14px;
    border: none; border-radius: 8px; font-size: 16px; font-weight: bold;
    cursor: pointer; transition: 0.3s; margin-top: auto; 
}
button:hover { background-color: #74b9ff; }
button:active { transform: scale(0.97); }
h2 { margin-top: 25px; font-size: 18px; }
footer {
    background-color: #2c3e50; color: #bdc3c7; text-align: center;
    padding: 15px 0; font-size: 14px; margin-top: auto; transition: 0.4s;
}
.lgs-kutu {
    background-color: white; padding: 35px; border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1); width: 100%;
    max-width: 600px; text-align: center; transition: 0.4s;
}
.ders-satiri {
    display: flex; justify-content: space-between; margin-bottom: 15px;
    align-items: center; border-bottom: 1px solid #f0f4f8; padding-bottom: 10px;
}
.ders-satiri h3 { font-size: 16px; color: #34495e; margin: 0; width: 35%; text-align: left; transition: 0.4s; }
.ders-satiri input { width: 18%; margin-bottom: 0; text-align: center; padding: 8px; }
.sayac-kutu {
    background-color: white; padding: 20px 35px; border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1); width: 100%; 
    text-align: center; margin-bottom: 30px; transition: 0.4s;
}
.sayaclar { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.sayac-item {
    background-color: #f0f4f8; border-left: 5px solid #0984e3; padding: 15px;
    border-radius: 8px; min-width: 220px; flex: 1; transition: 0.4s;
}
.sayac-item h3 { margin: 0 0 10px 0; font-size: 16px; color: #34495e; transition: 0.4s; }
.sayac-item p { margin: 0; font-size: 18px; font-weight: bold; color: #0984e3; }

/* GECE MODU RENKLERİ */
body.dark-mode { background-color: #1a1a2e; color: #f1f2f6; }
body.dark-mode .ana-kutu, body.dark-mode .sayac-kutu, body.dark-mode .lgs-kutu, body.dark-mode .sayac-item {
    background-color: #16213e; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5); border: 1px solid #0f3460;
}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode label, body.dark-mode p { color: #f1f2f6; }
body.dark-mode header, body.dark-mode footer { background-color: #0f3460; border-bottom: 1px solid #1a1a2e; }
body.dark-mode input { background-color: #1a1a2e; color: white; border-color: #0f3460; }