/* General */
body {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  background-color: black;
  color: white;
}
 
/* Sidebar */
.sidebar {
  width: 15%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  box-sizing: border-box;
  background-color: black;
}

.sidebar h1.logo-title {
  font-family: 'Michroma', sans-serif;
  margin: 0;
}

.sidebar .subtitle {
  font-weight: 100;
  margin-top: 10px;
  letter-spacing: 6px;
}

.nav-links {
  margin-top: 40px;
}

.nav-links a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  text-decoration: none;
  color: white;
  font-weight: 100;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Content */
.content {
  margin-left: 15%;
  padding: 20px;
  min-height: 100vh;
}

.content-inner {
  min-height: 80vh;
}

/* Image Grid: 6 images across */
.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.image-grid img {
  width: 100%;
  cursor: pointer;
}

/* Detail View Container */
.detail-view {
  display: flex;                /* side-by-side layout */
  height: 100vh;                /* full viewport height */
  overflow: hidden;             /* prevent scrolling */
}

/* Image Container */
.detail-image {
  width: 50vw;                  /* half the viewport width */
  height: 100vh;                /* full viewport height */
  display: flex;
  justify-content: center;      /* center image horizontally */
  align-items: center;          /* center image vertically */
  overflow: hidden;             /* hide any overflow */
}

/* Image inside container */
.detail-image img {
  max-width: 100%;              /* scale to fit width */
  max-height: 100%;             /* scale to fit height */
  object-fit: contain;          /* preserve aspect ratio */
  display: block;
}

/* Text next to image */
.detail-text {
  width: 50vw;                  /* take the other half of the screen */
  height: 100vh;                /* full height */
  display: flex;
  flex-direction: column;       /* stack title and description */
  justify-content: center;      /* center text vertically */
  align-items: flex-start;      /* align text to left */
  padding-left: 20px;           /* space from image */
  box-sizing: border-box;
  text-align: left;
}

.detail-text h2 {
  letter-spacing: 5px;
}

.detail-text p {
  letter-spacing: 3px;
}

/* Films */
.detail-video video {
  max-width: 100%;
  max-height: 100vh;
  display: block;
}
