
/* Βασικό στυλ για το body και το header */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212; /* Σκούρο φόντο για να ταιριάζει με την εικόνα */
    color: #f8f9fa; /* Ανοιχτό χρώμα για το κείμενο */
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* This ensures the navbar is on top of other content */
}

/* Article Page Specific Styles */
.main-content {
    padding-top: 5rem;
    padding-bottom: 2rem;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem clamp(1.5rem, 5vw, 3rem);
    border-left: 4px solid #2563eb;
    background-color: #1a1a1a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Vertical Blue Line */
.blue-line {
    border-left: 4px solid #2563eb;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.article-container {
    position: relative;
}

/* Article Header Meta */
.article-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.category-badge {
    background-color: #e5e7eb;
    color: #1f2937;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
}

.author-name {
    color: #2a3cff;
    font-weight: 600;
}

/* Article Title */
.article-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Main Article Image */
.article-main-image {
    margin-bottom: 2rem;
}

.article-main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    color: #d1d5db;
    font-size: 1.125rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}
.article-content h2, .article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
    color: #ffffff;
}
.article-content a {
    color: #2a3cff;
    text-decoration: none;
    border-bottom: 1px solid #2a3cff;
    transition: color 0.3s ease;
}
.article-content a:hover {
    color: #004bff;
}

/* Slideshow Container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    margin-bottom: 2rem; /* Add some space below the slideshow */
}
.mySlides {
    display: none;
}
.mySlides img {
    width: 100%;
    vertical-align: middle;
    border-radius: 8px;
}
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 8px 8px;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Audio Player */
.audio-player-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.audio-player-container h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.25rem;
}

.audio-player-container i {
    margin-right: 8px;
    color: #0d6efd;
}

.audio-player-container audio {
    width: 100%;
    margin-top: 1rem;
}

.audio-player-container div {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Article Footer Meta (Likes, Shares) */
.article-footer-meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.actions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.likes-section, .social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    background-color: #f0f2f5;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

.like-btn[disabled] {
    background-color: #d1d5db;
    cursor: not-allowed;
}

.facebook-share-button {
    background-color: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
}

.facebook-share-button:hover {
    background-color: #166FE5;
    border-color: #166FE5;
}

/* Shares section */
.shares-section {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: auto;
}
.shares-section span {
    font-weight: bold;
    color: #2a3cff;
}

/* SEO Tags Box */
.seo-tags-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.seo-tags-box h4 {
    margin-top: 0;
    font-size: 1.125rem;
    color: #1f2937;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag {
    background-color: #6b7280;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #4b5563;
}

/* Back Home Button */
.back-home-button {
    margin-top: 40px;
    text-align: center;
}

.back-home-button a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    padding: 10px 15px;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-home-button a:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .article-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

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

    .actions-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .likes-section, .social-share, .shares-section {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}
