@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Sidebar Navigation */
nav {
  width: 220px;
  background-color: #000;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
}

nav h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  display: inline-block;
  padding-left: 0.75rem; /* indent both text and underline */
}

nav a::after {
  content: '';
  position: absolute;
  width: calc(100% - 0.75rem); /* matches indent */
  height: 1px;
  left: 0.75rem;               /* same as padding-left */
  bottom: -3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}


/* Main Content */
main {
  margin-left: 220px;
  padding: 4rem 2rem 0;
}
footer {
  margin-left: 220px;
  padding: 0.5rem 2rem;
  margin-top: 0;
  text-align: left;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.video-title {
  margin-bottom: 0.5rem;
}

section p, ul {
  margin-bottom: 2rem;
}

ul {
  list-style: none;
  padding-left: 0;
}

/* Image Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
}


.photo-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

/* Vimeo Video */

.logo-block {
  display: flex;
  flex-direction: column;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.logo-block img {
  width: 200px;
  height: auto;
  margin-bottom: 0.05rem;
}

.logo-name {
  font-size: 0.95rem;
  color: #aaa;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 1rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: 1rem 0 0;
  width: 100%;
  max-width: 1000px; /* or 1200px if you want bigger */
}

/* Tighter spacing on single-video pages */
.video-page .video-wrapper {
  margin: 0;
}

.video-page section {
  margin-bottom: 0;
}

/* Reduce spacing on standalone video pages */
main.video-page {
  padding-top: 0rem;
  padding-bottom: 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  nav {
    width: 100%;
    position: static;
    border-right: none;
    border-bottom: 1px solid #222;
    padding: 2rem 1rem;
    display: flex;
  flex-direction: column;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .logo-block {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
  }

  .logo-block img {
    width: 150px;
    margin-bottom: 0.25rem;
  }

  .logo-name {
    font-size: 1rem;
    text-align: center;
  }

  nav a {
    font-size: 1rem;
    margin: 0;
    text-indent: 0;
    padding-left: 0;
  }

  nav a::after {
    left: 0;
    width: 100%;
  }

  main {
    margin-left: 0;
    padding: 2rem 1rem 0;
  }

  footer {
    margin-left: 0;
    padding: 0.5rem 1rem;
    margin-top: 0;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }
}

.photo-card {
  width: 100%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.photo-card .photo-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  z-index: 2;
}

.photo-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.photo-card:hover::after {
  opacity: 1;
}

.photo-card:hover .photo-title {
  opacity: 1;
}
