@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

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

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

header nav {
    position: absolute;
    top: 20px;
    right: 20px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-me {
    display: grid;
    grid-template-columns: 1fr 280px;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.about-me-text {
    flex: 1;
    min-width: 300px;
}

.about-me-image {
    flex: 0 0 280px;
    text-align: center;
    width: 100%;
}

.about-me-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.about-me-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.35);
}


main section {
    margin: 30px 0;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

main h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

main p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

.project {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 25px;
    padding: 25px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transition: all 0.3s ease;
    gap: 25px;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.project img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.project:hover img {
    transform: scale(1.05);
}

.project-content {
    flex: 1;
}

.project h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
}

.button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    font-size: 1rem;
    margin-top: 15px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    box-shadow: 0 -10px 30px rgba(102, 126, 234, 0.2);
}

footer p {
    margin: 8px 0;
    font-weight: 500;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    header nav ul li {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .about-me {
        grid-template-columns: 1fr;
    }
    
    .about-me-text, .about-me-image {
        width: 100%;
    }

    .project img {
        margin: 0 auto;
    }
    
    main section {
        padding: 20px;
    }
    
    main h2 {
        font-size: 1.8rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
}
