/* Projeler — sol video, sağ künye */

body[data-page='projeler'] {
  background: #231d1a;
}

body[data-page='projeler'] .page-main {
  padding-top: 0;
}

body[data-page='projeler'] #site-header {
  background: transparent;
}

body[data-page='projeler'] .site-nav__trigger,
body[data-page='projeler'] .site-logo__brand,
body[data-page='projeler'] .site-logo__tag,
body[data-page='projeler'] .site-logo__mark,
body[data-page='projeler'] .site-header__menu-btn {
  color: #f3ebe0;
}

body[data-page='projeler'] .site-logo__mark {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.75);
}

.ps-stage {
  display: grid;
  grid-template-columns: minmax(0, 55%) 1px minmax(0, 45%);
  width: 100%;
  height: 100svh;
  min-height: 100vh;
  background: #231d1a;
  color: #f5f2eb;
  overflow: hidden;
}

.ps-video {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #0c0c0c;
}

.ps-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.ps-rule {
  background: linear-gradient(180deg, #d4af37 0%, #c49a6c 50%, #d4af37 100%);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
  pointer-events: none;
}

.ps-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ps-hotspot {
  position: absolute;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
}

.ps-hotspot__dot {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.9);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.ps-hotspot__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(252, 211, 77, 0.4);
  animation: ps-pulse 1.8s ease-out infinite;
}

@keyframes ps-pulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.ps-chip {
  position: absolute;
  z-index: 3;
  width: min(14rem, 70%);
  transform: translate(-10%, 1.4rem);
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(18, 18, 18, 0.62);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.ps-chip[hidden] { display: none; }

.ps-chip__title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: #f3ebe0;
}

.ps-chip__text {
  margin: 0.3rem 0 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(243, 235, 224, 0.78);
}

.ps-panel {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(5.5rem, 12vh, 7rem) clamp(1.15rem, 2.4vw, 2.2rem) 5.4rem;
  background: linear-gradient(145deg, #322a25 0%, #231d1a 100%) !important;
}

.ps-title {
  margin: 0 0 0.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
  color: #ffffff !important;
}

.ps-story {
  margin: 0;
  max-width: 36rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #d6d1ca !important;
}

.ps-materials {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ps-materials > li {
  display: flex;
  min-width: 0;
  margin: 0;
}

.ps-mat {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.ps-mat:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ps-mat.is-on {
  border-color: #d4af37 !important;
  background: rgba(212, 175, 55, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.ps-mat__name {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37 !important;
}

.ps-mat__desc {
  margin: 0.3rem 0 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #e6e2dc;
}

.ps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.ps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

@media (min-width: 768px) {
  .ps-cta {
    font-size: 0.875rem;
  }
}

.ps-cta--gold {
  background: #c49a6c;
  color: #121212;
  border: 1px solid #c49a6c;
  font-weight: 500;
}

.ps-cta--gold:hover,
.ps-cta--gold:focus-visible {
  background: #d4af37;
  color: #121212;
  border-color: #d4af37;
}

.ps-cta--glass {
  border: 1px solid rgba(37, 211, 102, 0.75);
  background: transparent;
  color: #f5f2eb;
}

.ps-cta--glass:hover,
.ps-cta--glass:focus-visible {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  color: #fff;
}

.ps-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.8rem;
}

.ps-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: transparent;
  color: #f5f2eb;
  opacity: 0.4;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.72rem;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
}

.ps-tab span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #d4af37;
}

.ps-tab:hover,
.ps-tab:focus-visible {
  opacity: 0.72;
  border-color: rgba(212, 175, 55, 0.45);
}

.ps-tab.is-active {
  opacity: 1;
  border-color: #d4af37;
  color: #ffffff;
  background: rgba(196, 154, 108, 0.16);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.ps-stage.is-switching .ps-video video,
.ps-stage.is-switching .ps-title,
.ps-stage.is-switching .ps-story,
.ps-stage.is-switching .ps-materials {
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.ps-video video,
.ps-title,
.ps-story,
.ps-materials {
  transition: opacity 0.45s ease;
}

body[data-page='projeler'] .projeler-section {
  background: #f7f3ee;
  color: #1a1714;
}

body[data-page='projeler'] .projeler-head {
  margin-left: 0;
  margin-right: auto;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(196, 154, 108, 0.55);
  text-align: left;
}

body[data-page='projeler'] .projeler-filters {
  margin: 0 0 2.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

body[data-page='projeler'] .projeler-filters::-webkit-scrollbar {
  display: none;
}

body[data-page='projeler'] .projeler-filters__track {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  width: max-content;
  margin-inline: auto;
  padding-bottom: 2px;
}

body[data-page='projeler'] .projeler-filter {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: rgba(26, 23, 20, 0.48);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  padding: 0.55rem 0.8rem 0.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page='projeler'] .projeler-filter.is-active {
  background: rgba(26, 23, 20, 0.05);
  border-bottom-color: #c49a6c;
  color: #1a1714;
}

body[data-page='projeler'] .projeler-filters__sep {
  color: rgba(196, 154, 108, 0.85);
  font-size: 0.85rem;
  line-height: 1;
}

body[data-page='projeler'] .product-grid--story {
  display: flex;
  flex-direction: column;
  gap: clamp(3.25rem, 6vw, 5.25rem);
}

body[data-page='projeler'] .product-grid--story.is-filtering .product-card--story {
  opacity: 0;
}

body[data-page='projeler'] .product-card--story.is-filtered-out {
  display: none;
}

body[data-page='projeler'] .product-card--story,
body[data-page='projeler'] .product-card--story.product-card--reverse {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-page='projeler'] .product-card--story:hover {
  transform: none;
  box-shadow: none;
}

body[data-page='projeler'] .product-card--story .product-card__image-wrap {
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow:
    0 10px 15px -3px rgba(26, 23, 20, 0.12),
    0 4px 6px -4px rgba(26, 23, 20, 0.1);
}

body[data-page='projeler'] .product-card--story .product-card__slide,
body[data-page='projeler'] .product-card--story .craft-photo {
  filter: none;
  transition: transform 0.5s ease, opacity 0.6s ease;
}

body[data-page='projeler'] .product-card--story .product-card__image-wrap:hover .product-card__slide.is-active,
body[data-page='projeler'] .product-card--story .product-card__image-wrap:focus-visible .product-card__slide.is-active {
  transform: scale(1.05);
}

body[data-page='projeler'] .product-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.46);
  backdrop-filter: blur(8px);
  color: #f7f3ee;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

body[data-page='projeler'] .product-card--story .product-card__body {
  padding: 1.35rem 0 0;
}

body[data-page='projeler'] .product-card--story .product-card__text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  max-width: 38rem;
  margin-top: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

body[data-page='projeler'] .product-card__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

body[data-page='projeler'] .product-card__spec {
  border: 1px solid rgba(26, 23, 20, 0.14);
  background: rgba(255, 255, 255, 0.38);
  padding: 0.75rem 0.8rem 0.85rem;
}

body[data-page='projeler'] .product-card__spec-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #8a6840;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page='projeler'] .product-card__spec-value {
  display: block;
  color: #1a1714;
  font-size: 0.84rem;
  line-height: 1.45;
}

body[data-page='projeler'] .product-card--story .product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

body[data-page='projeler'] .product-card--story .product-card__btn {
  width: auto;
  min-height: 2.75rem;
  padding: 0.75rem 1.15rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.84rem;
}

body[data-page='projeler'] .product-card--story .product-card__btn--gold {
  background: #c49a6c;
  border-color: #c49a6c;
  color: #121212;
}

body[data-page='projeler'] .product-card--story .product-card__btn--gold:hover {
  background: #b78958;
  border-color: #b78958;
  color: #121212;
}

body[data-page='projeler'] .product-card--story .product-card__btn--ghost,
body[data-page='projeler'] .product-card--story .product-card__btn--wa {
  background: transparent;
  border-color: rgba(37, 211, 102, 0.7);
  color: #146c36;
}

body[data-page='projeler'] .product-card--story .product-card__btn--ghost:hover,
body[data-page='projeler'] .product-card--story .product-card__btn--wa:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25d366;
  color: #146c36;
}

body[data-page='projeler'] .product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

body[data-page='projeler'] .product-card__tags li {
  max-width: 100%;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(26, 23, 20, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #1a1714;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 719px) {
  body[data-page='projeler'] .projeler-filters__track {
    margin-inline: 0;
  }
}

@media (min-width: 720px) {
  body[data-page='projeler'] .product-card__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body[data-page='projeler'] .product-card--story {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  body[data-page='projeler'] .product-card--story .product-card__body {
    padding: 0.25rem 0;
  }

  body[data-page='projeler'] .product-card--story .product-card__image-wrap {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }
}

body[data-page='projeler'] .projeler-section h1,
body[data-page='projeler'] .product-card--story .product-card__title {
  color: #1a1714;
}

body[data-page='projeler'] .projeler-section h1 {
  line-height: 1.25;
}

body[data-page='projeler'] .projeler-section p,
body[data-page='projeler'] .product-card--story .product-card__text {
  color: rgba(26, 23, 20, 0.78);
}

body[data-page='projeler'] .product-card--story .product-card__kicker {
  color: #a6844e;
}

@media (max-width: 1023px) {
  .ps-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .ps-video {
    height: 45vh;
    min-height: 45vh;
  }

  .ps-rule {
    height: 1px;
    width: 100%;
  }

  .ps-panel {
    overflow: visible;
    padding: 1.35rem 1.1rem calc(var(--mobile-bar-height, 3.75rem) + 5rem);
  }

  .ps-materials,
  .ps-actions,
  .ps-tabs {
    margin-right: 3.5rem;
  }
}

@media (max-width: 767px) {
  .ps-video {
    height: 50vh;
    max-height: 50vh;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-hotspot__pulse { animation: none; }
  .ps-video video,
  .ps-title,
  .ps-story,
  .ps-materials { transition: none; }
}
