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

html {
    scroll-behavior: smooth;
    font-family: 'Fira Code', monospace;
}

body {
    line-height: 1.6;
    color: #333;
}

header {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-choices {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-choices a {
    text-decoration: none;
    color: #333333;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-choices a:hover {
    color: #000000;
}

.nav-choices a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000000;
    transition: width 0.3s ease;
}

.nav-choices a:hover::after {
    width: 100%;
}

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(110deg, #f8f8f8 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    transition: background 0.8s ease-in-out;
}

.hero-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-paragraph {
    flex: 1;
    max-width: 600px;
}

.hero-paragraph h1 {
    display: flex;
}

.hero-greet {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-name {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
    line-height: 1.2;
}

.hero-job {
    font-size: 1.4rem;
    color: #333333;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-images {
    flex: 0 0 300px;
}

.profile-pict {
    width: 800px;
    height: 800px;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.profile-pict:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.profile-pict img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about {
    background: linear-gradient(110deg, #ffffff 0%, #f8f8f8 100%);
    padding: 80px 0;
    transition: background 0.8s ease-in-out;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.projects {
    background: linear-gradient(110deg, #f7f7f7 0%, #fafbfc 100%);
    padding: 80px 0;
    transition: background 0.8s ease-in-out;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 700;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
    align-items: stretch;
}

.projects-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.projects-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    transition: transform 0.3s ease;
    height: 100%;
}


.projects-card img {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    margin-bottom: 1rem;
    border-radius: 8px;
}

.projects-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #333333, #000000);
}

.projects-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.projects-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.projects-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.experiences {
    background: linear-gradient(110deg, #ffffff 0%, #f8f8f8 100%);
    padding: 80px 0;
    transition: background 0.8s ease-in-out;
}

.experiences-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experiences-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, #333333, #666666);
}

.experience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.experience-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #333333, #000000);
    border-radius: 50%;
    margin-right: 2rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover .experience-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 8px #333333;
}

.experience-content {
    flex: 1;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-content:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.experience-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.experience-content p:not(.experience-date) {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contacts {
    background: linear-gradient(110deg, #f7f7f7 0%, #fafbfc 100%);
    padding: 80px 0;
    transition: background 0.8s ease-in-out;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #333333, #000000);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-contents {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-paragraph {
        max-width: 100%;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-job {
        font-size: 1.2rem;
    }
    
    .profile-pict {
        width: 4000px;
        height: 400px;
    }
    
    .hero-images {
        flex: none;
    }
    
    .nav-choices {
        gap: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects-card {
        padding: 1.5rem;
    }
    
    .experiences-timeline::before {
        left: 15px;
    }
    
    .experience-dot {
        width: 16px;
        height: 16px;
        margin-right: 1.5rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-link {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-job {
        font-size: 1rem;
    }
    
    .profile-pict {
        width: 200px;
        height: 200px;
    }
    
    .nav-choices {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .projects-card h3 {
        font-size: 1.1rem;
    }
    
    .projects-card p {
        font-size: 0.9rem;
    }
    
    .experience-content {
        padding: 1rem;
    }
    
    .experience-content h3 {
        font-size: 1.1rem;
    }
}