Theme Name: Moss
Theme URI: https://moss.sh
Author: Doalitic S.L.
Author URI: https://moss.sh
Description: Modern server management theme for Moss
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moss
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #004976 0%, #0066a1 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.8;
}

.btn-signup {
    background: #ff671f;
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-signup:hover {
    background: #e55a1a;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #004976 0%, #0066a1 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section .highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: #ff671f;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #e55a1a;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-legend {
    color: #0066a1;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #004976;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Post Content */
.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    color: #004976;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Blog Archive */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: #004976;
    margin-bottom: 10px;
}

.blog-card .meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card a {
    color: #ff671f;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ff671f;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 32px;
    }
}

/* Blog Grid - bereits vorhanden, aber hier nochmal zur Sicherheit */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: #004976;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #004976;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: #0066a1;
}

.blog-card .meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.blog-card .read-more {
    color: #ff671f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-card .read-more:hover {
    color: #e55a1a;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0 0;
    list-style: none;
    padding: 0;
}

.pagination ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #004976;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #0066a1;
    color: white;
    border-color: #0066a1;
}

.pagination .current {
    background: #0066a1;
    color: white;
    border-color: #0066a1;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Category Cards */
.category-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.category-card h3 {
    color: #004976;
    margin-bottom: 10px;
    font-size: 20px;
}

.category-card p {
    color: #666;
    font-size: 14px;
}

/* Responsive Blog Grid */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}