/*
Theme Name: Klysera Minimal Blog
Description: A clean, minimal blog theme for Klysera with modern design and Klysera blue accents. Perfect for tech companies and startups.
Author: Klysera
Version: 1.0
Text Domain: klysera-minimal
*/

/* Reset and Base Styles */
* {
    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;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: #0047FF;
    text-decoration: none;
    background: #0047FF;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
}

.site-logo:hover {
    background: #0039CC;
    color: white;
    text-decoration: none;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 20px;
}

.nav-link {
    padding: 8px 16px;
    text-decoration: none;
    color: #666;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: #0047FF;
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: rgba(0, 71, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: rgba(0, 71, 255, 0.15);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #0047FF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-description {
    font-size: 16px;
    color: #888;
    max-width: 500px;
    margin: 0 auto;
}

/* Blog Posts Grid */
.blog-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #0047FF;
    border-radius: 2px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #0047FF 0%, #0039CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #333;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

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

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    background: #0047FF;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #0039CC;
    color: white;
    text-decoration: none;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(0, 71, 255, 0.05);
    padding: 60px 0;
    text-align: center;
    border-radius: 20px;
    margin: 60px 0;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: #0047FF;
    margin-bottom: 15px;
}

.newsletter-description {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #0047FF;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0039CC;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #0047FF;
    padding: 12px 24px;
    border: 2px solid #0047FF;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #0047FF;
    color: white;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 40px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0047FF;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-text {
    color: #888;
    font-size: 14px;
}

/* About Page Styles */
.about-hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.about-title {
    font-size: 48px;
    font-weight: 700;
    color: #0047FF;
    margin-bottom: 20px;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #0047FF;
    border-radius: 2px;
}

.about-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-text strong {
    color: #0047FF;
    font-weight: 600;
}

.focus-areas {
    background: rgba(0, 71, 255, 0.05);
    padding: 60px 0;
    border-radius: 20px;
    margin: 60px 0;
}

.focus-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #0047FF;
    margin-bottom: 40px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.focus-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.focus-icon {
    width: 60px;
    height: 60px;
    background: #0047FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.focus-item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.focus-item-description {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .about-title {
        font-size: 32px;
    }
}

