/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════════════
   🎨 COLOR SCHEME CUSTOMIZATION
   ═══════════════════════════════════════════════════════════════════
   
   Change these colors to customize the entire website theme:
   
   --primary-color: Main brand color (buttons, titles, accents)
   --primary-dark: Darker version (hover states, gradients)
   --primary-light: Lighter version (subtle highlights)
   
   Current: Umber/Maroon academic theme (#800000)
   
   Popular academic alternatives:
   - Navy Blue: #1e3a8a
   - Forest Green: #14532d
   - Deep Purple: #581c87
   - Traditional Red: #991b1b
   
   ═══════════════════════════════════════════════════════════════════ */

:root {
    /* PRIMARY COLORS - Change these to rebrand */
    --primary-color: #800000;       /* Main umber/maroon */
    --primary-dark: #5c0000;        /* Darker shade */
    --primary-light: #a61c1c;       /* Lighter shade */
    
    /* TEXT COLORS - Usually don't need to change */
    --text-dark: #1a1a1a;           /* Main text */
    --text-medium: #4a4a4a;         /* Secondary text */
    --text-light: #6a6a6a;          /* Tertiary text */
    
    /* BACKGROUND COLORS */
    --bg-light: #fafafa;            /* Light gray background */
    --bg-white: #ffffff;            /* White sections */
    
    /* BORDERS & SHADOWS */
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Crimson Pro', 'Noto Serif SC', 'Noto Serif Tibetan', serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--bg-white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Header */
.header {
    background: var(--bg-white);
    padding: 16px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.journal-logo svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
}

.journal-title {
    flex: 1;
}

.title-tibetan {
    font-family: 'Noto Serif Tibetan', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.title-chinese {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.title-english {
    font-family: 'Crimson Pro', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-medium);
    font-style: italic;
}

.nav {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-headline {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-meta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-item strong {
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 48px;
}

/* About Section */
.about-section {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    gap: 32px;
}

.about-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.about-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.about-card p {
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.8;
}

.about-card ul {
    list-style: none;
    padding-left: 0;
}

.about-card ul li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

.about-card ul li:last-child {
    border-bottom: none;
}

.about-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
}

.institutions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.institution {
    padding: 20px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.institution h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.institution p {
    font-size: 14px;
    color: var(--text-light);
}

.editorial-office {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.editorial-office strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

/* Call for Papers Section */
.call-section {
    background: var(--bg-light);
}

.call-content {
    max-width: 900px;
    margin: 0 auto;
}

.full-call {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.full-call h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.full-call h3:first-child {
    margin-top: 0;
}

.full-call p {
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 16px;
    text-align: justify;
}

.call-intro p {
    font-size: 17px;
    line-height: 2;
}

/* Submission Section */
.submission-section {
    background: var(--bg-white);
}

.submission-content {
    display: grid;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.submission-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.submission-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.submission-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.submission-card.highlight h3 {
    color: white;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 16px;
}

.email-display svg {
    width: 32px;
    height: 32px;
    color: white;
}

.email-display a {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.note {
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

.deadline-display {
    padding: 24px;
    background: var(--bg-white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-highlight {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.contact-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-link {
    font-size: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.partners-list p {
    margin: 12px 0;
    color: var(--text-medium);
}

.closing-message {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-white);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.blessing {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.8;
    font-style: italic;
}

.signature {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.date {
    font-size: 16px;
    color: var(--text-medium);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo h3 {
    font-family: 'Noto Serif Tibetan', serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
    margin: 4px 0;
}

/* Language Content Display */
.lang-content {
    transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════
   FONT SPECIFICATIONS BY LANGUAGE
   ═══════════════════════════════════════════════════════════════════
   These fonts are specifically chosen for academic readability:
   - Tibetan: Noto Serif Tibetan (traditional, scholarly)
   - Chinese: Noto Serif SC (Simplified Chinese, academic serif)
   - English: Crimson Pro (classic academic serif)
   ═══════════════════════════════════════════════════════════════════ */

/* Tibetan Font */
[data-lang-content="bo"] {
    font-family: 'Noto Serif Tibetan', serif;
    font-size: 18px;
    line-height: 2;
}

/* Chinese Font - Academic Serif for Better Readability */
[data-lang-content="zh"] {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    line-height: 1.9;
}

/* English Font */
[data-lang-content="en"] {
    font-family: 'Crimson Pro', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .full-call {
        padding: 24px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav {
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: white;
}