/*
Theme Name: AUXIGUN Blog
Theme URI: https://www.auxigunco.com/blog
Author: AUXIGUN Trading Co. Ltd
Author URI: https://www.auxigunco.com
Description: Custom WordPress theme matching auxigunco.com design. Professional blog theme for AUXIGUN Trading Company.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: auxigun-blog
Tags: blog, business, custom-header, custom-logo, custom-menu, responsive
*/

/* ===== Variables ===== */
:root {
    --primary-dark: #1a2332;
    --primary-blue: #2c4163;
    --accent-gold: #b8860b;
    --accent-orange: #d4a24c;
    --text-white: #ffffff;
    --text-light: #f0f0f0;
    --text-gray: #999;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

a:hover {
    color: var(--accent-orange);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Header ===== */
.site-header {
    background: var(--primary-dark);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu li a {
    color: var(--text-white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--accent-gold);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
}

.cta-button {
    background: var(--accent-gold);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 134, 11, 0.4);
}

/* ===== Main Content ===== */
.site-content {
    min-height: 70vh;
    padding: 60px 0;
}

/* ===== Blog Listing ===== */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.blog-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

.post-category a {
    color: var(--accent-gold);
    font-weight: 500;
}

.post-title {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-title a {
    color: var(--primary-dark);
}

.post-title a:hover {
    color: var(--accent-gold);
}

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

.read-more {
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* ===== Single Post ===== */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.single-header {
    margin-bottom: 40px;
}

.single-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-meta {
    display: flex;
    gap: 20px;
    color: var(--text-gray);
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.single-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.single-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.single-content h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-dark);
}

.single-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-dark);
}

.single-content p {
    margin-bottom: 20px;
}

.single-content ul,
.single-content ol {
    margin: 20px 0 20px 30px;
}

.single-content blockquote {
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

/* ===== Pagination ===== */
.navigation.pagination {
    margin: 60px 0;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-numbers {
    padding: 10px 15px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-dark);
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

.footer-logo-subtitle {
    font-size: 9px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-light);
}

.footer-column ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--text-light);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .blog-title {
        font-size: 36px;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .single-title {
        font-size: 32px;
    }
}