.container {
    max-width: 1000px;
    margin: 80px auto;
    text-align: center; /* Center container text while content remains left-aligned */
    font-family: 'Montserrat', 'Futura', sans-serif;
    color: #555;
    margin-top: 80px;
}

/* Navigation Header Styling */
.nav-header {
    margin: 0 auto;
    padding-top: 80px;
    position: relative; /* Allow scrolling */
}

/* Navigation Container */
.nav-header .container {

    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

/* Logo Styling */
.nav-header .logo a {
    font-family: 'Montserrat', 'Futura', sans-serif;
    font-size: 1.5em;
    font-weight: none;
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Links */
.nav-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-header nav ul li {
    display: inline;
}

.nav-header nav ul li a {
    font-size: .8em;
    font-weight: normal;
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Prevent visited link color change */
.nav-header nav ul li a:visited {
    color: #555;
    text-decoration: none;
}

.nav-header nav ul li a:hover {
    color: #000;
}

/* Adjust spacing for content below fixed header */
body {
    padding-top: 60px;
}

/* Header Styling */
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #555;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center; /* Ensure grid stays centered */
}

/* Tile Styling */
.grid-item {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
}

/* Image Styling */
.image-container {
    width: 100%;
    aspect-ratio: 1/1; /* Ensures a perfect square shape */
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
}

/* Placeholder Styling for Unposted Days */
.placeholder {
    width: 100%;
    aspect-ratio: 1/1; /* Keep placeholder square */
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-weight: bold;
    color: #555;
    border-bottom: 1px solid #ddd;
}

/* Text below each image tile */
.tile-text {
    text-align: left;
    padding: 10px;
    font-family: 'Montserrat', 'Futura', sans-serif;
}

/* Tile title */
.tile-title {
    font-size: 1.1em;
    font-weight: bold;

    margin-bottom: 3px;
}

/* Tile date */
.tile-date {
    font-size: 0.9em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .nav-header .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-header nav ul {
        flex-direction: column;
        gap: 15px;
    }

    header h1 {
        font-size: 2em;
    }
}
