/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Header / Nav */
header {
    position: sticky;
    top: 0;
    background: #333;
    z-index: 1000;
}
.topnav {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
.topnav a {
    color: white;
    margin: 0 20px;
    font-weight: 600;
    transition: color 0.3s;
}
.topnav a:hover {
    color: #00462A;
}
section {
    scroll-margin-top: 95px; /* height of sticky header */
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}
section {
    margin-bottom: 80px;
}

/* Home & Bio */
.hero-img, .bio-img {
    max-width: 500px;
    width: 80%;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px;
}
.description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}
#bio .description {
    margin-bottom: 20px;
}

/* HEADINGS */
h2 {
    font-family: 'Georgia', serif; /* Different font */
    font-size: 36px;
    color: #00462A; /* Colored */
    margin-bottom: 30px;
    text-align: center;
}
h3 {
    font-size: 24px;
    margin-top: 25px;
}

/* Projects Section */
#projects h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}
.project-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
}
.project-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.project-info {
    flex: 1;
}
.project-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.project-info p {
    margin-bottom: 8px;
    line-height: 1.5;
}
.btn {
    display: inline-block;
    padding: 10px 18px;
    margin-top: 12px;
    background-color: #00462A;
    color: white;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #159a83;
}

#contact {
    background-color: #f2f2f2; /* light gray background */
    padding: 40px 20px;       /* adds breathing room */
    border-radius: 8px;       /* optional: soft rounded edges */
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-email {
    text-align: center;
    font-size: 16px;
}

/* Responsive: if screen small, stack image above text */
@media (max-width: 768px) {
    .project-item {
        flex-direction: column;
        align-items: center;
    }
    .project-image img {
        max-width: 90%;
    }
    .project-info {
        text-align: center;
    }
}
