﻿
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-light: #7f8c8d;
    --bg-light: #ecf0f1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    line-height: 1.6;
}
.getcolor {
    color: #333;
}
/* Header Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    background-color: white !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

    .article-header h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 20px;
    }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

    .article-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

/* Article Image */
.article-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .article-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

    .article-content p {
        margin-bottom: 20px;
    }

    .article-content h3 {
        color: var(--primary-color);
        margin-top: 30px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .article-content blockquote {
        border-left: 4px solid var(--secondary-color);
        padding-left: 20px;
        margin: 30px 0;
        font-style: italic;
        color: var(--text-light);
    }

/* Share Buttons */
.share-section {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .share-btn:hover {
        transform: translateY(-2px);
        color: white;
    }

    .share-btn.facebook {
        background-color: #3b5998;
    }

    .share-btn.twitter {
        background-color: #1da1f2;
    }

    .share-btn.linkedin {
        background-color: #0077b5;
    }

    .share-btn.whatsapp {
        background-color: #25d366;
    }

/* Author Box */
.author-box {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Related Articles */
.related-article {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 100%;
}

    .related-article:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .related-article img {
        height: 150px;
        object-fit: cover;
    }

/* Comments Section */
.comment {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

    .comment:last-child {
        border-bottom: none;
    }

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Back Button */
.back-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

    .back-btn:hover {
        background-color: #34495e;
        color: white;
        transform: translateX(-5px);
    }

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .article-image img {
        height: 250px;
    }
}
