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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c2c2c;
    --accent-color: #d4af37;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Times New Roman', serif;
    letter-spacing: -1px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.1);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto;
}

/* Featured Issue */
.featured-issue {
    margin-bottom: 4rem;
}

.issue-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.issue-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.issue-card.featured {
    border: 3px solid var(--accent-color);
}

.issue-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.issue-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.issue-date {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.issue-content {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    align-items: flex-start;
}

.issue-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.issue-text {
    flex: 1;
}

.issue-text h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.issue-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.article-preview {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.article-preview h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.article-preview ul {
    list-style: none;
    padding-left: 0;
}

.article-preview li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.article-preview li:before {
    content: "▶";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.article-preview li:last-child {
    border-bottom: none;
}

.read-more-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.read-more-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.read-more-btn.disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin: 3rem 0;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Past Issues */
.past-issues {
    margin-top: 4rem;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.issue-card .issue-image {
    width: 200px;
    height: 250px;
}

.placeholder-image {
    width: 200px;
    height: 250px;
    background: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
}

footer p:first-child {
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .issue-content {
        flex-direction: column;
        text-align: center;
    }
    
    .issue-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }
    
    .issues-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .issue-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Authors Page Styles */
.authors-section {
    padding: 2rem 0;
}

.intro-text {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.author-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.author-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-color);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.author-initial {
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    font-family: 'Times New Roman', serif;
}

.author-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-role {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.author-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.author-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.specialty {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.join-team {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.join-team h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.join-team p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
}

.contact-info p {
    margin: 0;
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .issue-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
    }
    
    .author-card {
        padding: 1.5rem;
    }
    
    .join-team {
        padding: 2rem;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
}
