:root 
{
    --background: #101010;
    --surface: #181818;
    --surface-hover: #202020;
    --text: #f0f0f0;
    --muted: #929292;
    --accent: #c4f06a;
    --border: #303030;

    --container: 1160px;
    --transition: 0.25s ease;
}

* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html 
{
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body 
{
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a 
{
    color: inherit;
    text-decoration: none;
}

img 
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button 
{
    font: inherit;
}

/* These two rules hit every listed element on the whole page, not one section */
h1, h2, h3, h4, h5
{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

p, a
{
    font-family: Arial, Helvetica, sans-serif;
}

.container 
{
    width: min(90%, var(--container));
    margin-inline: auto;
}

.section 
{
    padding-block: 120px;
}

.eyebrow 
{
    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.site-header 
{
    position: sticky;

    top: 0;
    z-index: 100;

    background: rgba(16, 16, 16, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);

    background-image: url("../img/Banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.navbar 
{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
}

.profile-image
{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid black;
}

.logo 
{
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-links 
{
    display: flex;
    align-items: center;

    gap: 35px;
    list-style: none;
}

.nav-links a 
{
    color: var(--muted);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.nav-links a:hover 
{
    color: var(--text);
}

.menu-toggle 
{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span 
{
    display: block;

    width: 25px;
    height: 2px;

    background: var(--text);
    margin: 6px;
}

.button 
{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;
    font-size: 0.85rem;
    font-weight: 700;

    transition: all var(--transition);
}

.button-primary 
{
    background: var(--accent);
    color: #101010;
}

.button-primary:hover 
{
    background: #d7ff83;
    transform: translateY(-3px);
}

.button-secondary 
{
    border: 1px solid var(--border);
}

.button-secondary:hover 
{
    border-color: var(--accent);
    color: var(--accent);
}

.about-section
{
    padding: 80px 5%;
}

.about-content
{
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text
{
    flex: 1;
    text-align: center;
}

.about-text h5.eyebrow 
{
    font-size: 0.72rem;
    margin-top: 15px;
    line-height: 1.6;
    letter-spacing: 0.15em;
}

.about-text p
{
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: normal;
    font-weight: normal;
    color: var(--muted);
}

.about-image
{
    flex: 0 0 350px;
}

.about-image img
{
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid white;
}

.projects-header
{
    background-image: url(../img/trustnoone.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 120px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.projects-header h4
{
    font-size: 2rem;
    letter-spacing: normal;
}

.projects-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 25px;
    padding-block: 50px;
}

.project-image
{
    aspect-ratio: 16 / 10;
    max-height: 200px;
}

.project-card
{
    display: flex;
    flex-direction: column;
    background: var(--background);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.project-card:hover
{
    background: var(--surface-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.project-body
{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.project-info
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.project-type
{
    margin: 0;
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.project-info h3
{
    margin-top: 5px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: normal;
}

.project-link
{
    flex-shrink: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
}

.project-tags
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.project-tags span
{
    padding: 5px 11px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.7rem;
}

.portfolio-links
{
    text-align: center;
    padding-bottom: 80px;
}

.portfolio-label
{
    margin: 0;
    color: var(--muted);

    font-size: 0.9rem;
    font-weight: normal;
    letter-spacing: normal;
}

.portfolio-buttons
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 15px;
    margin-top: 20px;
}

.portfolio-buttons a
{
    margin-top: 0;
    gap: 10px;

    letter-spacing: normal;
    line-height: 1;
}

.portfolio-buttons a img
{
    width: 18px;
    height: 18px;

    object-fit: contain;
}

.expertise-header
{
    background: url("../img/banner1.png") center / cover no-repeat;
    padding: 60px 5%;
    text-align: center;
}

.expertise-header h4
{
    margin: 0;
    font-size: 2rem;
    letter-spacing: normal;
    font-weight: 800;
}

.language-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding-block: 50px;
}

.language-card
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 25px 15px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: background var(--transition), border-color var(--transition);
}

.language-card:hover
{
    background: var(--surface-hover);
    border-color: var(--accent);
}

.language-card img
{
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.language-card h5
{
    margin-top: 15px;
    font-size: 1rem;
    letter-spacing: normal;
    font-weight: 700;
}

.language-card p
{
    margin-top: 5px;
    font-size: 0.8rem;
    letter-spacing: normal;
    font-weight: normal;
    line-height: 1.4;
    color: var(--muted);
}

.modal
{
    position: fixed;
    inset: 0;
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background: rgba(16, 16, 16, 0.92);
    backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal.open
{
    opacity: 1;
    visibility: visible;
}

.modal-box
{
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: 550px;
    overflow-y: auto;

    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;

    transform: translateY(20px);
    transition: transform var(--transition);
}

.modal.open .modal-box
{
    transform: translateY(0);
}

.modal-close
{
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;

    width: 42px;
    height: 42px;

    background: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close:hover
{
    background: var(--accent);
    color: var(--background);
}

.modal-image
{
    aspect-ratio: 16 / 9;
    max-height: 400px;
    width: 100%;

    overflow: hidden;
    background: var(--surface);
}

.modal-body
{
    padding: 30px;
}

.modal-body h3
{
    margin-top: 5px;
    font-size: 1.8rem;

    letter-spacing: normal;
    font-weight: 700;
}

.modal-description
{
    margin-top: 15px;
    color: var(--muted);
    font-size: 0.95rem;

    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.8;
}

.modal-links
{
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
    margin-top: 25px;
}

.modal-links a
{
    margin-top: 0;

    letter-spacing: normal;
    border-radius: 10px;
    gap: 10px;
}

.modal-links a img
{
    width: 18px;
    height: 18px;

    object-fit: contain;
}

.modal-section
{
    margin-top: 25px;
}

.modal-section h4
{
    margin-top: 0;
    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.6;

    text-transform: uppercase;
}

.modal-section p
{
    margin-top: 8px;
    color: var(--muted);

    font-size: 0.95rem;
    font-weight: normal;
    letter-spacing: normal;

    line-height: 1.8;
}

.modal-section ul
{
    margin-top: 8px;
    padding-left: 20px;
    color: var(--muted);

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 0.95rem;

    line-height: 1.8;
}

.modal-section li
{
    margin-top: 4px;
}

.modal-shots
{
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
    margin-top: 15px;
}

.modal-shots img
{
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 320px;

    border: 1px solid var(--border);
    border-radius: 10px;

    cursor: zoom-in;
    transition: border-color var(--transition);
}

.modal-shots img:hover
{
    border-color: var(--accent);
}

.lightbox
{
    position: fixed;
    inset: 0;
    z-index: 300;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;

    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open
{
    opacity: 1;
    visibility: visible;
}

.lightbox img
{
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    border-radius: 10px;
}

.contact-header
{
    background-image: url(../img/uvg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 120px;
    display: flex;

    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-header h4
{
    margin: 0;
    font-size: 2rem;

    letter-spacing: normal;
    font-weight: 800;
}

.contact-intro
{
    padding-top: 50px;
    text-align: center;
}

.contact-intro p
{
    margin: 0 auto;
    max-width: 520px;

    color: var(--muted);

    font-size: 0.95rem;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.8;
}

.contact-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;
    padding-block: 40px;
}

.contact-card
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 25px 15px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.contact-card:hover
{
    background: var(--surface-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.contact-card img
{
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-symbol
{
    height: 40px;
    color: var(--accent);
    font-size: 2rem;
    line-height: 40px;
}

.contact-card h5
{
    margin-top: 15px;
    font-size: 1rem;
    letter-spacing: normal;
    font-weight: 700;
}

.contact-card p
{
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cv-area
{
    text-align: center;
    padding-bottom: 80px;
}

.cv-area a
{
    margin-top: 0;
    letter-spacing: normal;
    line-height: 1.6;
}

.site-footer 
{
    border-top: 1px solid var(--border);
    padding-block: 30px;
}

.footer-content 
{
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-content p 
{
    color: var(--muted);
    font-size: 0.7rem;
}

.footer-content a
{
    margin: 0;
    color: var(--muted);

    font-size: 0.75rem;
    font-weight: normal;
    letter-spacing: normal;

    line-height: 1.6;
    transition: color var(--transition);
}

@media (max-width: 768px) 
{
    .section 
    {
        padding-block: 80px;
    }

    .menu-toggle 
    {
        display: block;
        z-index: 110;
        margin-left: auto;
    }

    .nav-links 
    {
        display: none;
        position: absolute;

        top: 100%;
        left: 0;
        width: 100%;
        padding: 25px 5%;

        background: var(--background);
        border-bottom: 1px solid var(--border);

        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav-links.active 
    {
        display: flex;
    }

    .about-content
    {
        flex-direction: column;
    }

    .projects-grid 
    {
        grid-template-columns: 1fr;
    }

    .footer-content 
    {
        flex-direction: column;
        align-items: flex-start;
    }
}