﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #0d0d0d;
    color: white;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 60px 20px;
    background: #111;
    margin-bottom: 40px;
}

    header h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

section {
    width: 90%;
    max-width: 900px;
    margin: auto;
    margin-bottom: 40px;
}

h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-left: 4px solid #fff;
    padding-left: 10px;
}

#links ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#links a {
    color: #4da6ff;
}

#project-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    margin-top: 30px;
    font-size: 0.9rem;
}


/* Reset de bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px;
    background-color: #111;
}

    header h1 {
        font-size: 3rem;
        color: #4df5ff;
        text-shadow: 0 0 5px #4df5ff, 0 0 10px #4df5ff, 0 0 20px #4df5ff;
        animation: glow 1.5s infinite alternate;
    }

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #4df5ff, 0 0 10px #4df5ff, 0 0 20px #4df5ff;
    }

    100% {
        text-shadow: 0 0 20px #4df5ff, 0 0 40px #4df5ff, 0 0 60px #4df5ff;
    }
}

/* Section Titles */
h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #00ffd6;
    border-left: 4px solid #00ffd6;
    padding-left: 10px;
    text-shadow: 0 0 5px #00ffd6;
}

/* Links */
#links ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#links a {
    color: #ff75d1;
    text-decoration: none;
    transition: 0.3s;
}

    #links a:hover {
        text-shadow: 0 0 5px #ff75d1, 0 0 10px #ff75d1;
    }

/* Projects */
#project-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #4df5ff50;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .project:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 20px #4df5ff;
    }

    .project h3 {
        color: #ff75d1;
        margin-bottom: 5px;
    }

/* About */
#about p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    font-size: 0.9rem;
    margin-top: 30px;
    color: #777;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .project {
        padding: 15px;
    }
}

/* Buton Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 15px;
    font-size: 1.2rem;
    background-color: #00ffd6;
    color: #0d0d0d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    box-shadow: 0 0 10px #00ffd6;
    transition: 0.3s;
}

    #back-to-top:hover {
        transform: scale(1.1);
        box-shadow: 0 0 20px #00ffd6;
    }

/* Fundal Neon animat */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 25% 25%, #4df5ff20, transparent 25%), radial-gradient(circle at 75% 75%, #ff75d120, transparent 25%);
    animation: backgroundMove 30s linear infinite;
    z-index: -1;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(-50px,-50px);
    }

    100% {
        transform: translate(0,0);
    }
}


#services {
    width: 90%;
    max-width: 900px;
    margin: auto;
    margin-bottom: 40px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ff75d150;
}

    #services h2 {
        color: #ff75d1;
        border-left: 4px solid #ff75d1;
        padding-left: 10px;
        text-shadow: 0 0 5px #ff75d1;
    }

    #services ul {
        margin-top: 10px;
        margin-bottom: 10px;
    }

        #services ul li {
            margin-bottom: 8px;
        }

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #4df5ff;
    text-shadow: 0 0 5px #4df5ff, 0 0 10px #4df5ff, 0 0 20px #4df5ff;
    animation: glow 1.5s infinite alternate;
}

/* Sidebar curat + neon */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #111;
    padding: 30px 20px;
    box-shadow: 2px 0 15px rgba(0, 255, 214, 0.3);
    display: flex;
    flex-direction: column;
}

    #sidebar h2 {
        color: #00ffd6;
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
        text-shadow: 0 0 5px #00ffd6;
    }

    #sidebar nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

        #sidebar nav ul li a {
            color: #fff;
            font-size: 1.1rem;
            text-decoration: none;
            padding: 8px 10px;
            border-left: 3px solid transparent;
            transition: 0.3s;
        }

            #sidebar nav ul li a:hover {
                color: #00ffd6;
                border-left: 3px solid #00ffd6;
                text-shadow: 0 0 8px #00ffd6;
            }
/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 180px;
    height: 100%;
    background-color: #111;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #sidebar h2 {
        color: #fff;
        font-size: 1.6rem;
        margin-bottom: 50px;
        text-align: center;
        font-weight: 600;
    }

    #sidebar nav ul {
        list-style: none;
        width: 100%;
        padding: 0;
    }

        #sidebar nav ul li {
            margin-bottom: 25px;
            width: 100%;
        }

            #sidebar nav ul li a {
                display: block;
                width: 100%;
                text-decoration: none;
                color: #fff;
                font-size: 1rem;
                padding: 8px 12px;
                border-radius: 5px;
                transition: background 0.2s, color 0.2s;
            }

                #sidebar nav ul li a:hover {
                    background-color: #00ffd6;
                    color: #111;
                }

/* Main content */
#main-content {
    margin-left: 200px;
    padding: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 0;
    }

        #sidebar h2 {
            display: none;
        }

        #sidebar nav ul {
            display: flex;
            flex-direction: row;
            gap: 15px;
        }

            #sidebar nav ul li {
                margin-bottom: 0;
            }

                #sidebar nav ul li a {
                    padding: 5px 8px;
                }

    #main-content {
        margin-left: 0;
        padding: 20px 15px;
    }
}

