/*
Theme Name: Aurigon Theme
Description: Ein minimalistisches WordPress Theme mit Day/Night Mode, basierend auf dem Aurigon LLC Design
Version: 1.0
Author: Custom Theme
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aurigon
*/

:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-muted: #666666;
  --border-color: #e0e0e0;
  --header-bg: #ffffff;
  --link-color: #666666;
  --link-active: #000000;
}

[data-theme="dark"] {
  --bg-color: #0a0a0a;
  --text-color: #eaeaea;
  --text-muted: #aaaaaa;
  --border-color: #444444;
  --header-bg: #0a0a0a;
  --link-color: #aaaaaa;
  --link-active: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.site-header {
  padding: 2rem 1rem 1rem 1rem;
  max-width: 680px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-branding {
  display: flex;
  align-items: center;
}

.custom-logo {
  max-height: 50px;
  width: auto;
}

.site-title {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}

.site-title:hover {
  color: var(--text-color);
  text-decoration: none;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background-color: var(--border-color);
}

.main-navigation {
  margin-top: 1rem;
  width: 100%;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.main-navigation li {
  margin-right: 1.5rem;
}

.main-navigation a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
  color: var(--link-active);
}

.site-main {
  max-width: 680px;
  padding: 2rem 1rem;
  margin: 0 auto;
}

.site-footer {
  max-width: 680px;
  padding: 1rem;
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* WordPress specific styles */
.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.entry-content {
  margin-bottom: 2rem;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Post navigation */
.post-navigation {
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-previous a,
.nav-next a {
  color: var(--link-color);
  text-decoration: none;
}

.nav-previous a:hover,
.nav-next a:hover {
  color: var(--link-active);
}

/* Comments */
.comments-area {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-controls {
    margin-top: 1rem;
    align-self: flex-end;
  }
  
  .main-navigation {
    margin-top: 1rem;
    width: 100%;
  }
}