/*
Theme Name: Core2
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A clean, modern WordPress theme with modular partials
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: core2
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Basic Reset and Typography */
* {
    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;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

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

.site-title {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: #333;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.primary-menu a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.primary-menu a:hover {
    color: #000;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.hero-button:hover {
    background: #000;
}

/* Mid Section */
.mid-section {
    padding: 80px 0;
}

.mid-section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.mid-section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

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

.feature-box {
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.gallery-description {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Posts Section */
.posts-section {
    padding: 80px 0;
}

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

.post-thumbnail {
    margin-bottom: 15px;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 80px;
}

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

.footer-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}