/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navbar Styles */
.navbar {
    background-color: #fff;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4299e1;
}

/* Intro Section Styles */
.intro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7fafc;
    padding: 0 5%;
}

.intro-content {
    text-align: center;
    max-width: 800px;
}

.intro-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.intro-content p {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #3182ce;
}

/* Projects Section Styles */
.projects {
    padding: 5rem 5%;
    background-color: #fff;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f7fafc;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    max-width: 500px;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.project-info {
    flex: 1;
    padding: 1rem;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.project-info p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.demo-link {
    background-color: #4299e1;
    color: white;
}

.demo-link:hover {
    background-color: #3182ce;
}

.code-link {
    background-color: #edf2f7;
    color: #2d3748;
}

.code-link:hover {
    background-color: #e2e8f0;
}

/* Footer Styles */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4299e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-card,
    .project-card.reverse {
        flex-direction: column;
    }

    .project-image {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .intro-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1rem;
    }
}