/* General Reset */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


/* Hero Section */
/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f8f8;
    text-align: center;
}


.hero .name {
    font-size: 2rem; 
    font-weight: bold; 
    margin-bottom: 1rem; 
}



.hero .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
    width: fit-content; /* Change from 100% to fit-content */
    margin-left: auto; /* Center the nav-links container */
    margin-right: auto;
}

.hero .nav-links a {
    display: inline-block;
    text-decoration: none;
    color: #575757;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.current {
    color: #000000;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 6rem 2rem;
}

.intro h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
}

.intro .hero-description {
    font-size: 2rem;
    color: #666;
    margin-top: 1rem;
}

/* Image Grid Section */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
    padding: 5rem 14rem; /* Original large padding */
}

/* Add these media queries */
@media (max-width: 1400px) {
    .image-grid {
        padding: 5rem 8rem;
    }
}

@media (max-width: 1200px) {
    .image-grid {
        padding: 5rem 4rem;
    }
}

@media (max-width: 992px) {
    .image-grid {
        padding: 5rem 2rem;
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr; /* Already in your CSS */
        padding: 3rem 1rem;
    }
}

.image-grid .grid-item {
    text-align: center;
}

.image-grid img {
    width: 100%; 
    border-radius: 10px 10px 0 0; 
    transition: box-shadow 0.1s ease-in-out;
}

.image-grid h3 {
    margin: 1rem 0 0.5rem;
}

.image-grid p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.image-grid .small-text {
    font-size: 0.8rem;
    color: #999;
}
.image-grid img:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 
                0 6px 6px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr; /* Switch to 1x1 grid for smaller devices */
    }
}

/* about page */
.About {
    text-align: center;
    padding: 6rem 2rem;
    font-size: 2rem;
    color: #000;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: sans-serif;
    color: #333;
}

.about-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.about-figure {
    flex: 1 1 200px;
    max-width: 300px;
    margin: 0;
}

.about-headshot {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 2 1 400px;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    line-height: 1.6;
    margin-bottom: 1em;
}


/* contact page */
body {
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}



.logo {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}



/* Contact Section */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: left;
}

.contact-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.contact-section p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    line-height: 1.6;
}



footer {
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    font-family: sans-serif;
}


footer a svg {
    fill: #6e6e6e; /* LinkedIn brand color */
    transition: fill 0.3s;
    vertical-align: bottom;
}

footer a svg:hover {
    fill: #000000;
}

