/*
Theme Name: Mushwana Trading Theme
Theme URI: https://www.mushwanatrading.co.za/
Author: AI Developer
Description: A modern, ultra-lightweight, builder-free custom standalone WordPress theme built for Mushwana Trading (Events, Logistics and Supply).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mushwana-trading
*/

:root {
    --primary-color: #1a365d;
    --secondary-color: #2b6cb0;
    --accent-color: #d69e2e;
    --text-color: #2d3748;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.site-title a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.site-description {
    font-size: 12px;
    color: #718096;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-navigation a {
    font-weight: 600;
    color: var(--text-color);
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid & Post Cards */
.main-content {
    padding: 60px 0;
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.post-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 13px;
    color: #a0aec0;
    margin-bottom: 15px;
}

.read-more-btn {
    margin-top: auto;
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: rgba(255,255,255,0.8);
}

.footer-nav a:hover {
    color: var(--white);
}

@media(max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .hero-section h1 {
        font-size: 32px;
    }
}