/* ========================================================
   RED CARPET DESIGN — Editorial Showcase & Dynamic Intro
   ======================================================== */

:root {
  --bg-dark: #000000;
  --text-white: #ffffff;
  --text-dimmed: rgba(255, 255, 255, 0.85);
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Sayfa asla yerel scroll edilmez */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  background-color: #ffffff;
}

/* ========================================================
   STAGE 0: LARGE BACKGROUND TURKISH CARPET
   ======================================================== */
.intro-carpet-wrapper {
  position: fixed;
  top: 10vh;
  bottom: 10vh;
  left: 10vw;
  right: 10vw;
  z-index: 2;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  will-change: opacity, transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.intro-carpet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carpet-overlay-shadow {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

/* ========================================================
   4 COLUMNS SHOWCASE (TAM BOY 100vh, SIFIR TİTREME / GPU OPTİMİZE)
   ======================================================== */
.cols-showcase {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  background-color: #000000;
  overflow: hidden;
  clip-path: inset(20vh 0 20vh 0);
  -webkit-clip-path: inset(20vh 0 20vh 0);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: clip-path;
}

.col-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #080808;
  contain: paint layout; /* GPU katman ayrıştırma */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.col-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 1.1s var(--ease-luxury), transform 1.2s var(--ease-luxury);
  will-change: opacity, transform;
}

/* Fotoğraf hiçbir zaman küçülmez / deforme olmaz, hep tam boy 100vh render edilir */
.col-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Transitions for Column Photo Alternation (Pürüzsüz GPU Hızlandırma) */
.col-layer.incoming {
  opacity: 0;
  transform: scale(1.06) translateZ(0);
  -webkit-transform: scale(1.06) translateZ(0);
  z-index: 3;
}

.col-layer.entering {
  opacity: 1;
  transform: scale(1) translateZ(0);
  -webkit-transform: scale(1) translateZ(0);
}

.col-layer.outgoing {
  opacity: 0;
  transform: scale(0.97) translateZ(0);
  -webkit-transform: scale(0.97) translateZ(0);
  z-index: 2;
}

/* Dark Filmic Contrast Overlay */
.col-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 4;
  pointer-events: none;
}

/* ========================================================
   CENTER STAGE — CLEAN VECTOR LOGO
   ======================================================== */
.center-stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.95) translateZ(0);
  will-change: opacity, transform;
}

.brand-center {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.main-logo {
  width: 320px;
  height: auto;
  max-width: 80vw;
  display: block;
  filter: 
    drop-shadow(0 2px 16px rgba(0, 0, 0, 0.95)) 
    drop-shadow(0 0 6px rgba(0, 0, 0, 0.85));
  transition: transform 0.4s var(--ease-luxury);
}

.main-logo:hover {
  transform: scale(1.02);
}

/* ========================================================
   BOTTOM CONTAINER: CONTACT & SCROLL
   ======================================================== */
.bottom-container {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 25;
  pointer-events: none;
}

.bottom-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  transform: translateY(14px) translateZ(0);
  will-change: opacity, transform;
}

.contact-link {
  color: var(--text-dimmed);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 4px 6px;
}

.contact-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* Minimal Scroll Cue Button */
.scroll-cue {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  padding: 4px 12px;
  color: #222222;
  transition: transform 0.3s ease;
}

.scroll-cue:hover {
  transform: translateY(-2px);
}

.scroll-cue-text {
  font-family: inherit;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-cue-line {
  width: 1.5px;
  height: 18px;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.scroll-cue-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #111111;
  animation: scrollTrack 1.8s infinite ease-in-out;
}

@keyframes scrollTrack {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .intro-carpet-wrapper {
    top: 6vh;
    bottom: 6vh;
    left: 4vw;
    right: 4vw;
  }

  .main-logo {
    width: 210px;
  }

  .bottom-container {
    bottom: 18px;
    gap: 10px;
  }

  .bottom-contact {
    gap: 20px;
  }

  .contact-link {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 480px) {
  .main-logo {
    width: 180px;
  }

  .bottom-contact {
    gap: 14px;
  }

  .contact-link {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}
