/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Header & Navigation */
header {
    background-color: #1e1e2f;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
}

.hero h1 {
    font-size: 3em;
    margin: 0;
}

.hero p {
    font-size: 1.2em;
    margin: 5px 0 0 0;
}

/* Sections */
section {
    padding: 50px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #1e1e2f;
}

/* Projects */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.project {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    width: 320px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #1e1e2f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.project a:hover {
    background-color: #33334d;
}

/* Project Page */
.project-detail {
    max-width: 800px;
    margin: 50px auto;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.project-detail h1 {
    color: #1e1e2f;
    margin-bottom: 20px;
}

.project-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.project-detail a.project-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #1e1e2f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.project-detail a.project-link:hover {
    background-color: #33334d;
}

.project-detail ul {
    text-align: left;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Contact */
#contact a {
    color: #1e1e2f;
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}
