/*
Theme Name: Indie Game Dev Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A dark theme for indie game developers showcasing projects across horror, board games, and RPG categories.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indie-game-theme
*/

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-horror: #e74c3c;
    --accent-board: #f39c12;
    --accent-rpg: #3498db;
    --border-color: #333333;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

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

.site-logo img {
    max-height: 60px;
    width: auto;
    height: auto;
}

.site-title-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.header-social {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.social-icon.x:hover {
    background: #000000;
    border-color: #000000;
}

.social-icon.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Projects Section */
.projects-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.horror.active {
    background: var(--accent-horror);
    border-color: var(--accent-horror);
}

.filter-btn.board.active,
.filter-btn.board-games.active {
    background: var(--accent-board);
    border-color: var(--accent-board);
}

.filter-btn.rpg.active {
    background: var(--accent-rpg);
    border-color: var(--accent-rpg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
    text-decoration: none;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.project-category.horror {
    background: rgba(231, 76, 60, 0.2);
    color: var(--accent-horror);
}

.project-category.board {
    background: rgba(243, 156, 18, 0.2);
    color: var(--accent-board);
}

.project-category.rpg {
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent-rpg);
}

.project-card .project-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-card .project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.project-card.hidden {
    display: none;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

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

.newsletter-section {
    text-align: center;
    margin-bottom: 3rem;
}

.newsletter-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

/* MailPoet form in footer – match theme */
.newsletter-section .mailpoet_form {
    max-width: 640px;
    margin: 0 auto;
}

/* Shortcode forms: email + submit as sibling paragraphs (no columns) */
.newsletter-section .mailpoet_form_form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter-section .mailpoet_form_form > .mailpoet_paragraph {
    flex: 0 1 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.newsletter-section .mailpoet_form_form > .mailpoet_paragraph:not(.last) {
    flex: 1 1 260px;
    max-width: 360px;
}

.newsletter-section .mailpoet_form_form > .mailpoet_paragraph.last {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}

.newsletter-section .mailpoet_form_form > .mailpoet_message {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 0.5rem;
}

/* Column-based MailPoet forms (fallback) */
.newsletter-section .mailpoet_form_columns_container,
.newsletter-section .mailpoet_form_columns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter-section .mailpoet_form_columns.mailpoet_stack_on_mobile {
    flex-wrap: nowrap !important;
}

.newsletter-section .mailpoet_form_columns.mailpoet_stack_on_mobile .mailpoet_form_column {
    flex-basis: auto !important;
}

.newsletter-section .mailpoet_form_column {
    margin-left: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
}

.newsletter-section .mailpoet_form_column:last-child {
    flex: 0 0 auto;
}

.newsletter-section .mailpoet_paragraph,
.newsletter-section .mailpoet_form_paragraph {
    margin-bottom: 0 !important;
}

.newsletter-section .mailpoet_form input[type="email"],
.newsletter-section .mailpoet_form input[type="text"],
.newsletter-section .mailpoet_form .mailpoet_text,
.newsletter-section [data-automation-id="subscription_email_input"],
.newsletter-section [data-automation-id="form_email"],
.newsletter-section input[type="email"] {
    width: 100% !important;
    min-width: 220px;
    padding: 1rem 1.25rem !important;
    background: var(--bg-tertiary) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    max-width: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.newsletter-section .mailpoet_form .mailpoet_text::placeholder {
    color: var(--text-secondary) !important;
    opacity: 1;
}

.newsletter-section .mailpoet_form input:focus,
.newsletter-section .mailpoet_form .mailpoet_text:focus,
.newsletter-section input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary) !important;
}

.newsletter-section .mailpoet_form button,
.newsletter-section .mailpoet_form .mailpoet_submit,
.newsletter-section [data-automation-id="subscribe_button"],
.newsletter-section [data-automation-id="subscribe-submit-button"],
.newsletter-section form button[type="submit"],
.newsletter-section form input[type="submit"] {
    padding: 1rem 1.75rem !important;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #8b5cf6 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4) !important;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    height: 100% !important;
    min-height: 52px;
    white-space: nowrap;
    margin: 0 !important;
    max-width: none !important;
    line-height: 1.5 !important;
}

.newsletter-section .mailpoet_form button:hover,
.newsletter-section .mailpoet_form .mailpoet_submit:hover,
.newsletter-section form button[type="submit"]:hover,
.newsletter-section form input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5) !important;
}
.newsletter-plugin-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
}

.footer-social .social-icons {
    gap: 1.5rem;
}

.footer-social .social-icon {
    width: 45px;
    height: 45px;
}

.footer-social .social-icon svg {
    width: 24px;
    height: 24px;
}

/* Project Single Page */
.project-single {
    padding-top: 100px;
    min-height: 100vh;
}

.project-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-header {
    margin-bottom: 4rem;
}

.project-featured-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-header-content {
    text-align: center;
}

.project-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-header-content .project-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.project-summary {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.project-content-wrapper {
    margin-bottom: 4rem;
}

.project-main-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-main-content .project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.project-main-content .project-description h1,
.project-main-content .project-description h2,
.project-main-content .project-description h3,
.project-main-content .project-description h4,
.project-main-content .project-description h5,
.project-main-content .project-description h6,
.project-main-content .project-description strong {
    color: var(--text-primary);
}

.project-main-content .project-description ul,
.project-main-content .project-description ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.project-main-content .project-description li {
    color: var(--text-secondary);
}

.project-main-content .project-description ul {
    list-style: disc;
}

.project-main-content .project-description ol {
    list-style: decimal;
}

.project-gallery {
    margin-top: 4rem;
}

.project-gallery h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Related Blog Posts */
.related-blog-posts {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.related-blog-posts h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.related-blog-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-blog-posts-list li {
    margin-bottom: 0.5rem;
    padding: 0;
}

.related-blog-posts-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-blog-posts-list li a:hover {
    color: var(--accent-primary);
}

.related-blog-posts-empty {
    color: var(--text-secondary);
    margin: 0;
}

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

.related-post-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

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

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

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

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.related-post-content h3 a {
    color: var(--text-primary);
}

.related-post-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-secondary);
}

/* Single Post */
.single-post {
    padding-top: 100px;
    min-height: 100vh;
}

.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.single-post-article {
    overflow: hidden;
}

.single-post-header {
    margin-bottom: 0;
}

.single-post-featured-image {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}

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

.single-post-header-content {
    padding: 2rem 2rem 1rem;
}

.single-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-category-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(108, 92, 231, 0.2);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.post-category-link:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
}

.single-post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.single-post-meta .posted-on,
.single-post-meta .byline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.single-post-meta a {
    color: var(--accent-primary);
}

.single-post-meta a:hover {
    color: var(--accent-secondary);
}

.single-post-content {
    padding: 0 2rem 2rem;
}

.single-post-content .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.single-post-content .entry-content p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.single-post-content .entry-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.single-post-content .entry-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.single-post-content .entry-content ul,
.single-post-content .entry-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.single-post-content .entry-content li {
    margin-bottom: 0.5rem;
}

.single-post-content .entry-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent-primary);
    background: var(--bg-tertiary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}

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

.single-post-footer {
    padding: 1.5rem 2rem 0;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    color: var(--accent-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: var(--accent-secondary);
}

/* Page Templates */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 2rem 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6,
.page-content strong {
    color: var(--text-primary);
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.page-content li {
    color: var(--text-secondary);
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.social-contact h3 {
    margin-bottom: 1rem;
}

.social-contact .social-icons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.social-contact .social-icon {
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-contact .social-icon span {
    font-weight: 500;
}

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

.blog-post-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.post-thumbnail {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 1.5rem;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.entry-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.entry-meta a {
    color: var(--accent-primary);
}

.entry-summary {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-social {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .project-header-content .project-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .single-post-container {
        padding: 1rem;
    }

    .single-post-title {
        font-size: 1.75rem;
    }

    .single-post-header-content,
    .single-post-content,
    .single-post-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

