* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #222;
}

.container {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
}

.hero {
  background: #1f2937;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.tagline {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.nav-link,
a {
  color: #1d4ed8;
}

.hero a {
  color: white;
}

.card {
  background: white;
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

input,
textarea,
button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.35rem;
  border-radius: 6px;
  font-size: 1rem;
}

input,
textarea {
  border: 1px solid #ccc;
}

button {
  margin-top: 1rem;
  border: none;
  background: #111827;
  color: white;
  cursor: pointer;
}

button:hover {
  opacity: 0.92;
}

img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: #666;
}

.comment-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.9rem;
  margin: 0.8rem 0;
}

.comment-date {
  font-size: 0.9rem;
  color: #666;
}

img {
  max-width: 100%;
  height: auto;
  image-orientation: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.main-nav a {
  color: white;
  text-decoration: underline;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.main-nav a {
  color: white;
  text-decoration: underline;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 15px;
}

.photo-tile {
  text-align: center;
}

.photo-tile img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}