
:root {
    --primary: #000000;
    --secondary: #121212;
    --accent: #9c27b0;
    --text-primary: #ffffff;
    --text-secondary: #e1bee7;
}

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

body {
    font-family: 'Comic Neue', cursive;
    background-color: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
    border-bottom: 2px solid var(--accent);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}
.logo span {
    color: var(--accent);
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
} */



#hero {
    height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
}

.btn-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--text-primary);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#about {
    padding: 100px 0;
    background-color: var(--secondary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 4px;
    background-color: var(--accent);
}

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

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: 10px;
    top: 15px;
    left: 15px;
    z-index: 1;
}

/* Skills Section */
#skills {
    padding: 100px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--secondary);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
}



.skill-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
}

.skill-card p {
    color: var(--text-secondary);
}

#programming-languages {
    padding: 100px 0;
    background-color: var(--secondary);
}

.programming-languages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.programming-language-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programming-language-circle {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    border: 2px solid var(--accent);
}

.programming-language-name {
    color: var(--text-primary);
    font-weight: bold;
}

.programming-language-level {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Projects Section */
#projects {
    padding: 100px 0;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.section-title {
    text-align: left;
    margin-left: 40px;
}

#hero .container {
    margin-left: 30px;
}

.about-content {
    margin-left: 25px;
}

.skills-grid {
    margin-left: 35px;
}

.programming-languages-grid {
    margin-left: 30px;
}

.projects-container {
    margin-left: 30px;
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tag {
    background-color: var(--accent);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--accent);
}

footer {
    background-color: var(--secondary);
    padding: 30px 0;
    text-align: center;
}

@keyframes float {
    0% {
        transform: translateY(-50%) translateX(0px);
    }
    50% {
        transform: translateY(-50%) translateX(-15px);
    }
    100% {
        transform: translateY(-50%) translateX(0px);
    }
}

@media (max-width: 1024px) {
    .hero-image {
        width: 45%;
    }
    .about-content {
        flex-direction: column;
    }
    .programming-languages-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .programming-languages-grid {
        gap: 20px;
    }
    .programming-language-circle {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}
