body { font-family: sans-serif; background-color: #1a1a1a; color: #f0f0f0; margin: 0; padding: 0; }
header { background: #b71c1c; padding: 20px; text-align: center; }
h1 { margin: 0; }
a { color: #fff; text-decoration: none; }

.container { max-width: 1000px; margin: 20px auto; padding: 20px; }

/* Grid for photos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: #2c2c2c; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-body { padding: 15px; }
.card-title { font-size: 1.2em; color: #ff6659; font-weight: bold; margin-bottom: 5px; display: block; }
.card-bio { font-size: 0.9em; color: #ccc; }

/* Forms */
.form-box { background: #2c2c2c; padding: 30px; border-radius: 8px; max-width: 500px; margin: 0 auto; }
input, textarea { width: 100%; padding: 10px; margin-bottom: 10px; border: none; border-radius: 4px; }
button { background: #d32f2f; color: white; padding: 10px 20px; border: none; cursor: pointer; width: 100%; }
button:hover { background: #b71c1c; }

.nav-link { float: right; font-size: 0.9rem; margin-top: -30px; }

/* Change grid-template-columns to force more items per row */
.gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px; 
}

.card img { 
    width: 100%; 
    height: 200px; /* This forces a uniform height */
    object-fit: cover; /* This crops the image to fit the box without stretching */
    display: block;
}
