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

:root {
    --primary-red: #FF3333;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --accent-red: #cc0000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--darker-bg);
}

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

/* Navigation */
.navbar {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo img {
    height: 60px;
    width: auto;
    background-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--light-text);
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary-red);
}

/* Hero Section with Background */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.hero-overlay {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    padding: 5rem 0;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-red) 50%, transparent 100%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--primary-red);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red);
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 2;
    color: var(--light-text);
    margin: 0 auto;
    max-width: 800px;
    padding: 2rem;
    background: rgba(255, 51, 51, 0.05);
    border-left: 4px solid var(--primary-red);
    border-right: 4px solid var(--primary-red);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-red) 50%, transparent 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
    position: relative;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--primary-red);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.about-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red);
}

.about-content p {
    font-size: 1.3rem;
    line-height: 2;
    color: var(--light-text);
    margin: 0 auto;
    max-width: 800px;
    padding: 2rem;
    background: rgba(255, 51, 51, 0.05);
    border-left: 4px solid var(--primary-red);
    border-right: 4px solid var(--primary-red);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--darker-bg);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-red);
}

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

.service-card {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray-text);
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-red) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--light-text);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-red);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--light-text);
}

/* Latest Posts Section */
.latest-posts {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.latest-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-red);
}

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

.post-card {
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.2);
}

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

.post-content {
    padding: 1.5rem;
}

.post-date {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.post-card h3,
.post-card h2 {
    margin-bottom: 0.75rem;
}

.post-card a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.post-card h3 a:hover,
.post-card h2 a:hover {
    color: var(--primary-red);
}

.post-card p {
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    background-color: var(--primary-red);
    color: var(--light-text);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Page Header */
.page-header {
    background-color: var(--dark-bg);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: var(--primary-red);
}

/* Blog List */
.blog-list {
    padding: 4rem 0;
}

.empty-blog {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.empty-blog h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.empty-blog p {
    color: var(--gray-text);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background-color: var(--darker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.3);
}

.project-video {
    width: 100%;
    background-color: #000;
}

.project-video video {
    width: 100%;
    height: auto;
    display: block;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-info p {
    color: var(--primary-red);
    line-height: 1.8;
    font-size: 1.1rem;
}

.project-info code {
    background-color: var(--darker-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--primary-red);
    font-size: 0.9rem;
}

.add-more-info {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-bg);
    border-radius: 10px;
    border: 2px dashed var(--primary-red);
}

.add-more-info h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.add-more-info p {
    color: var(--gray-text);
    font-size: 1rem;
}

.add-more-info code {
    background-color: var(--darker-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--primary-red);
}

/* Single Post */
.single-post {
    background-color: var(--dark-bg);
}

.post-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta time {
    color: var(--primary-red);
    font-weight: 600;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--light-text);
}

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

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

.post-content {
    padding: 3rem 0;
}

.post-content h2 {
    color: var(--primary-red);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    color: var(--light-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    margin-bottom: 1rem;
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-text);
}

.post-content a {
    color: var(--primary-red);
    text-decoration: underline;
}

.post-footer {
    padding: 2rem 0 3rem;
    border-top: 2px solid var(--darker-bg);
}

.share-section {
    text-align: center;
    margin-bottom: 2rem;
}

.share-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.back-to-blog {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-red);
}

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

.footer-logo img {
    height: 80px;
    width: auto;
    background-color: transparent;
}

.footer-info h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--gray-text);
}

.footer-social h4 {
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

.footer-social .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-bg);
}

.footer-bottom p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero {
        min-height: 80vh;
        background-attachment: scroll;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 1.5rem;
        line-height: 1.8;
    }
    
    .about-content {
        padding: 0 1.5rem;
    }
    
    .about-content h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-content p {
        font-size: 1.1rem;
        padding: 1.5rem;
        line-height: 1.8;
    }
    
    .services h2,
    .latest-posts h2,
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

