* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #111111;
  padding: 2rem 3rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav { display: flex; gap: 1.5rem; }

.nav-link {
  background: none; border: none; font-size: 0.85rem; color: #777;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: #111; font-weight: 600; }

.view-mode-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mode-btn {
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  transition: all 0.2s ease;
}

.mode-btn.active, .mode-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.event-card {
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.event-card-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.event-card-info {
  padding: 1rem;
}

.event-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  color: #111;
}

.event-card-count {
  font-size: 0.8rem;
  color: #777;
}


.back-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.back-btn:hover {
  text-decoration: underline;
}

.event-header-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.masonry-grid { column-count: 4; column-gap: 12px; }
@media (max-width: 1200px) { .masonry-grid { column-count: 3; } }
@media (max-width: 800px)  { .masonry-grid { column-count: 2; } }
@media (max-width: 500px)  { .masonry-grid { column-count: 1; } }

.grid-item {
  break-inside: avoid; margin-bottom: 12px; cursor: pointer;
  overflow: hidden; border-radius: 2px;
}
.grid-item img {
  width: 100%; height: auto; display: block; transition: transform 0.3s ease;
}
.grid-item:hover img { transform: scale(1.02); }

.status { text-align: center; color: #888; padding: 4rem 0; }

.modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85); z-index: 1000; justify-content: center; align-items: center; padding: 2rem;
}
.modal.active { display: flex; }
.modal-content {
  background: #fff; display: flex; max-width: 950px; width: 90%;
  max-height: 85vh; border-radius: 6px; overflow: hidden; position: relative;
}
.close-btn {
  position: absolute; top: 10px; right: 15px; background: none; border: none;
  font-size: 1.8rem; cursor: pointer; z-index: 10; color: #333;
}
.modal-image-container {
  flex: 2; background: #f4f4f4; display: flex; align-items: center; justify-content: center;
}
.modal-image-container img { max-width: 100%; max-height: 85vh; object-fit: contain; }
.modal-sidebar { flex: 1; padding: 2rem; display: flex; flex-direction: column; justify-content: center; min-width: 280px; }
.modal-sidebar h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.modal-desc { font-size: 0.8rem; color: #666; margin-bottom: 1.2rem; }

#request-form { display: flex; flex-direction: column; gap: 0.6rem; }
#request-form label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: #444; }
#request-form input, #request-form textarea { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; }
.submit-btn { background: #111; color: #fff; border: none; padding: 0.6rem; font-size: 0.85rem; font-weight: 600; border-radius: 4px; cursor: pointer; margin-top: 0.4rem; }
.form-status { font-size: 0.8rem; text-align: center; margin-top: 0.4rem; }

a{
  text-decoration: none;
}* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #111111;
  padding: 2rem 3rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav { display: flex; gap: 1.5rem; }

.nav-link {
  background: none; border: none; font-size: 0.85rem; color: #777;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: #111; font-weight: 600; }

.view-mode-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mode-btn {
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  transition: all 0.2s ease;
}

.mode-btn.active, .mode-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.event-card {
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.event-card-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.event-card-info {
  padding: 1rem;
}

.event-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  color: #111;
}

.event-card-count {
  font-size: 0.8rem;
  color: #777;
}


.back-btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.back-btn:hover {
  text-decoration: underline;
}

.event-header-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.masonry-grid { column-count: 4; column-gap: 12px; }
@media (max-width: 1200px) { .masonry-grid { column-count: 3; } }
@media (max-width: 800px)  { .masonry-grid { column-count: 2; } }
@media (max-width: 500px)  { .masonry-grid { column-count: 1; } }

.grid-item {
  break-inside: avoid; margin-bottom: 12px; cursor: pointer;
  overflow: hidden; border-radius: 2px;
}
.grid-item img {
  width: 100%; height: auto; display: block; transition: transform 0.3s ease;
}
.grid-item:hover img { transform: scale(1.02); }

.status { text-align: center; color: #888; padding: 4rem 0; }

.modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85); z-index: 1000; justify-content: center; align-items: center; padding: 2rem;
}
.modal.active { display: flex; }
.modal-content {
  background: #fff; display: flex; max-width: 950px; width: 90%;
  max-height: 85vh; border-radius: 6px; overflow: hidden; position: relative;
}
.close-btn {
  position: absolute; top: 10px; right: 15px; background: none; border: none;
  font-size: 1.8rem; cursor: pointer; z-index: 10; color: #333;
}
.modal-image-container {
  flex: 2; background: #f4f4f4; display: flex; align-items: center; justify-content: center;
}
.modal-image-container img { max-width: 100%; max-height: 85vh; object-fit: contain; }
.modal-sidebar { flex: 1; padding: 2rem; display: flex; flex-direction: column; justify-content: center; min-width: 280px; }
.modal-sidebar h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.modal-desc { font-size: 0.8rem; color: #666; margin-bottom: 1.2rem; }

#request-form { display: flex; flex-direction: column; gap: 0.6rem; }
#request-form label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: #444; }
#request-form input, #request-form textarea { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85rem; }
.submit-btn { background: #111; color: #fff; border: none; padding: 0.6rem; font-size: 0.85rem; font-weight: 600; border-radius: 4px; cursor: pointer; margin-top: 0.4rem; }
.form-status { font-size: 0.8rem; text-align: center; margin-top: 0.4rem; }

a{
  text-decoration: none;
}
