body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.back-button-container {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000;
}

.back-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

header {
  background: url('deutschmotors.jpg') no-repeat center center;
  background-size: cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title {
  font-size: 3em;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 40px;
}

.image-card {
  margin: 24px auto;
  max-width: 800px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.image-card img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-card img:hover {
  transform: scale(1.02);
}

.image-card p {
  padding: 10px;
  font-size: 0.95em;
  color: #444;
}

/* .fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  margin: 0;
  padding: 0;
} */

.summary-info {
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 24px 16px;
  margin-bottom: 24px;
}

.summary-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
  color: #444;
  font-weight: 500;
}

.summary-content p {
  margin: 6px 0;
  line-height: 1.6;
}

/* 모달 배경 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

/* 모달 이미지 */
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.3);
}

/* 닫기 버튼 */
.close-btn {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* 확대된 이미지 (전체화면 효과) */
.fullscreen {
  max-width: 95vw;
  max-height: 95vh;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* 썸네일 확대 커서 */
.zoomable {
  cursor: zoom-in;
}
