/**
 * kâm.de - Vollständige Website Styles
 * Vereint ursprüngliche Styles mit Dark Mode Implementation
 */

/* Base Styles */
body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: #f8f4f1;
    color: #333;
    transition: background 0.3s ease, color 0.3s ease;
}

header {
    background: #d5c1a3;
    padding: 2em;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

header h1 {
    margin: 0;
    font-size: 3em;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

header p {
    font-size: 1.2em;
    color: #444;
    transition: color 0.3s ease;
}

section {
    padding: 2em;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    transition: color 0.3s ease;
}

p {
    transition: color 0.3s ease;
}

.section-title {
    font-size: 1.5em;
    margin-top: 2em;
    color: #5a4e3b;
    transition: color 0.3s ease;
}

ul.links {
    list-style: none;
    padding: 0;
}

ul.links li {
    margin: 1em 0;
}

ul.links a {
    color: #6b4b2a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer {
    text-align: center;
    padding: 1em;
    color: #777;
    transition: color 0.3s ease;
}

/* Dark Mode Toggle Button */
#darkModeToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#darkModeToggle:hover {
    transform: scale(1.05);
}

.moon-icon {
    display: none;
}

/* Dark Mode Styles */
[data-theme="dark"] {
    background: #0f172a !important;
    color: #f8fafc !important;
}

[data-theme="dark"] header {
    background: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] header h1 {
    color: #f8fafc !important;
}

[data-theme="dark"] header p {
    color: #e2e8f0 !important;
}

[data-theme="dark"] h2 {
    color: #f8fafc !important;
}

[data-theme="dark"] p {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .section-title {
    color: #d5c1a3 !important;
}

[data-theme="dark"] ul.links a {
    color: #d5c1a3 !important;
}

[data-theme="dark"] footer {
    color: #9ca3af !important;
}

[data-theme="dark"] #darkModeToggle {
    background: #374151 !important;
    color: #fbbf24 !important;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block !important;
}