/*!
Theme Name: Minimalist Elegance
Theme URI: https://example.com/minimalist-elegance
Description: Ein elegantes, minimalistisches WordPress-Theme mit zentriertem Logo und Unterschrift. Ein sauberes, professionelles Foundation für deine Web-Präsenz.
Version: 1.0.0
Author: Manus
Author URI: https://manus.im
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimalist-elegance
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* 
 * Minimalist Elegance Theme
 * Design Philosophy: Minimalist Elegance
 * - Pure white background for maximum clarity
 * - Centered logo and signature with generous whitespace
 * - Elegant typography using Playfair Display and Lato
 * - Subtle visual hierarchy with a thin divider line
 * - Smooth fade-in animations for a polished feel
 */

:root {
  --font-display: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray: #e8e8e8;
  --color-gray-light: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background-color: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-dark);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* Main Container */
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Hero Section - Centered Logo and Signature */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.hero-logo {
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.hero-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}

.hero-divider {
  width: 64px;
  height: 1px;
  background-color: var(--color-gray);
  margin: 2rem 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-signature {
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}

.hero-signature h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-signature p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #999;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-signature h1 {
    font-size: 2rem;
  }

  .hero-signature p {
    font-size: 0.95rem;
  }

  .hero-logo img {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .site-content {
    padding: 1rem;
  }

  .hero-signature h1 {
    font-size: 1.75rem;
  }

  .hero-signature p {
    font-size: 0.9rem;
  }

  .hero-logo img {
    max-width: 100px;
  }
}

/* WordPress Core Styles */
.wp-caption {
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray);
  max-width: 100%;
  padding: 0.5rem;
  text-align: center;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0.5rem 0 0 0;
  padding: 0;
}

img {
  height: auto;
  max-width: 100%;
}

/* Print Styles */
@media print {
  body {
    background: var(--color-white);
  }
}

/* Post and Page Styles */
.post-container, .page-container, .archive-container, .search-container, .error-404-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.entry-meta {
    font-size: 0.9rem;
    color: #999;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.entry-footer {
    margin-top: 2rem;
}

.tags .tag {
    display: inline-block;
    background: var(--color-gray-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Archive and Search Styles */
.posts-list .post-item {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 2rem;
}

.posts-list .post-item:last-child {
    border-bottom: none;
}

.posts-list .entry-title {
    font-size: 2rem;
}

.posts-list .entry-summary {
    font-size: 1rem;
}

/* 404 Page Styles */
.error-404-container {
    text-align: center;
}

.error-404-container .button {
    display: inline-block;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}
