/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background: #fff;
    border-bottom: 3px solid #2c3e50;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.journal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.journal-logo {
    max-height: 80px;
    margin-right: 20px;
}

.journal-title {
    flex: 1;
    min-width: 300px;
}

.journal-title h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

.journal-description {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Navigation */
.navbar {
    background: #2c3e50 !important;
    border-radius: 0;
    margin-bottom: 20px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ecf0f1;
    font-weight: 500;
    padding: 15px 20px;
    transition: background 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: #34495e;
    color: #fff;
}

/* Main Content */
.main-content {
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.page-header {
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Article Lists */
.article-list {
    list-style: none;
    padding: 0;
}

.article-item {
    border-bottom: 1px solid #ecf0f1;
    padding: 20px 0;
}

.article-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #e74c3c;
}

.article-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.article-authors {
    font-style: italic;
}

.article-abstract {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-download {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.article-download:hover {
    background: #c0392b;
    color: white;
    text-decoration: none;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-weight: 600;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 8px;
}

.sidebar ul li a {
    color: #34495e;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.sidebar ul li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    margin-top: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e74c3c;
}

.copyright {
    background: #1a252f;
    color: #95a5a6;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Search Box */
.search-form {
    margin-bottom: 20px;
}

.search-form input {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px 12px;
    width: 70%;
}

.search-form button {
    background: #e74c3c;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .journal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .journal-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 15px;
        border-bottom: 1px solid #34495e;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
}

/* Additional Styling for OJS Elements */
.alert {
    border-radius: 3px;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 8px 0;
    margin-bottom: 20px;
}

.pagination {
    margin-top: 30px;
}

.pagination .page-link {
    color: #2c3e50;
    border: 1px solid #ddd;
}

.pagination .page-item.active .page-link {
    background: #e74c3c;
    border-color: #e74c3c;
}