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

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

/* Navbar */
header {
    background: #333;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: white;
    font-size: 1.5rem;
}
.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin-left: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.nav-links a:hover {
    color: #ff9800;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://picsum.photos/1200/800') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}
.hero-text h2 {
    font-size: 2.5rem;
}
.hero-text span {
    color: #ff9800;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 1rem;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.btn:hover {
    background: #e68a00;
}

/* Sections */
section {
    padding: 4rem 2rem;
}
section h2 {
    text-align: center;
    margin-bottom: 1rem;
}
section p {
    max-width: 800px;
    margin: auto;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.project-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
}

/* Contact */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}
form input, form textarea {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form button {
    border: none;
    cursor: pointer;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
