/*
Theme Name: Double Shift
Theme URI: https://doubleshift.blog
Author: Maria
Author URI: https://doubleshift.blog
Description: Custom theme for Double Shift blog - Event Planning, Crypto, and Motherhood
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: double-shift
*/

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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

header {
    background: #000;
    color: #fff;
    padding: 2rem 0;
    border-bottom: 4px solid #ffd700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

h1, .site-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.tagline {
    font-size: 1rem;
    color: #fff;
    font-style: italic;
    margin-top: 0.5rem;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    
}

nav a:hover {
    color: #ffd700;
}

.hero {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.hero p {
    font-size: 1.2rem;
    color: #1a1a1a;
    max-width: 700px;
    margin: 0 auto;
    
}

.blog-grid {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffd700;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.post-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.post-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-category {
    display: inline-block;
    background: #ffd700;
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.post-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-title a:hover {
    color: #ffd700;
}

.post-excerpt {
    color: #666;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.9rem;
}

.read-more {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: #ffd700;
}

/* Single Post Styles */
.single-post {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.single-post .post-header {
    margin-bottom: 2rem;
}

.single-post .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.single-post .post-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
}

.single-post .post-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #1a1a1a;
}

footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
}

@media (max-width: 768px) {
    h1, .site-title {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    nav {
        width: 100%;
        justify-content: center;
    }
    
    .posts {
        grid-template-columns: 1fr;
    }
    
    .single-post .post-title {
        font-size: 1.8rem;
    }
}