body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #18120b;
  color: #ffd700;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #18120b 80%, #ffd700 100%);
  padding: 0 40px;
  height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffd700;
  letter-spacing: 2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #ffd700;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.nav-links li a.active, .nav-links li a:hover {
  background: #ffd700;
  color: #18120b;
}

.main-content {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
}
.main-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}
.video-section {
  flex: 1 1 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 320px;
}
.video-section video {
  width: 100%;
  max-width: 800px;
  border: 4px solid #ffd700;
  border-radius: 12px;
  background: #000;
}
.carousel-section {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 16px;
}
.carousel-container {
  display: flex;
  gap: 24px;
}
.carousel-container img {
  height: 220px;
  border-radius: 10px;
  border: 2px solid #ffd700;
  background: #222;
  transition: transform 0.2s;
}
.carousel-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 24px #ffd70055;
}

.detail-content {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
}
.detail-content h1 {
  color: #ffd700;
  text-align: center;
  margin-bottom: 32px;
  font-size: 2.2rem;
}
.detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.detail-images img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #ffd700;
  background: #222;
  transition: transform 0.2s;
}
.detail-images img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 24px #ffd70055;
}

.detail-carousel-section {
  overflow: hidden;
  width: 100%;
  margin: 0 auto 40px auto;
  max-width: 1400px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-carousel-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  width: 100%;
  height: 100%;
}
.detail-carousel-container img {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  border: 2px solid #ffd700;
  background: #222;
  margin-right: 24px;
  transition: transform 0.2s, height 0.2s;
  box-sizing: border-box;
  display: block;
}
.detail-carousel-container img:last-child {
  margin-right: 0;
}
@media (max-width: 1200px) {
  .detail-carousel-section {
    max-width: 100vw;
    height: 38vw;
    min-height: 220px;
  }
  .detail-carousel-container img {
    height: 100%;
    min-height: 120px;
    max-height: 420px;
  }
}
@media (max-width: 900px) {
  .main-flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .detail-carousel-container img {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
  .detail-carousel-section {
    height: 48vw;
    min-height: 160px;
  }
}
@media (max-width: 600px) {
  .detail-carousel-container img {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .detail-carousel-section {
    height: 60vw;
    min-height: 100px;
  }
}

@media (max-width: 700px) {
  .navbar { flex-direction: column; height: auto; padding: 10px 10px; }
  .main-content, .detail-content { padding: 0 5px; }
  .carousel-container img { height: 120px; }
  .detail-content h1 { font-size: 1.3rem; }
}

.vertical-images-section {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.main-thumb {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ffd700;
  background: #222;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.main-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 24px #ffd70055;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.img-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  border: 3px solid #ffd700;
  background: #222;
  box-shadow: 0 8px 32px #000a;
}
.img-modal-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #ffd700;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  text-shadow: 0 2px 8px #000;
}
@media (max-width: 900px) {
  .vertical-images-section {
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-thumb {
    width: 120px;
    height: 80px;
  }
} 