/*
Theme Name: AJMS Aksum University Theme
Description: Official Multidisciplinary Journal Template - Optimized 2026
Version: 2.0
*/

/* ==========================================================================
   1. GLOBAL SETTINGS & VARIABLES
   ========================================================================== */
:root {
    --aku-blue: #003366;
    --aku-dark: #001a33;
    --axum-gold: #D4AF37;
    --axum-gold-dark: #B8860B;
    --bg-light: #F4F7F9;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #718096;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html { scroll-behavior: smooth; }

body { 
    font-family: 'Lora', serif; 
    background: var(--bg-light); 
    margin: 0; 
    color: var(--text-dark); 
    line-height: 1.6;
}

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

/* ==========================================================================
   2. STICKY HEADER & NAVIGATION
   ========================================================================== */
.ajms-header { 
    background: var(--white); 
    border-bottom: 3px solid var(--axum-gold); 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1); 
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 5px 0; /* Compact Header */
}

.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 5px 0; 
}

.logo-wrap { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; 
}

.logo-wrap img { height: 50px; }

.brand-h { 
    font-family: 'Cinzel', serif; 
    font-size: 22px; 
    color: var(--aku-blue); 
    margin: 0; 
}

.nav-links-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links-list li a {
    text-decoration: none;
    color: var(--aku-blue);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links-list li a:hover { color: var(--axum-gold); }

/* ==========================================================================
   3. COMPACT HERO SECTION (Fixed "Huge Black Space")
   ========================================================================== */
.hero-animated {
    background: linear-gradient(rgba(0,35,70,0.85), rgba(0,20,40,0.95)), 
                url('assets/images/campus.jpg'); /* Ensure this image exists */
    background-size: cover;
    background-position: center;
    padding: 60px 0; /* Small, attractive height */
    color: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--axum-gold);
}

.hero-glass-box {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-block;
    max-width: 850px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.hero-glass-box h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin: 0 0 10px 0;
}

.hero-glass-box p {
    color: var(--axum-gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.btn-submit-main {
    background: var(--axum-gold);
    color: var(--aku-dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit-main:hover {
    transform: translateY(-3px);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   4. RESEARCH WINGS (BENTO GRID INTERACTIVITY)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.bento-card-link {
    text-decoration: none !important;
    color: inherit;
}

.bento-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(0, 51, 102, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.12);
    border-color: var(--axum-gold);
}

/* Golden line that appears on hover */
.bento-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: var(--axum-gold);
    transition: width 0.4s ease;
}

.bento-card:hover::after {
    width: 100%;
}

.icon-circle {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.5s ease;
}

.bento-card:hover .icon-circle {
    transform: scale(1.3) rotate(10deg);
}

.bento-card h4 {
    font-family: 'Cinzel', serif;
    color: var(--aku-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   5. FOOTER (HORIZONTAL 4-COLUMN LAYOUT)
   ========================================================================== */
.ajms-footer-site {
    background: var(--aku-dark);
    color: var(--white);
    padding: 60px 0 0 0;
    margin-top: 60px;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--axum-gold);
    font-family: 'Cinzel', serif;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links li a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--axum-gold);
    padding-left: 5px;
}

.footer-copyright-bar {
    background: #00050a;
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================================
   6. RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
    .footer-layout { grid-template-columns: 1fr 1fr; }
    .hero-glass-box h1 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .footer-layout { grid-template-columns: 1fr; text-align: center; }
    .nav-links-list { display: none; } /* Hide nav on mobile or use a burger menu */
    .hero-glass-box { padding: 20px; }
}