/*
Theme Name: APS Bootstrap 5
Theme URI: https://example.com/aps-bootstrap5
Author: APS Development Team
Author URI: https://example.com
Description: Advanced Product System WordPress theme built with Bootstrap 5.
Version: 1.0.0
License: GPL v2 or later
Text Domain: aps-bootstrap5
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.4
*/

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #0d6efd;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-menu a:hover {
    background: #f0f0f0;
}

/* Main content */
.main-content {
    padding: 40px 0;
}

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.post-title a {
    color: #333;
    text-decoration: none;
}

.post-title a:hover {
    color: #0d6efd;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}