/* Blog Styles */

/* Maintain the main site's dark theme for the blog */
body {
    background-color: #000000;
    color: #ffffff;
}

/* Header styles */
#header {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Blog Hero */
.blog-hero {
    background-color: #1a1a1a;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 60px; /* Account for fixed header */
    border-bottom: 2px solid #4CAF50;
}

.blog-hero h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Section Headers */
section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #fff;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    border-color: #4CAF50;
}

.category-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.category-card .category-count {
    color: #aaa;
    font-size: 0.9rem;
}

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

.post-card {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    border-color: #4CAF50;
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    margin-bottom: 0.8rem;
}

.post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #4CAF50;
}

.post-meta {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-excerpt {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Newsletter Signup */
.newsletter-signup {
    background-color: #1a1a1a;
    padding: 4rem 0;
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.newsletter-signup h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-signup p {
    color: #ccc;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #388E3C;
}

/* Loading indicator */
.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

.loading-indicator p {
    font-size: 1.2rem;
    color: #aaa;
}

/* Category tags */
.category-tag {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Post source */
.post-source {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

/* Featured post */
.post-card.featured {
    border: 2px solid #4CAF50;
}

/* Category navigation */
.category-card {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card.active {
    background-color: #4CAF50;
    color: white;
}

.category-card.active .category-name {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

/* Active navigation styles */
nav ul li a.active {
    color: #4CAF50;
    font-weight: bold;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

/* Footer styles */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #4CAF50;
}

.footer-nav a.active {
    color: #4CAF50;
    font-weight: bold;
}

footer p {
    text-align: center;
    color: #888;
    margin-top: 20px;
}

/* Single Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    color: #fff;
}

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

.post-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
}

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

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.post-tags span {
    display: inline-block;
    background: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

/* Blog Post Template Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #777;
    margin-bottom: 30px;
}

.blog-post-content {
    line-height: 1.8;
    color: #333;
}

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

.blog-post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.blog-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

.blog-post-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    margin-bottom: 20px;
}

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

/* Indianapolis Tech Page Styles */
.indy-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../../images/blog/indy-skyline.jpg') center/cover;
    color: white;
    padding: 6rem 0;
}

.indy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.ecosystem-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
}

.ecosystem-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.ecosystem-link {
    display: inline-block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.ecosystem-link:hover {
    text-decoration: underline;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.resource-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.resource-card ul {
    list-style: none;
    padding: 0;
}

.resource-card li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.resource-card li:last-child {
    border-bottom: none;
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.involvement-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.involvement-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.action-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .indy-hero h1 {
        font-size: 2rem;
    }
    
    .ecosystem-grid,
    .resources-grid,
    .involvement-options {
        grid-template-columns: 1fr;
    }
}

/* Blog Post Container */
.blog-post-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.blog-post {
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    padding: 40px;
    border: 1px solid #333;
}

.post-header {
    margin-bottom: 30px;
    text-align: center;
}

.post-header h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.post-content {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.post-content h2 {
    color: #4CAF50;
    font-size: 1.6rem;
    margin: 40px 0 20px;
    text-align: left;
}

.post-content ul {
    margin-bottom: 1.5rem;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Blog List Container */
.blog-list-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Blog Card */
.blog-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    border-color: #4CAF50;
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #aaa;
    font-size: 0.9rem;
}

.blog-card-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.read-more {
    color: #4CAF50;
    font-weight: bold;
    display: inline-block;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-card:hover .read-more {
    border-color: #4CAF50;
}

/* Full Post Modal */
.full-post-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
    padding: 30px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.full-post-overlay.active {
    opacity: 1;
    visibility: visible;
}

.full-post-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
    background-color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background-color: #333;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.close-button:hover {
    background-color: #4CAF50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .full-post-overlay {
        padding: 15px;
    }
    
    .full-post-container {
        margin: 15px auto;
    }
    
    .blog-card-image {
        height: 180px;
    }
} 