/* Reset / Typography */

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

body {
  padding: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

p {
  font-weight: 300;
}

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
}

.site-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.site-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: black; /* keep header links simple */
  font-weight: 300;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Layout / Containers */

.project-container {
  max-width: 70%;
  margin: 0 auto;
}

.project-info {
  margin-bottom: 2rem;
}

/* Links inside text content (highlighted style) */

.project-info a {
  color: white;
  background: blue; /* modern blue */
  text-decoration: none;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.project-info a:hover {
  background: white;
  color: blue;
}

/* Slideshow (reusable across projects) */

.slideshow {
  position: relative;
  width: 100%;
}

.slide-frame {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide-frame img,
.slide-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slideshow navigation */

.slideshow button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  font-size: 2rem;
  color: black;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0;
  z-index: 2;
}

.slideshow button.prev { left: 10px; }
.slideshow button.next { right: 10px; }

.slideshow:hover button {
  opacity: 1;
}

.slideshow button:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Video mute button overlay (optional if you still use custom mute) */

.video-mute-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: background 0.2s, transform 0.1s;
}

.video-mute-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

/* Responsive */

@media (max-width: 600px) {
  .project-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .slideshow button.prev,
  .slideshow button.next {
    display: none;
  }
}