/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styles */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text for readability */
}

/* Header and navigation */
header {
    background: #1f1f1f; /* Slightly lighter than background */
    color: #e0e0e0;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

header nav ul li a:hover {
    background: #37474f; /* Subtle hover effect */
}

/* Section styles */
section {
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 900px;
    background: #1f1f1f;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Home Section */
#home {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #37474f, #1f1f1f);
    border-radius: 0;
    color: #e0e0e0;
}

#home h1 {
    font-size: 2.5rem;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1.5rem;
}

#home p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* About Section */
#about {
    text-align: center;
}

/* Project Cards */
.project-card {
    background: #212121; /* Slightly lighter than section background */
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #90caf9; /* Accent color */
}

.project-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #b0bec5;
}

.project-card a {
    text-decoration: none;
    color: #64b5f6; /* Bright blue for links */
    font-weight: 700;
    transition: color 0.3s ease;
}

.project-card a:hover {
    color: #90caf9;
}

/* Contact Section */
#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact input, #contact textarea, #contact button {
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #333;
    background: #212121;
    color: #e0e0e0;
}

#contact button {
    background: #64b5f6;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

#contact button:hover {
    background: #42a5f5;
}

/* Footer */
footer {
    background: #1f1f1f;
    color: #b0bec5;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .project-card {
        margin: 1rem auto;
        width: 90%;
    }

    #home h1 {
        font-size: 2rem;
    }

    #home p {
        font-size: 1rem;
    }
}

/* Project Toggle Buttons Container */
.project-toggle-buttons {
    text-align: center;
    margin-bottom: 20px;
}

/* Toggle Buttons */
.project-toggle-buttons button {
    background-color: #444;
    color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    margin: 0 8px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.project-toggle-buttons button:hover {
    background-color: #555;
}

.project-toggle-buttons button.active {
    background-color: #008cba;
    color: #ffffff;
    box-shadow: 0 0 10px #008cba;
    font-weight: 700;
}

/* Project Groups */
.project-group {
    display: none;
}

.project-group.active {
    display: block;
}

