/*#region general */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../CSS/JetBrains_Mono/static/JetBrainsMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "JetBrains Mono", monospace;
}
body {
    background-color: black;
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
/*#endregion */
/*#region nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 5vw;
    background: black;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid white;
}
nav p {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    font-size: 1.2rem;
    border-left: 3px solid white;
    padding-left: 10px;
}
.Nav-Logo {
    text-decoration: none;
    color: inherit;
}
.Nav-Logo:hover { opacity: 0.8; }
.dropdown {
    position: relative;
}
.dropdown .dropbtn {
    background-color: white;
    color: black;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}
.dropdown .dropbtn:active { background-color: #ccc; }
.dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #111;
    min-width: 200px;
    border: 1px solid white;
    border-radius: 10px;
    margin-top: 5px;
    overflow: hidden;
}
.dropdown .dropdown-content.show { display: block; }
.dropdown .dropdown-content a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    transition: 0.2s;
}
.dropdown .dropdown-content a:hover { background-color: white; color: black; }
.dropdown .dropdown-content .close-btn { display: none; }
.lang-menu-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    font-size: 0.75rem;
    font-weight: bold;
    color: #666;
    .lang-links {
        display: flex;
        gap: 8px;
        align-items: center;
        .lang-option {
            color: #666;
            text-decoration: none;
            display: inline;
            padding: 0;
            transition: color 0.3s;
            &.active {
                color: white;
                border-bottom: 1px solid white;
            }
            &:hover {
                background: none;
            }
        }
        .divider {
            color: #333;
            user-select: none;
        }
    }
}
/*#endregion */
/*#region about me*/
.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 10vw;
    max-width: 1200px;
    margin: 0 auto;
}
.about header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    width: 100%;
}
.about header h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px; }
.about header p { color: #888; font-size: 1.1rem; }
.content-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}
.content-container > section {
    flex: 1;
    background-color: #111;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}
.content-container > section:hover { border-color: white; }
.content-container h3, .content-container h4 { text-transform: uppercase; border-left: 4px solid white; padding-left: 15px; margin-bottom: 20px; color: white; }
.content-section-Journey p { line-height: 1.6; color: #ccc; }
.content-section-Journey ul {
    list-style: none;
    margin-top: 20px;
}
.content-section-Journey li {
    padding: 8px 0;
    border-bottom: 1px solid #222;
}
.content-section-Journey li::before { content: "> "; color: white; font-weight: bold; }
.content-section-technical-stack ul { list-style: none; }
.content-section-technical-stack li {
    background: #1a1a1a;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.content-section-technical-stack li:hover { transform: translateX(10px); background: white; color: black; }
.content-section-technical-stack h4:not(:first-child) { margin-top: 30px; }
/*#endregion*/
/*#region contact*/
.Contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5vh;
    width: 100%;
    padding: 5vh;
    min-height: 80vh;
}
.Contact a img {
    width: 20vh;
    height: 20vh;
    object-fit: cover;
}
/*#endregion*/
/*#region services*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 40px;
}
.service-item {
    background-color: #111;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-item:hover {
    border-color: white;
    transform: translateY(-10px);
    background-color: #1a1a1a;
}
.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
    border-left: 4px solid white;
    padding-left: 15px;
}
.service-item p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}
.service-tag {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}
/*#endregion*/
/*#region projects*/
.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5vh;
    min-height: 80vh;
}
/*#endregion */
/*#region footer */
.Main-Footer {
    width: 100%;
    background-color: black;
    border-top: 1px solid #333;
    padding: 4.5vh;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-section h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: #333333; }
/*#endregion */
/*#region Back to Top */
#backToTop {
    outline: none;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
#backToTop:hover { color: #333333; }
/*#endregion */
/*#region responsiveness */
@media screen and (max-width: 1024px) {
    nav {
        padding: 3vh 5vw;
        gap: 2vh;
        flex-direction: column;
    }
    nav p { border-left: none; border-bottom: 2px solid white; padding: 0 0 5px 0; font-size: 3rem; text-align: center; width: 100%; }
    .dropdown { width: 100%; }
    .dropdown .dropbtn { width: 100%; padding: 15px; font-size: 3rem; letter-spacing: 1px; }
    .dropdown .dropdown-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        border-radius: 0;
    }
    .dropdown .dropdown-content.show { display: flex; flex-direction: column; justify-content: center; }
    .dropdown .dropdown-content a { font-size: 4rem; padding: 25px; text-align: center; }
    .dropdown .dropdown-content a:hover { background: transparent; color: white; }
    .dropdown .dropdown-content .close-btn { display: block; position: absolute; top: 20px; right: 40px; font-size: 5rem; }
    .about header h1 { font-size: 3rem; }
    .about header p { font-size: 2rem; }
    .content-container { font-size: 2rem; flex-direction: column; }
    .content-container > section { width: 100%; max-width: 100%; }
    .content-section-technical-stack li { font-size: 2rem !important; }
    .about .services-grid { display: flex; flex-direction: column; }
    .about .services-grid .service-item { font-size: 2rem; }
    .about .services-grid .service-item h3 { font-size: 3rem; }
    .about .services-grid .service-item .service-tag { font-size: 3rem; }
    .Contact { flex-direction: column; }
    .projects p { font-size: 3rem; }
    .footer-section { display: none; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-content p { font-size: 2.5rem; }
    .footer-links { flex-direction: column; gap: 15px; }
    .footer-links a { font-size: 2rem; }
    #backToTop { font-size: 2rem; }
}
/*#endregion */