/* Article Page Styles - GTA San Andreas Style */

:root {
    --gta-orange: #FF8C00;
    --gta-purple: #9B4DCA;
    --gta-green: #00FF00;
    --gta-yellow: #FFD700;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)),
                url('../images/фон для сайта.jpg') center center / cover fixed;
    color: #ffffff;
    line-height: 1.8;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--gta-orange);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--gta-orange);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.7);
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--gta-orange);
}

/* Article Container */
.article-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Article Header */
.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--gta-orange);
    font-size: 0.95rem;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, var(--gta-orange), var(--gta-purple));
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.article-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: var(--gta-orange);
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    font-weight: 300;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.3);
}

/* Article Content */
.article-content {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
}

.article-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--gta-orange);
    margin: 2rem 0 1rem;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

.article-content h3 {
    font-size: 1.8rem;
    color: var(--gta-yellow);
    margin: 1.5rem 0 1rem;
}

.article-content p {
    font-size: 1.1rem;
    color: #dddddd;
    margin: 1.5rem 0;
    line-height: 1.9;
}

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

.article-content li {
    font-size: 1.1rem;
    color: #dddddd;
    margin: 0.8rem 0;
    line-height: 1.7;
}

.article-content strong {
    color: var(--gta-orange);
    font-weight: 700;
}

.article-content em {
    color: var(--gta-yellow);
    font-style: italic;
}

.article-content blockquote {
    border-left: 4px solid var(--gta-orange);
    background: rgba(255, 140, 0, 0.1);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
    font-style: italic;
    color: #ffffff;
}

.article-content code {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--gta-green);
    font-size: 0.95rem;
}

.article-content pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(155, 77, 202, 0.2));
    border: 2px solid var(--gta-orange);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    margin-top: 0;
}

/* Call to Action */
.article-cta {
    background: linear-gradient(135deg, var(--gta-orange), var(--gta-purple));
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background: white;
    color: var(--gta-purple);
    transform: scale(1.05);
}

/* Back to Blog */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gta-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-to-blog:hover {
    gap: 1rem;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.7);
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 140, 0, 0.3);
}

.related-articles h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--gta-orange);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

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

.related-card {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--gta-orange);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

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

.related-card h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid var(--gta-orange);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

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

.footer-section h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--gta-orange);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #aaaaaa;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin: 0.8rem 0;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gta-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    color: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-content h2 {
        font-size: 2rem;
    }
    
    .article-content h3 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}
