
/*
Theme Name: Ohio Hoarding Blog Theme
Theme URI: https://ohiohoardingcleanup.com
Author: Ohio Hoarding Cleanup
Author URI: https://ohiohoardingcleanup.com
Description: A custom WordPress blog theme matching the visual style of Ohio Hoarding Cleanup main site with beautiful gradient design, responsive layout, and clean typography.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ohio-hoarding-blog
Tags: blog, gradient, modern, responsive, clean

This theme, like WordPress, is licensed under the GPL.
*/

/* ===================================
   CSS Variables & Base Styles
   =================================== */
:root {
    --color-teal: #2DD4BF;
    --color-teal-dark: #14B8A6;
    --color-purple: #8B5CF6;
    --color-purple-light: #A78BFA;
    --color-pink: #EC4899;
    --color-coral: #F472B6;
    --color-orange: #F97316;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-white: #FFFFFF;
    --color-gray-light: #F9FAFB;
    --color-gray-border: #E5E7EB;
    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
}

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

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

a:hover {
    color: var(--color-purple-light);
}

/* ===================================
   Header Styles
   =================================== */
.site-header {
    background: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-teal) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.site-tagline {
    font-size: 0.75rem;
    color: var(--color-text-light);
    line-height: 1.2;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--color-purple);
}

.main-site-button {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-site-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: var(--color-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* ===================================
   Main Content Area
   =================================== */
.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-area {
    width: 100%;
}

/* Page/Section Titles */
.page-title,
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
    text-align: center;
}

/* ===================================
   Blog Posts Grid
   =================================== */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 100%);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

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

.post-excerpt {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more:hover {
    gap: 0.75rem;
}

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

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header .post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-header .post-meta {
    justify-content: center;
    font-size: 1rem;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.post-body h2 {
    font-size: 1.8rem;
}

.post-body h3 {
    font-size: 1.5rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body blockquote {
    border-left: 4px solid var(--color-purple);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-light);
}

.post-body img {
    border-radius: 8px;
    margin: 2rem 0;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-gray-border);
    border-radius: 6px;
    color: var(--color-text);
    font-weight: 500;
}

.pagination a:hover {
    background: var(--color-purple);
    color: var(--color-white);
    border-color: var(--color-purple);
}

.pagination .current {
    background: var(--color-purple);
    color: var(--color-white);
    border-color: var(--color-purple);
}

/* ===================================
   Footer Styles
   =================================== */
.site-footer {
    background: var(--color-gray-light);
    border-top: 1px solid var(--color-gray-border);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-purple);
}

.footer-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-teal);
    border-radius: 6px;
    color: var(--color-teal);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-button:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-border);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .main-site-button {
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===================================
   WordPress Alignment Classes
   =================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 0.5rem;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
