/* css/showcase.css - Landing Page Slideshow */

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

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  overflow-x: hidden;
  height: 100vh;
  width: 100%;
  max-width: 100vw;
  font-family: 'Fira Sans', Arial, sans-serif;
  background: #f5f5f5;
}

/* ==========================================
   SLIDESHOW BACKGROUND
   ========================================== */

.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-image.active {
  opacity: 0.75; 
}

/* ==========================================
   CENTERED CONTENT OVERLAY
   ========================================== */

.showcase-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  text-align: center;
  color: #f5f5f5;
  padding: 2rem;
  box-sizing: border-box;
}

/* ==========================================
   HEADING
   ========================================== */

.showcase-heading {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: lowercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
  z-index: 5;
}

/* ==========================================
   SUBTITLE
   ========================================== */

.showcase-subtitle {
  font-family: var(--font-body);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: var(--weight-regular);
  color: var(--color-text);
  margin-bottom: 3rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  z-index: 5;
}

/* ==========================================
   HORIZONTAL MENU
   ========================================== */

.showcase-menu {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 5;
}

.showcase-menu a {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 4px;
}

.showcase-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-menu a:hover::after {
  opacity: 1;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
  .showcase-heading {
    font-size: clamp(40px, 10vw, 56px);
  }

  .showcase-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 2rem;
  }

  .showcase-menu {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .showcase-menu a {
    font-size: clamp(14px, 4vw, 18px);
  }
}

@media (max-width: 480px) {
  .showcase-content {
    padding: 1.5rem;
  }

  .showcase-menu {
    gap: 1rem;
  }
}

/* ==========================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  .slideshow-image {
    transition: none;
  }
}

/* Ensure good contrast for text readability */
.showcase-content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 5;
  pointer-events: none;
}
