/* CIVIS Diachronic Linguistics 2026 - Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0D47A1;
    --primary-light: #1565C0;
    --accent: #1976D2;
    --civis-blue: #0055A4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fafafa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.2);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(21, 101, 192, 0.85) 100%),
                url('https://images.pexels.com/photos/161477/greek-white-building-santorini-greece-161477.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* CIVIS Badge */
.civis-badge {
    background: var(--civis-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
    margin: 2rem 0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    border-left: 3px solid var(--accent);
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid white;
}

.timeline-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Info Box */
.info-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--primary);
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Alert Box */
.alert {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--primary);
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

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

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

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

.btn-civis {
    background: var(--civis-blue);
}

.btn-civis:hover {
    background: #003d7a;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
}
