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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #6B7A8F;
    color: white;
    line-height: 1.7;
    font-weight: 400;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: white;
}
.hero-image {
    margin: 40px 0 60px;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* ensures no overflow from cropped image */
}

.hero-image img {
    width: 100%;
    height: 100%;      /* fill the container height */
    object-fit: cover; /* crop to fill without stretching */
    display: block;
}

.image-placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
}

.intro-section {
    margin-bottom: 80px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.highlight {
    color: white;
    font-weight: 500;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: white;
    letter-spacing: -0.3px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-item:last-child {
    border-bottom: none;
}

.project-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.project-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 400;
}

.tech-stack {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-style: italic;
    font-weight: 400;
}

.project-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.project-links a:hover {
    color: white;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.skill-group h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.skill-group p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
}

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

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.contact-links a:hover {
    color: white;
}

footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    header {
        padding: 40px 0 30px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .hero-image {
        height: 200px;
        margin: 30px 0 40px;
    }
    
    .intro-section {
        font-size: 1rem;
        margin-bottom: 60px;
    }
    
    section {
        margin-bottom: 60px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Subtle hover animations */
.project-item {
    transition: padding-left 0.2s ease;
}

.project-item:hover {
    padding-left: 8px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}