/* ISSN COMPLIANT ACADEMIC JOURNAL STYLESHEET */

:root {
    --primary-color: #0056b3;
    --secondary-color: #003d82;
    --accent-color: #ff6b35;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.text-justify {
    text-align: justify;
}

/* Top Bar */
.top-bar {
    background: var(--secondary-color);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Journal Header */
.journal-header {
    background: white;
    border-bottom: 3px solid var(--primary-color);
}

.journal-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.journal-meta, .journal-contact {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-link {
    color: white !important;
    padding: 0.75rem 1rem !important;
    transition: background 0.3s;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero-section-issn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

/* Article Cards */
.article-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.article-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-authors {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.article-abstract {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 0;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer ul {
    padding-left: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.15);
}

textarea.form-control {
    min-height: 150px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Content Sections */
.content-section {
    margin-bottom: 2rem;
}

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

/* Volume and Issue Cards */
.volume-section, .issue-section {
    margin-bottom: 2rem;
}

.issue-header {
    background: var(--bg-light);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.articles-list .list-group-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.articles-list .list-group-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

/* Statistics */
.stat-box {
    text-center;
    padding: 2rem 1rem;
}

.stat-box i {
    color: var(--primary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.5rem 0;
}

.stat-box p {
    color: var(--text-light);
    margin: 0;
}

/* Cards */
.card {
    border-radius: 8px;
    border: none;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    font-weight: 600;
}

/* Alerts */
.alert {
    border-radius: 6px;
    border: none;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    background: var(--bg-light);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .journal-title {
        font-size: 1.5rem;
    }
    
    .hero-section-issn {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .article-card {
        margin-bottom: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .top-bar, .navbar, .footer, .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .article-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
