/*
Theme Name: 100travel
Theme URI: https://www.100travel.de/
Author: 100travel Team
Author URI: https://www.100travel.de/
Description: Ein einfaches, schönes WordPress-Theme für Reise-Blogs. Zeigt vollständige Blog-Artikel auf der Startseite.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 100travel
Tags: blog, travel, simple, clean, responsive
*/

/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3a6b;
}

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

/* ========================================
   Header
======================================== */
.site-header {
    background-color: #2c5aa0;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.site-logo {
    max-width: 300px;
    margin: 0 auto 20px;
}

.site-logo img {
    max-width: 120px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.site-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.site-description {
    font-size: 1.2em;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ========================================
   Navigation
======================================== */
.main-navigation {
    background-color: #2c5aa0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background-color: #1a3a6b;
}

/* ========================================
   Container & Layout
======================================== */
.site-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

@media (max-width: 768px) {
    .site-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Main Content Area
======================================== */
.main-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ========================================
   Blog Articles (Full Display)
======================================== */
.blog-article {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid #e9ecef;
}

.blog-article:last-child {
    border-bottom: none;
}

.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a3a6b;
    line-height: 1.3;
}

.article-title a {
    color: inherit;
}

.article-title a:hover {
    color: #2c5aa0;
}

.article-meta {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    margin-right: 5px;
}

.article-featured-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
}

.article-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: #444;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1a3a6b;
}

.article-content h2 {
    font-size: 1.8em;
}

.article-content h3 {
    font-size: 1.5em;
}

.article-content h4 {
    font-size: 1.3em;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content img {
    margin: 25px 0;
    border-radius: 5px;
}

.article-content blockquote {
    border-left: 4px solid #2c5aa0;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.article-content a {
    color: #2c5aa0;
    text-decoration: underline;
    font-weight: 500;
}

.article-content a:hover {
    color: #1a3a6b;
}

.article-tags {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.article-tags a {
    display: inline-block;
    background-color: #e9ecef;
    padding: 5px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #555;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background-color: #2c5aa0;
    color: #fff;
}

/* ========================================
   Pagination
======================================== */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: #2c5aa0;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}

/* ========================================
   Sidebar
======================================== */
.sidebar {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: relative;
}

.sidebar-widget {
    margin-bottom: 35px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a3a6b;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5aa0;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: #555;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.sidebar a:hover {
    color: #2c5aa0;
    padding-left: 10px;
}

/* Search Widget */
.search-form {
    display: flex;
    margin-bottom: 20px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}

.search-form button {
    padding: 10px 20px;
    background-color: #2c5aa0;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #1a3a6b;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background-color: #1a3a6b;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.site-footer p {
    margin: 5px 0;
    opacity: 0.9;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

.site-footer a:hover {
    opacity: 0.8;
}

/* ========================================
   Single Post
======================================== */
.single-post .article-content {
    font-size: 1.1em;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    max-width: 48%;
}

.post-navigation a:hover {
    background-color: #2c5aa0;
    color: #fff;
}

/* Comments */
.comments-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.comments-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #1a3a6b;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.comment-author {
    font-weight: 700;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 0.85em;
    color: #6c757d;
    margin-bottom: 10px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    
    .site-description {
        font-size: 1em;
    }
    
    .main-navigation a {
        padding: 12px 15px;
    }
    
    .article-title {
        font-size: 1.8em;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .post-navigation a {
        max-width: 100%;
        margin-bottom: 10px;
    }
}

/* ========================================
   Utilities
======================================== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}
