/* SimplifyTech Website - Basic Styles */
/* Reset and Base Styles */

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

:root {
    --primary-color: #1b62f8;
    --secondary-color: #05122e;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Navigation styles moved to header.njk component */

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1552d4;
}

/* Posts/Pages */
.post, .page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

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

.post-header h1, .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-featured-image, .page-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img, .page-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

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

.post-content h2, .page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p, .page-content p {
    margin-bottom: 1rem;
}

.post-content img, .page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .post-header h1, .page-header h1 {
        font-size: 2rem;
    }
}
