/* =====================
   BASE
   ===================== */
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #0a0a0a;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* =====================
   NAVBAR
   ===================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: black;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
nav h1 {
  font-weight: 600;
  margin: 0;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: white;
  font-weight: 300;
  transition: color 0.3s;
}
nav a:hover {
  color: #00c2ff;
}
/* =====================
   LAYOUT
   ===================== */
.main-content {
  flex: 1;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
}
.main-content > section {
  flex: 1;
}
/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 40px 40px;
  text-align: left;
  margin: 0;
}
.section h2 {
  font-weight: 500;
}
.section p {
  font-weight: 200;
  opacity: 0.8;
}
/* =====================
   GALLERY
   ===================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  overflow: visible;
  padding: 8px;
}
.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 1);
}
/*.gallery a:hover img {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 1);
}*/
/* =====================
   MODAL
   ===================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2000;
}
.modal img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  transition: transform 0.4s ease;
}
.modal:target {
  opacity: 1;
  pointer-events: auto;
}
.modal:target img {
  transform: translate(-50%, -50%) scale(1);
}
.modal .close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* =====================
   VIDEO
   ===================== */

.video-section {
  padding: 40px 0 20px 0;
  width: 100%;
}
.video-container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}
.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  border: none;
}
/* =====================
   CATEGORY
   ===================== */
.category {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 50px;
}
.category h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #00c2ff;
  text-transform: uppercase;
}
.date {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 20px;
}
/* =====================
   FOOTER
   ===================== */
footer {
  background: #000;
  border-top: 1px solid #1a1a1a;
  padding: 40px;
  text-align: center;
}
footer p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
}
/* =====================
   ANIMATIONS
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 0.8s ease forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =====================
   PAGE LOAD FADE-IN
   ===================== */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.loaded {
  opacity: 1;
}
/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 600px) {
  nav {
    padding: 16px 24px;
  }
  .section {
    padding: 30px 20px;
  }
  .video-container {
    padding: 0 20px;
  }
}