﻿/* â”€â”€â”€ 20. Project Showroom (CSS scroll-snap slider) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.showroom { background: var(--clr-surface); }

/* Outer wrapper */
.pswiper {
  position: relative;
  width: 100%;
}

/* Scroll container â€” one slide wide, snap per slide */
.pswiper__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* hide scrollbar visually but keep it functional */
  scrollbar-width: none;
}
.pswiper__track::-webkit-scrollbar { display: none; }

/* Individual slide */
.pswiper__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Image column */
.pswiper__img-col {
  overflow: hidden;
  background: var(--clr-elevated);
}
.pswiper__img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient placeholder */
.pswiper__placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
}

/* Content column */
.pswiper__body-col {
  padding: var(--sp-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-md);
}
.pswiper__num {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--clr-text-dim);
}
.pswiper__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: var(--clr-text);
}
.pswiper__desc {
  font-size: .9375rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 44ch;
}

/* Dot navigation â€” anchor-link based */
.pswiper__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: var(--sp-lg);
}
.pswiper__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--clr-border);
  border: 2px solid var(--clr-border);
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
  flex-shrink: 0;
}
.pswiper__dot:hover,
.pswiper__dot.active,
.pswiper__dot:target {
  background: var(--clr-primary);
  width: 24px;
  border-color: var(--clr-primary);
}

.showroom-grad-0 { background: linear-gradient(135deg, #FA3DC7 0%, #A870DB 50%, #46C0DF 100%); }
.showroom-grad-1 { background: linear-gradient(135deg, #8090DD 0%, #46C0DF 100%); }
.showroom-grad-2 { background: linear-gradient(135deg, #FEDC31 0%, #FA3DC7 100%); }
.showroom-grad-3 { background: linear-gradient(135deg, #A870DB 0%, #46C0DF 100%); }

/* â”€â”€â”€ 21. Project Explorer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.explorer-search {
  position: relative;
  max-width: 540px;
  margin: 0 auto var(--sp-xl);
}
.explorer-search__input {
  width: 100%;
  background: var(--clr-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-full);
  padding: .875rem 1.25rem .875rem 3rem;
  font-size: 1rem;
  color: var(--clr-text);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.explorer-search__input::placeholder { color: var(--clr-text-dim); }
.explorer-search__input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(108,92,231,.12);
}
.explorer-search__icon {
  position: absolute;
  left: 1.125rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-dim);
  pointer-events: none;
  display: flex;
}
.explorer-search__icon svg { width: 18px; height: 18px; }

.explorer-empty {
  text-align: center;
  padding: var(--sp-2xl);
  color: var(--clr-text-muted);
}

