/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to Main Content - Accessibility Feature */
.skip-link {
    background: #fff;
    color: #000080;
    font-weight: bold;
    padding: 10px;
    position: absolute;
    transform: translateY(-200%);
    transition: transform 0.3s;
}

.skip-link:focus {
    transform: translateY(0%);
}

body {
    font-family: Arial, sans-serif;
    background-color: #D3D3D3;  /* Light grey background matching the image */
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 2rem;
}

.site-title {
    font-family: cursive;  /* Similar to the stylized "Michigan Parks" text */
    color: #000080;  /* Dark blue color */
    font-size: 3rem;
    margin: 1rem 0;
}

/* Navigation */
nav {
    margin-bottom: 2rem;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

nav a {
    color: #4B0082;  /* Purple color for links */
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Profile Image in Nav */
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 0;  /* Image is not rounded in the reference */
    margin-left: 2rem;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 5 columns as shown in the image */
    gap: 10px;
    background-color: #FFFF00;  /* Yellow background around images */
    padding: 20px;
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Footer */
footer {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #D3D3D3;  /* Matching the body background */
    text-align: left;
}

footer a {
    color: #4B0082;  /* Purple color for links */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-img {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .site-title {
        font-size: 2rem;
    }
}