/* ============================================================= */
/*  custom.css – full version with shrinking header disabled     */
/* ============================================================= */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* ———————————————————— HEADER & LOGO (NO SHRINK, NO STICKY) ———————————————————— */
.header {
    position: relative !important;   /* not fixed */
    padding: 0 !important;
    height: auto !important;
    transition: none !important;
    background: none !important;
}

/* Kill Ananke’s scroll-shrink completely */
.header.scrolled {
    transform: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

/* Nav bar (your semi-transparent bar on top of the logo) */
.header nav {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
    text-align: center;
}

/* Logo container – full size always */
.logo-container {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem 0 5px;
    transition: none !important;
    transform: none !important;
    background-color: #007a00dc;
}

/* Logo image – fixed size, never shrinks */
.logo-container img {
    max-width: 220px !important;
    height: auto !important;
    transition: none !important;
}

/* ———————————————————— NAVIGATION MENU ———————————————————— */
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    white-space: nowrap;
}

nav ul li {
    display: inline-block;
    margin: 0;
}

nav ul li a {
    color: #4CAF50;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #cc5500;
}

/* ———————————————————— TYPOGRAPHY ———————————————————— */
h1, h2, h3, h4, h5, h6, li, footer {
    font-family: 'Orbitron', sans-serif !important;
    color: #4CAF50;
}

h1 { font-size: 2.5rem; }
h2 { color: #4CAF50; }

li { font-weight: bold; }

h1, h2, h3, h4, h5, h6 {
    word-break: keep-all !important;     /* prevents mid-word breaks */
    hyphens: none !important;            /* disables hyphenation */
    overflow-wrap: normal !important;    /* old name for word-break */
}
/* ———————————————————— LAYOUT ———————————————————— */
.container {
    max-width: 800px;
    margin: 0 auto !important;
    padding: 20px;
    text-align: left;
}

section {
    padding: 2rem;
    margin: 1rem 0;
    background-color: #262626;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #121212;
    color: #4CAF50;
    margin-top: 2rem;
}

/* ———————————————————— MISC ———————————————————— */
.contact-icons {
    display: block;
    justify-content: left;
    gap: 20px; /* Space between icons */
    line-gap-override: 50px;
    margin-top: 20px;
    flex-wrap: wrap; /* Prevents overflow on small screens */
}

.contact-icons a {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    text-decoration: none;
    color: white; /* Make text visible */
    font-weight: bold;
}

.contact-icons img {
    width: 24px;
    height: 24px;
    filter: invert(1); /* Makes black icons white */
}
.cv-link { color: #45a049; text-decoration: none; font-weight: bold; }
.cv-link:hover { color: #cc5500; }

/* Ananke content wrapper fixes */
.flex-l.mt2.mw8.center,
.flex-l.mt2.mw8.center .nested-copy-line-height {
    background-color: #262626;
    padding: 20px;
    border-radius: 8px;
}

/* Mobile adjustments */
@media (max-width: 800px) {
    .logo-container img { max-width: 180px; }
    nav ul { gap: 1rem; }
    .container { max-width: 100%; padding: 2px; }
    h1 { font-size: 1.7rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.3rem !important; }
    .logo-container {
        padding: 30px 1rem 5px;
    }

    nav ul {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    nav ul li a {
        font-size: 0.9rem;
    }

    /* .container {
        padding: 15px;
        max-width: 100%;
    } */

    section {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .flex-l.mt2.mw8.center,
    .flex-l.mt2.mw8.center .nested-copy-line-height,
    .flex-l.mt2.mw8.center article {
        margin: 0 0.8rem !important;     /* tiny side margin */
        padding: 1.4rem !important;     /* comfortable inner padding */
        max-width: none !important;     /* removes 800px cap */
    }

    /* Paragraphs, lists, code, images – full width */
    .flex-l.mt2.mw8.center p,
    .flex-l.mt2.mw8.center ul,
    .flex-l.mt2.mw8.center ol,
    .flex-l.mt2.mw8.center pre,
    .flex-l.mt2.mw8.center img,
    .flex-l.mt2.mw8.center table {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Optional: slightly larger paragraph text on phone */
    .flex-l.mt2.mw8.center p {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
    }
}
/* ——— FIX: Prevent header/logo shrink on long pages ——— */
body.has-page-content .header,
body.has-page-content .logo-container {
    padding: 2rem 0 5px !important;
    transition: none !important;
}

body.has-page-content .logo-container img {
    max-width: 220px !important;
    height: auto !important;
    transition: none !important;
}