/*
Theme Name: Peonic Astrophotography
Theme URI: https://peonic.net
Author: Chris Belton
Author URI: https://peonic.net
Description: Custom dark theme for astrophotography portfolio
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peonic-astro
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 2rem 5%;
    text-align: center;
    border-bottom: 2px solid #2a2a4e;
}

.site-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-description {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.main-navigation {
    background: #0f0f1e;
    padding: 1rem 5%;
    border-bottom: 1px solid #2a2a4e;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-navigation a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    border-radius: 4px;
    display: block;
}

.main-navigation a:hover {
    background: #2a2a4e;
    color: #667eea;
}

.hero-section {
    padding: 4rem 5%;
    text-align: center;
    background: linear-gradient(180deg, #0f0f1e 0%, #0a0a0a 100%);
}

.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.hero-section p {
    max-width: 600px;
    margin: 0 auto;
    color: #b0b0b0;
    font-size: 1.1rem;
}

.content-area {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-item-info {
    padding: 1rem;
}

.gallery-item-info h3 {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post h2 {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-post h2 a {
    color: #f0f0f0;
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: #667eea;
}

.post-meta {
    color: #808080;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #b0b0b0;
    line-height: 1.6;
}

.single-post {
    max-width: 900px;
    margin: 0 auto;
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 8px;
    padding: 2rem;
}

.single-post h1 {
    color: #f0f0f0;
    margin-bottom: 1rem;
}

.single-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.single-post p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.site-footer {
    background: #0f0f1e;
    padding: 2rem 5%;
    text-align: center;
    border-top: 2px solid #2a2a4e;
    margin-top: 4rem;
}

.site-footer p {
    color: #808080;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #764ba2;
}

@media (max-width: 768px) {
    .gallery-grid, .blog-posts {
        grid-template-columns: 1fr;
    }
}