body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
}

h1 {
    font-size: 4em;
    margin-bottom: 0.2em;
    color: #ffffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

p {
    font-size: 1.5em;
    margin-top: 0;
    opacity: 0;
    animation: fadeIn 2s forwards 0.5s;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
        letter-spacing: 3px;
    }

    p {
        font-size: 1.2em;
    }

    .tagline {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
        letter-spacing: 2px;
    }

    p {
        font-size: 1em;
    }

    .tagline {
        font-size: 0.9em;
    }
}

.tagline {
    font-size: 1.2em;
    font-style: italic;
    color: #b0b0b0;
    opacity: 0;
    animation: fadeIn 2s forwards 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects {
    margin-top: 100px;
    opacity: 0;
    animation: fadeIn 2s forwards 1.5s;
}

.projects h2 {
    font-size: 2em;
    margin-bottom: 60px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.project-card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.project-content {
    padding: 35px;
}

.project-card h3 {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 1px;
}

.project-tagline {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.project-description {
    font-size: 0.95em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-weight: 300;
}

.project-link {
    display: inline-block;
    padding: 10px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4a9eff, #00ff88);
    transition: width 0.3s ease;
}

.project-link:hover {
    padding-left: 10px;
}

.project-link:hover::after {
    width: 100%;
}

.contact {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    animation: fadeIn 2s forwards 2s;
}

.contact h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95em;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .projects h2, .contact h2 {
        font-size: 1.8em;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}