/* Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #f3f4f6;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}

/* Layout */
.page {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Header & nav */
header {
    background: radial-gradient(circle at top left, #1f2937, #020617);
    color: #f9fafb;
    padding: 20px 24px;
}
header .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
header .logo-text {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #e5e7eb;
}
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
nav a {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    color: #e5e7eb;
    border: 1px solid transparent;
}
nav a:hover,
nav a.active {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    padding: 32px 24px 24px;
}
.hero-text h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}
.hero-text h2 {
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 16px;
}
.hero-text p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 18px;
}
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.badge {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #f9fafb;
}
.btn.secondary {
    background: #ffffff;
    color: #0f172a;
}
.btn:hover {
    opacity: 0.92;
}

/* Sections */
.section {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
}
.section h2 {
    font-size: 22px;
    margin-bottom: 10px;
}
.section h3 {
    font-size: 18px;
    margin-top: 14px;
    margin-bottom: 6px;
}
.section p {
    font-size: 15px;
    color: #374151;
    margin-bottom: 8px;
}
.section ul {
    padding-left: 18px;
    margin-bottom: 10px;
}
.section li {
    margin-bottom: 4px;
}

/* Cards & lists */
.timeline {
    border-left: 2px solid #e5e7eb;
    margin-top: 8px;
    padding-left: 16px;
}
.timeline-item {
    margin-bottom: 14px;
}
.timeline-item span.year {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}
.timeline-item p {
    margin: 3px 0;
}
.media-list a {
    color: #2563eb;
}
.media-list a:hover {
    text-decoration: underline;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

/* Footer */
footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
}
footer .social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
footer a {
    color: #2563eb;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Highlight Career page links */
.timeline a {
    color: #0056d6;      /* albastru modern */
    font-weight: 500;    /* puțin mai vizibil */
    text-decoration: none;
}

.timeline a:hover {
    text-decoration: underline;
    color: #003c99;      /* albastru închis la hover */
}

