/* 
 * IJCRCST - Custom Stylesheet
 * Premium Theme
 */

 :root {
    --primary-color: #005e5b; /* Dark Teal */
    --primary-hover: #004543;
    --primary-light: #00827f;
    --secondary-color: #0a2e2d; /* Very dark teal */
    --accent-color: #d19a22; /* Premium Gold/Mustard */
    --accent-hover: #b58319;
    --bg-light: #f4f8f7; /* Soft tinted background */
    --bg-white: #ffffff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --text-light-muted: #9ca3af;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-primary-light { color: var(--primary-light) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }
.text-light-muted { color: var(--text-light-muted) !important; }
.hover-white:hover { color: white !important; }

/* Buttons */
.btn-primary { 
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
}
.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-color);
}
.top-bar-right a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 1.2rem;
    transition: color 0.2s ease;
}
.top-bar-right a:hover {
    color: var(--accent-color);
}

/* Header */
.main-header {
    border-bottom: 1px solid var(--border-color);
    background: white;
}
.journal-title {
    color: var(--secondary-color) !important;
}
.journal-tags .badge-subtle {
    background-color: rgba(0, 94, 91, 0.08);
    color: var(--primary-color);
    font-weight: 500;
    margin-right: 5px;
    border: 1px solid rgba(0, 94, 91, 0.2);
    padding: 0.35em 0.65em;
    border-radius: 4px;
}
.btn-submit-header {
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 94, 91, 0.3);
}

/* Navbar */
.sticky-nav-wrapper {
    z-index: 1020;
}
.navbar {
    background-color: var(--primary-color) !important;
}
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 1rem 1.2rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    background-color: rgba(255, 255, 255, 0.05);
}
.dropdown-menu {
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    padding: 0.5rem 0;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.dropdown-item {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Ticker */
.updates-ticker {
    background-color: var(--primary-light);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}
.ticker-title {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') center center / cover;
    position: relative;
    padding: 7rem 0 9rem 0;
    color: white;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 94, 91, 0.95) 0%, rgba(10, 46, 45, 0.85) 100%);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-color);
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.15;
    color: white;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hero-list li {
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-size: 1.1rem;
}
.hero-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Glassmorphism Element */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Quick Info Cards */
.quick-info-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: 0 15px 35px rgba(0, 94, 91, 0.08);
    height: 100%;
    border: none;
    border-bottom: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.info-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 94, 91, 0.15);
}
.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}
.info-card:hover .info-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}
.info-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.info-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Sections General */
.section-padding {
    padding: 6rem 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--secondary-color);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 20px;
    border-radius: 2px;
}
.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* Custom Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}
.feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 94, 91, 0.08);
    border-color: rgba(0, 94, 91, 0.2);
}

/* Call for Papers Card */
.cfp-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 94, 91, 0.1);
    border: none;
}
.cfp-header {
    background: var(--secondary-color);
    color: white;
    padding: 2rem;
    border-bottom: 4px solid var(--accent-color);
}
.cfp-body {
    padding: 2.5rem;
}

/* Publication Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 2rem;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: rgba(0, 94, 91, 0.1);
    z-index: 1;
}
.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}
.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid rgba(0, 94, 91, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.process-step:hover .step-icon {
    border-color: var(--accent-color);
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}
.step-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* Indexing Section */
.indexing-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}
.indexing-logos img {
    max-height: 50px;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}
.indexing-logos img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Footer */
.footer-dark {
    background-color: var(--secondary-color);
    border-top: 4px solid var(--accent-color);
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icons a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Article Lists */
.article-list {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.article-item {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}
.article-item:last-child {
    border-bottom: none;
}
.article-item:hover {
    background-color: var(--bg-light);
}
.article-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 94, 91, 0.1);
    border-radius: 20px;
}
.article-title-link {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}
.article-title-link:hover {
    color: var(--primary-color);
}
.article-authors {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.article-meta {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}
