/* everything about theme */
body.light-theme section {
    background: linear-gradient(135deg, #ececec 0%, #f8f8f8 100%);
}
body.light-theme section:hover {
    box-shadow: 0 4px 20px rgba(86, 156, 214, 0.3);
}
body.light-theme section::before {
    background: #f5f5f5;
    color: #569cd6;
    border-color: #569cd6;
}
body.light-theme ul li {
    color: #3a3a3a;
}


/* main experience stylings */
article {
    max-width: 1000px;
    counter-reset: log-entry;
}

h2 {
    color: #4ec9b0;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

section {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;

    border-left: 4px solid #569cd6;
    border-radius: 4px;

    background: linear-gradient(135deg, #252526 0%, #2d2d30 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(86, 156, 214, 0.3);
}

section::before {
    counter-increment: log-entry;
    content: '[' counter(log-entry) ']';

    position: absolute;
    top: -0.75rem;
    left: 1rem;
    padding: 0.25rem 0.5rem;

    background: #1e1e1e;
    color: #569cd6;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    border: 1px solid #569cd6;
}

/* experience header stylings */
h3 {
    color: #dcdcaa;
    font-size: 1.3rem;
    font-weight: 700;
}

h3::before {
    content: '▸ ';
    color: #4ec9b0;
    margin-right: 0.5rem;
}

/* experience subheader stylings */
section p {
    color: #9cdcfe;
    margin-bottom: 1rem;
    line-height: 1.6;
}

strong {
    color: #ce9178;
}

time {
    color: #b5cea8;
    font-style: italic;
}

/* experience body bullet points */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;

    color: #d4d4d4;
    line-height: 1.6;
}

ul li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;

    color: #4ec9b0;
    font-weight: bold;
    font-size: 1.1rem;
}


hr {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #3e3e42 20%,
        #3e3e42 80%,
        transparent
    );
    margin: 2.5rem 0;
    position: relative;
}

@media (max-width: 768px) {
    body {
        padding: 1.5rem 2rem;
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.5rem;
        padding-left: 1.5rem;
    }

    section {
        padding: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    ul li {
        padding-left: 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.3rem;
        padding-left: 1rem;
    }

    h2::before {
        font-size: 0.65rem;
    }

    section {
        padding: 1rem;
    }

    h3 {
        font-size: 1rem;
    }

    ul li {
        padding-left: 1.25rem;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    section::before {
        font-size: 0.65rem;
    }
}