/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Variables */
:root {
    --primary-color: #4A90E2;
    --primary-light: #F5F9FF;
    --secondary-color: #2C3E50;
    --text-color: #333333;
    --light-gray: #F8F9FA;
    --border-color: #E1E8ED;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    padding: 8rem 2rem 4rem;
    margin-top: 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background-color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #666;
}

/* Skills Grid */
.skills {
    margin-top: 3rem;
}

.skills h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    background-color: var(--primary-light);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: white;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-content {
    margin-top: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.primary-btn, .secondary-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding: 2rem;
    text-align: center;
}

.footer-container p {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        display: none; /* For mobile, you might want to add a hamburger menu */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .project-links {
        flex-direction: column;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .about h2, .projects h2, .contact h2 {
        font-size: 2rem;
    }
}
