/* ============================================
   IJSAHM JOURNAL - MAIN STYLESHEET
   Font: Garamond throughout
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c3e2f;
    background-color: #f9fbf5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3b 100%);
    color: white;
    padding: 40px 0 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.journal-title {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.journal-subtitle {
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.95;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    background-color: #0e2a1c;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 0;
}

.logo:hover {
    color: #c9a03d;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: #2d5a3b;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(rgba(26,71,42,0.85), rgba(26,71,42,0.85)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1600') center/cover fixed;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e8dc;
}

.section-title {
    font-size: 2rem;
    color: #1a472a;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #c9a03d;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.about-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card i {
    font-size: 2.5rem;
    color: #c9a03d;
    margin-bottom: 15px;
}

.about-card h3 {
    color: #1a472a;
    margin-bottom: 15px;
}

/* ============================================
   PRICE PAGE
   ============================================ */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.price-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: scale(1.02);
}

.price-header {
    background: linear-gradient(135deg, #1a472a, #2d5a3b);
    color: white;
    padding: 30px;
    text-align: center;
}

.price-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 15px 0;
}

.price-amount small {
    font-size: 1rem;
}

.price-body {
    padding: 30px;
}

.price-body ul {
    list-style: none;
}

.price-body li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.price-body li i {
    color: #c9a03d;
    margin-right: 10px;
}

.badge {
    display: inline-block;
    background: #c9a03d;
    color: #1a472a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 10px;
}

.payment-methods {
    background: #f0f4ec;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.payment-icons i {
    font-size: 2rem;
    margin: 10px 15px 10px 0;
    color: #1a472a;
}

/* ============================================
   SUBMISSION PAGE
   ============================================ */
.submission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.submission-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.submission-box h3 {
    color: #1a472a;
    margin-bottom: 15px;
}

.email-link {
    display: inline-block;
    background: #1a472a;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin: 15px 0;
    transition: background 0.3s;
}

.email-link:hover {
    background: #2d5a3b;
}

.download-btn {
    display: inline-block;
    background: #c9a03d;
    color: #1a472a;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #b88a2a;
    transform: translateY(-2px);
}

/* ============================================
   ANNOUNCEMENTS PAGE
   ============================================ */
.announcement-item {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #c9a03d;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.announcement-date {
    color: #c9a03d;
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.announcement-item h3 {
    color: #1a472a;
    margin-bottom: 10px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-info i {
    font-size: 2rem;
    color: #1a472a;
    margin-bottom: 15px;
}

.contact-info h3 {
    color: #1a472a;
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #1a472a;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c9a03d;
}

.submit-btn {
    background: #1a472a;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Garamond', 'Georgia', serif;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c9a03d;
    color: #1a472a;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #0e2a1c;
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-grid h4 {
    margin-bottom: 15px;
    color: #c9a03d;
}

.footer-grid a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: #c9a03d;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d5a3b;
    font-size: 0.85rem;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a472a;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: #c9a03d;
    color: #1a472a;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #0e2a1c;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .journal-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
html {
    scroll-behavior: smooth;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.bg-light {
    background-color: #f0f4ec;
}

.alert {
    padding: 15px;
    background-color: #fff8e7;
    border-left: 4px solid #c9a03d;
    margin-bottom: 20px;
}