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

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111;
}

/* Global content wrapper */
.page-container {
    width: 50%;
    margin: 0 auto;
}

/* Links */
a:link, a:visited, a:active {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #666;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.logo {
    height: 40px;
}

nav {
    display: flex;
    gap: 30px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
}

/* Main */
main {
    padding-bottom: 60px;
}
section {
    margin-top: 0px;
    margin-bottom: 0px;
}
.project-info{
    width: 75%;
    margin: 0 auto 60px auto;  /* centers horizontally + adds space below */
    text-align: center;
}

.image-series {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

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

.image-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.image-item-home img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.image-spacer img {
    width: 100%;
    aspect-ratio: 800 / 2;
    object-fit: cover;
    display: block;
}
.image-description {
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Video */
.video-container {
    margin-top: 60px;
}

.video-container video {
    width: 100%;          /* makes video fit container width */
    height: auto;
    aspect-ratio: 16 / 9; /* keeps proper video proportions */
    display: block;
}

/* Footer */
.site-footer {
    padding: 40px 0 60px 0;
    font-family: "Roboto", Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: center;  /* centers horizontally */
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #333;
    text-align: center;       /* centers text */
}

.footer-content a {
    transition: color 0.6s;
}

.footer-content a:hover {
    color: #f00;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-container {
        width: 90%;
    }

    .image-series {
        grid-template-columns: 1fr;
    }

    header {
	/* original */
        /* flex-direction: column; */
        /* align-items: flex-start; */
        /* gap: 20px; */
        flex-direction: row;       /* keep horizontal */
        align-items: center;       /* vertical alignment */
        gap: 40px;                 /* spacing between logo and nav */
    }
}
