


/* styles.css */

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.header h1 {
    margin-bottom: 10px;
}

.header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.header nav ul li {
    margin: 0 15px;
}

.header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.header nav ul li a:hover {
    color: #ff6347; /* Tomato color on hover */
}

/* About Section */
.about {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
}

.profile-img {
    width: 200px;
    border-radius: 50%;
    margin-top: 20px;
}

/* Portfolio Section */
.portfolio {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    width: calc(33.333% - 20px);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

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

/* Contact Section */
.contact {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact input,
.contact textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #ff6347;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .project {
        width: 100%;
    }

    .header nav ul {
        flex-direction: column;
    }

    .header nav ul li {
        margin: 10px 0;
    }
}
