@charset "utf-8";

/* ============================================================ */
/* Design Tokens & Theme (Premium Morandi Blue) */
/* ============================================================ */
:root {
    --primary-color: #4a69bd;           /* Morandi Blue */
    --primary-hover: #1e3799;
    --primary-light: #f0f3f9;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.05);
    --card-shadow-hover: 0 8px 25px rgba(0,0,0,0.1);
    --border-radius: 12px;
}

body {
    font-family: "Inter", "Lato", sans-serif;
    color: var(--text-main);
    line-height: 1.625;
    padding-top: 5.0rem;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

/* ============================================================ */
/* Components: Cards */
/* ============================================================ */
.card, .rounded-xl {
    border: none !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card {
    overflow: hidden;
}

/* Card & Container Hover Animation */
.card:hover, .rounded-xl:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.rounded-xl-bottom {
    border-bottom-right-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
}

.rounded-xl-top {
    border-top-left-radius: var(--border-radius) !important;
    border-top-right-radius: var(--border-radius) !important;
}

/* ============================================================ */
/* Navigation & Elements */
/* ============================================================ */
.navbar {
    background-color: rgba(45, 52, 54, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-item.active .nav-link {
    background-color: var(--primary-color) !important;
    border-radius: 6px;
    padding: 0.5rem 1rem !important;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

a.text-body, .abstract-links a {
    color: var(--primary-color) !important;
}

a.text-body:hover {
    color: var(--primary-hover) !important;
}

/* Utility */
.email-text {
    font-family: "Source Code Pro", monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.text-profile-bio {
    font-size: 1.05rem;
    color: #444;
}

/* Badges & Buttons */
.badge-info {
    background-color: #f1f2f6 !important;
    color: var(--primary-color) !important;
    border: 1px solid #dfe4ea;
    padding: 0.4em 0.8em;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
}

/* Sidebar Year Navigation */
#navbar-year .nav-link {
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

#navbar-year .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-light) !important;
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
}

#navbar-year .nav-link:hover {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

/* Lazy Load background */
img.lazy, div.lazy {
    background-color: #f1f2f6;
    min-height: 100px;
}