/* Internal header comparison page */

body.headers-showcase-page .page-content {
  padding-top: 0;
  height: 100vh;
  overflow: hidden;
}

.headers-showcase {
  background: #272727;
}

.headers-showcase-intro {
  display: none;
}

.headers-showcase-intro h1 {
  margin: 0 0 12px;
  font-family: "Geist", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.headers-showcase-intro p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.55;
}

/* Carousel Styles */
.headers-carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.headers-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  height: 100%;
  position: relative;
  z-index: 1;
}

.headers-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.header-showcase-block {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  border: none;
}

.headers-carousel-nav {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: transparent;
  pointer-events: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(39, 39, 39, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(39, 39, 39, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-prev {
  left: 24px;
}

.carousel-arrow-next {
  right: 24px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #d1ff6e;
  transform: scale(1.2);
}

.header-showcase-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(24px, 5vw, 60px);
  background: rgba(39, 39, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  pointer-events: auto;
}

.header-showcase-label strong {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-showcase-label span {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.header-showcase-preview {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Header 3 uses a light hero — preview gets a light nav hint */
.header-showcase-block--3 .header-showcase-label {
  background: rgba(229, 234, 237, 0.95);
  color: #212121;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.header-showcase-block--3 .header-showcase-label span {
  color: rgba(33, 33, 33, 0.55);
}

@media (max-width: 768px) {
  .headers-carousel-nav {
    bottom: 16px;
  }
  
  .carousel-arrow {
    display: none;
  }
  
  .header-showcase-label {
    flex-direction: column;
    align-items: flex-start;
  }
}
