/* CSS Variables */
:root {
    /* Brand Colors */
    --color-primary: #00ff00;    /* Bright green */
    --color-secondary: #191919;  /* Dark gray/black */
    
    /* Background Colors */
    --bg-light: #c6c6c6;
    --bg-dark: #191919;
    
    /* Text Colors */
    --text-on-light: #191919;  /* Dark text for light backgrounds */
    --text-on-dark: #c6c6c6;  /* Light text for dark backgrounds */
    
    /* Gradient */
    --gradient-primary: linear-gradient(to right top, #caff00, #00ff00);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

/* Simplified Navigation */
.nav-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #191919;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-center {
    background: rgba(198, 198, 198, 0.9);
    padding: 0.5rem 2rem;
    border-radius: 100px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-on-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Blog Header */
.blog-header {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom: 0;
    margin-top: 20px;
}

.section-content {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Adjusted Typography to match main site */
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    color: var(--text-on-dark);
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.3;
    margin-bottom: 0;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.section-number {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.post-card {
    background: #252525;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.post-title {
    margin: 0;
}

.post-title a {
    font-size: 1.8rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    display: block;
}

.post-meta {
    display: flex;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0.15rem 0;
}

.category {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-weight: 500;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.35rem 0;
}

.tag {
    background: #252525;
    color: var(--text-on-dark);
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-sidebar {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-list,
.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.recent-posts li {
    margin-bottom: 4px;
}

.category-list a,
.recent-posts a {
    color: var(--text-on-dark);
    text-decoration: none;
    display: block;
    padding: 2px 0;
    transition: color 0.2s ease;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.category-list a:hover,
.recent-posts a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.post-count {
    color: var(--color-primary);
    font-size: 0.85em;
    opacity: 0.9;
}

/* Add this at the top of your sidebar styles */
.sidebar-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        width: 90%;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-text p {
        font-size: 1.4rem;
    }
    
    .post-title a {
        font-size: 1.6rem;
    }
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

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

.post-card > *:not(.post-image) {
    padding: 0.5rem 1rem;
}

.post-card > *:first-child {
    padding-top: 0.75rem;
}

.post-card > *:last-child {
    padding-bottom: 0.75rem;
}

/* Post Page Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: #252525;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-hero-image {
    margin: -2rem -2rem 2rem;
    height: 400px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

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

.blog-post h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: #fff;
    line-height: 1.2;
}

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

.blog-post .post-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-post .post-meta a:hover {
    text-decoration: underline;
}

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

.post-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #fff;
}

.post-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #fff;
}

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

.post-content ul, 
.post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

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

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

/* Category Page Styles */
.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.category-header p {
    color: #888;
    font-size: 1.1rem;
}

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

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #252525;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-color);
}

.pagination a.active {
    background: var(--primary-color);
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-post {
        padding: 1rem;
    }

    .post-hero-image {
        margin: -1rem -1rem 1rem;
        height: 250px;
    }

    .blog-post h1 {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }
}

/* Social Share Buttons (Optional) */
.social-share {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background: var(--primary-color);
}

/* Related Posts (Optional) */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.related-posts h3 {
    margin-bottom: 1rem;
    color: #fff;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        margin-top: 40px;
    }
} 

/* Add this to your CSS */
article.section-full-width {
    padding-top: 100px; /* Adjust this value based on your header height */
}

/* Update the blog layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Update the blog post container */
.blog-post {
    width: 100%;
    background: #252525;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Update the sidebar */
.blog-sidebar {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Remove section padding */
.section-full-width.section-padding {
    padding: 0;
}

/* Adjust hero text spacing */
.hero-text {
    margin-bottom: 0;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.8;
    line-height: 1.3;
    margin-bottom: 0;
}

.section-subtitle {
    margin-bottom: 0.5rem;
}

/* Post excerpt adjustments */
.post-excerpt {
    margin: 0;
}

.post-excerpt p {
    margin: 0;
    line-height: 1.2;
}

/* Adjust excerpt and content spacing */
.post-excerpt {
    margin: 0;
}

.post-excerpt p {
    margin: 0;
    line-height: 1.2;
}

/* Adjust card content spacing */
.post-card > *:not(.post-image) {
    padding: 0.35rem 1rem;
}

.post-card > *:first-child {
    padding-top: 0.75rem;
}

.post-card > *:last-child {
    padding-bottom: 0.75rem;
}

/* Adjust meta spacing */
.post-meta {
    margin: 0.15rem 0;
}

/* Adjust tags spacing */
.post-tags {
    margin: 0.25rem 0;
}

/* Read More button styling */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.read-more:hover {
    opacity: 0.8;
}

.read-more:hover i {
    transform: translateX(3px);  /* Slight arrow movement on hover */
}

/* Adjust spacing around read more button */
.post-card .read-more {
    margin-top: 0.25rem;  /* Small space above button */
    padding-bottom: 0.5rem;  /* Small space at bottom of card */
}

/* Promo bar styling */
.promo-bar {
    margin-top: 70px;
    background: #191919;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.promo-link {
    transition: opacity 0.2s ease;
}

.promo-link:hover {
    opacity: 0.8;
}

.promo-link img {
    height: 55px;
    width: auto;
    transition: transform 0.2s ease;
}

.promo-link:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .promo-link img {
        height: 45px;
    }
    
    .promo-container {
        gap: 2rem;
    }
}

/* Mobile Menu Base Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1000;
    position: relative;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: 0.4s;
    position: relative;
}

.mobile-menu {
    display: none;
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: block;
        position: relative;
        z-index: 1000;
        padding: 20px;
        margin-right: -10px;
    }
    
    /* Hide regular nav */
    .nav-center {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 80vh;
        background: #191919;
        z-index: 999;
        padding: 60px 20px 20px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    /* Show nav when active */
    .nav-center.active {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }
    
    /* Mobile Categories */
    .mobile-categories {
        margin: 8px 0;
        width: 100%;
    }
    
    .mobile-categories select {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        color: #fff;
        background: #252525;
        border: 1px solid #333;
        border-radius: 6px;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1em;
    }
    
    .mobile-categories select:focus {
        outline: none;
        border-color: var(--primary-color);
    }
    
    /* Style the options */
    .mobile-categories select option {
        background: #252525;
        color: #fff;
        padding: 12px;
    }
    
    /* Remove list styling for mobile categories */
    .nav-links .mobile-categories {
        list-style: none;
        padding: 0;
    }
}

/* Animation Classes */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Navigation Container */
@media screen and (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        height: 70px;
        background: #191919;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
}

/* Base styles for larger screens */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Menu Base Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1000;
    position: relative;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.mobile-menu {
    display: none;
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
    .section-content {
        width: 95%;
        padding: 0 15px;
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* Layout adjustments */
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-sidebar {
        display: none;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    /* Navigation */
    .hamburger {
        display: block;
        position: relative;
        z-index: 1000;
        padding: 20px;
        margin-right: -10px;
    }
    
    .nav-center {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 80vh;
        background: #191919;
        z-index: 999;
        padding: 60px 20px 20px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .nav-center.active {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
        margin: 0;
    }
    
    .nav-links li {
        list-style: none;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
        color: #fff;
        text-decoration: none;
        background: #252525;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    /* Mobile Categories */
    .mobile-categories {
        margin: 8px 0;
    }
    
    .mobile-categories select {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        color: #fff;
        background: #252525;
        border: 1px solid #333;
        border-radius: 6px;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1em;
    }
    
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Navigation Container */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        height: 70px;
        background: #191919;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Hide mobile elements by default */
.mobile-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    /* Mobile Categories */
    .mobile-categories {
        margin: 8px 0;
        width: 100%;
    }
    
    .mobile-categories select {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        color: #fff;
        background: #252525;
        border: 1px solid #333;
        border-radius: 6px;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1em;
    }
    
    .mobile-categories select:focus {
        outline: none;
        border-color: var(--primary-color);
    }
}

/* Post Content Link Styles */
.post-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.post-content a:hover {
    opacity: 0.8;
}