@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Lighter background */
    color: #212529; /* Darker text for better contrast */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #343a40; /* Darker header */
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 20px; /* Increased spacing */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #adb5bd; /* Lighter on hover */
}

main {
    padding: 30px 20px; /* Increased padding */
    max-width: 960px;
    margin: auto;
    flex-grow: 1;
}

section {
    background-color: #fff;
    margin-bottom: 30px; /* Increased spacing between sections */
    padding: 30px; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Softer shadow */
}

#hero {
    text-align: center;
    background-color: #6c757d; /* Muted primary color */
    color: #fff;
    padding: 60px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

#hero h1 {
    margin-bottom: 15px;
    font-size: 2.5em;
    font-weight: 700;
}

#hero p {
    font-size: 1.2em;
    line-height: 1.6;
}

.button {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 25px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #218838;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-item {
    border: 1px solid #e9ecef; /* Lighter border */
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #343a40;
    color: #fff;
    width: 100%;
    margin-top: auto;
}

/* Resume Page Specific Styles */
#resume-content h1 {
    color: #343a40; /* Darker heading for professionalism */
    font-size: 2.2em;
    margin-bottom: 10px;
}

#resume-content h2 {
    color: #495057; /* Slightly lighter heading */
    font-size: 1.8em;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#resume-content h3 {
    color: #343a40;
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 5px;
}

#resume-content h4 {
    color: #495057;
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 5px;
}

#resume-content p {
    line-height: 1.7;
    margin-bottom: 10px;
}

#resume-content ul {
    list-style: disc;
    margin-left: 25px; /* Increased indentation */
    padding: 0;
    margin-bottom: 20px;
}

#resume-content ul li {
    margin-bottom: 8px; /* Increased spacing between list items */
    line-height: 1.6;
}
