/* Basic Reset for Consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333; /* Dark gray text for a clean look */
}

/* Header Styles */
header {
    background-color: #2c3e50; /* Dark blue, a 2010s trend */
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease; /* Subtle 2010s animation */
}

nav ul li a:hover {
    color: #18bc9c; /* Teal accent for hover effect */
}

/* Hero Section Styles */
.hero {
    background: linear-gradient(to right, #2c3e50, #18bc9c); /* 2010s gradient trend */
    color: #fff;
    text-align: center;
    padding: 5rem 1rem;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #18bc9c;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1abc9c; /* Slightly darker on hover */
}

/* About Section Styles */
#about {
    padding: 4rem 1rem;
    background-color: #ecf0f1; /* Light gray background */
    text-align: center;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Circular image for a modern touch */
    margin-bottom: 1rem;
}

.about-text {
    margin-top: 1rem;
}

/* Portfolio Section Styles */
#portfolio {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project {
    background-color: #ecf0f1;
    padding: 1rem;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Contact Section Styles */
#contact {
    padding: 4rem 1rem;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact label {
    margin-top: 1rem;
    text-align: left;
}

#contact input, #contact textarea {
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 5px;
    width: 100%;
}

#contact button {
    margin-top: 1rem;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: #18bc9c;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .hero {
        height: auto;
        padding: 3rem 1rem;
    }
}