/* Minimal Academic Theme - Inspired by vene.ro */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Vollkorn", Georgia, "Times New Roman", serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-size: 18px;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: #444;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.3rem 0;
    color: #555;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* Navigation */
.main-nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

.main-nav a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-line {
    width: 2rem;
    height: 0.2rem;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* Header section */
.header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.header-text {
    flex: 1;
}

.contact-info {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.contact-info i {
    margin-right: 0.3rem;
    width: 1em;
}

/* Main content structure */
main {
    margin-bottom: 2rem;
}

section {
    margin-bottom: 2.5rem;
}

/* CV Entry Layout - Clean and minimal */
.entry {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.3rem;
}

.entry-title {
    font-weight: 600;
    color: #333;
}

.entry-date {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.entry-org {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.2rem;
}

.entry-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.entry-description em {
    color: #777;
    font-size: 0.9rem;
}

/* Publications - vene.ro style */
.publications-list {
    /* Use default list styling */
}

.publications-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.publications-list li {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Memberships and links */
.membership-list,
.link-list {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.membership-list li,
.link-list li {
    margin-bottom: 0.5rem;
}

/* PDF Download Button */
.pdf-download {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #0066cc;
    color: white !important;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.pdf-download:hover {
    background-color: #0052a3;
    text-decoration: none;
}

.pdf-download i {
    margin-right: 0.5rem;
}

/* Icons */
i {
    margin-right: 0.3rem;
}

h2 i {
    margin-right: 0.5rem;
    color: #666;
    width: 1.2em;
}

/* Highlight Boxes - verschiedene Varianten zur Hervorhebung von Text */

/* Option 1: Highlight-Box mit Hintergrund */
.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Option 2: Accent-Box mit farbigem Rand */
.accent-box {
    border: 2px solid #0066cc;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    background-color: #f0f7ff;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Option 3: Key-Info mit Icon */
.key-info {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #fff8e1;
    border-left: 4px solid #ffa726;
    border-radius: 4px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.key-info i {
    color: #ffa726;
    margin-right: 0.8rem;
    font-size: 1.2em;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive design */
/* Mobile breakpoint - menu becomes collapsible below this width */
@media (max-width: 600px) {
    body {
        padding: 1rem 0.75rem;
        font-size: 15px;
    }

    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Hide menu by default on mobile */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-bottom: none;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 1000px;
        transition: max-height 0.3s ease-in;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0.75rem;
    }

    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .contact-info {
        font-size: 0.85rem;
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 0.5rem 1rem;
    background: #0066cc;
    color: white;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Focus-visible für alle interaktiven Elemente */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
    border-radius: 2px;
}

.hamburger:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 4px;
}

/* Print styles */
@media print {
    body {
        max-width: none;
        margin: 0;
        padding: 1rem;
        font-size: 11pt;
        line-height: 1.4;
    }

    section {
        margin-bottom: 1rem;
        break-inside: avoid;
    }

    .entry {
        break-inside: avoid;
        margin-bottom: 0.8rem;
    }

    a {
        color: #000;
        text-decoration: none;
    }

    .publication-links a:before,
    .publication-links a:after {
        content: "";
    }
}

