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

body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  font-family: 'Raleway', sans-serif;
  height: 100vh;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0; /* Optional vertical padding */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}


.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* So the email stays clickable if overlapping */
}

.logo img {
  height: 120px; /* Set the height you want */
  width: auto;
  display: block;
}


.contact {
  position: absolute;
  right: 20px;
  top: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  transition: font-size 0.5s ease;
  color: #ccc;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 1080px) {
  .contact {
  font-size: 14px;
  transition: font-size 0.5s ease;
  }
}

.slideshow-container {
  position: fixed; /* changed from relative */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* full screen */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}


.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.slide.active {
  opacity: 1;
}

.image-container {
  padding-top: var(--header-height, 100px); /* Fallback height */
  height: calc(100vh - var(--header-height, 100px));
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-button {
  position: fixed;
  top: 45vh;
  transform: translateY(-50%);
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 300;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, width 0.4s ease, height 0.4s ease;
  backdrop-filter: blur(12px);
  padding: 0;
  box-shadow: 0 0 10px rgba(17, 17, 17, 0.85);
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.05);
}

/* Position closer to main image */
.prev-button {
  left: calc(50% - 540px);
}

.next-button {
  right: calc(50% - 540px);
}

/* Mobile */
@media (max-width: 1080px) {
  .nav-button {
    width: 64px;
    height: 64px;
    transition: width 0.4s ease, height 0.4s ease;
  }

  .prev-button {
    left: 5px;
  }

  .next-button {
    right: 5px;
  }
}

.gallery-counter {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #ccc;
  font-size: 14px;
  z-index: 300;
}

.details-panel {
  position: relative;
  z-index: 200;
  translate: 0 calc(calc(var(--vh, 1vh) * 100) - 60px);
  width: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 5px rgba(5, 5, 5, 0.85);
  padding-bottom: 200px;
}

.details-header {
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.details-header-inner {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.details-title {
  font-size: 32px;
  font-weight: normal;
  flex: 1;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: opacity 2s ease, font-size 0.5s ease;
  opacity: 1;
  letter-spacing: 0.3em;
}

/* Mobile */
@media (max-width: 1080px) {
  .details-title {
  font-size: 24px;
  letter-spacing: 0.1em;
  transition: opacity 0.6s ease, font-size 0.5s ease;
  }
}

.scroll-hint-inline {
  position: fixed;
  right: 0;
  top: 0;
  translate: 0 calc(calc(var(--vh, 1vh) * 100) - 100px);
  margin-right: 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 100;
  transition: font-size 0.5s ease;
}

/* Mobile */
@media (max-width: 1080px) {
  .scroll-hint-inline {
  font-size: 12px;
  transition: font-size 0.5s ease;
  }
}

.details-content {
  max-width: 800px;
  width: 75%;
  margin: 0 auto;
  padding: 20px;
}

.video-container {
  width: 100%;
  height: 400px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  width: 400px;
  height: 400px;
  object-fit: contain;
  border-radius: 5px;
}

.contact a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.1s ease;
}

.contact a:hover {
  color: #fff;
  transition: color 0.1s ease;
}

.gallery-desc {
  text-align: center;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .video-container video {
    width: 300px;
    height: 300px;
  }
}

.gallery-desc p {
  margin-bottom: 1em; /* Space between paragraphs */
  line-height: 1.6;
}
