/* ==========================================================
   KUTSAN - PROJE GİRİŞ EKRANI
   Header mevcut style.css'den gelir.
   Bu dosya yalnızca header'ın altındaki proje alanını yönetir.
   ========================================================== */

.proje-giris {
  width: 100%;
  height: calc(100vh - 89px);
  min-height: 560px;
  overflow: hidden;
  position: relative;
  background: #001522;
}

.proje-giris-hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  isolation: isolate;
}

/* ==========================================================
   ARKA PLAN SLIDER
   Dot ve ok olmadan otomatik geçiş
   ========================================================== */

.hero-slider {
  position: absolute;
  inset: -2%;
  z-index: -4;
  width: 104%;
  height: 104%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 8s cubic-bezier(0.2, 0.65, 0.25, 1);
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Aktif slaytın resmi yavaşça büyüsün */
.hero-slide.active .hero-slide-bg {
  transform: scale(1.08);
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 10s cubic-bezier(0.2, 0.65, 0.25, 1);
  transform: scale(1);
}

/* Eski arka plan yerine slider kullanacağımız için 
   .proje-giris-bg'yi kaldırıyoruz */
.proje-giris-bg {
  display: none;
}

/* Proje içeriği slider'ın üzerinde kalsın */
.proje-giris-content,
.proje-giris-actions,
.proje-giris-scroll,
.proje-giris-footer {
  z-index: 2;
}

/* Karartma katmanları slider'ın üzerinde ama içeriğin altında */
.proje-giris-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 17, 29, .78) 0%,
      rgba(0, 17, 29, .43) 32%,
      rgba(0, 17, 29, .10) 62%,
      rgba(0, 17, 29, .18) 100%
    );
}

.proje-giris-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 10, 18, .28) 0%,
      transparent 24%,
      transparent 57%,
      rgba(0, 10, 18, .16) 74%,
      rgba(0, 10, 18, .86) 100%
    );
}

/* ==========================================================
   SOL ÜST / MOBİLDE ORTALI İÇERİK
   ========================================================== */

.proje-giris-content {
  position: absolute;
  z-index: 2;
  top: 9%;
  left: max(calc((100% - 1400px) / 2), 60px);
  width: min(690px, 48vw);
  color: #fff;
}

.proje-giris-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold2);
  /* Great Vibes Font - Süslü el yazısı */
  font-family: 'Great Vibes', 'Satisfy', 'Brush Script MT', cursive;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.1;
  font-weight: 400;
  transform: rotate(-1deg);
  transform-origin: left center;
}

.proje-giris-content h1 {
  margin: 0;
  line-height: .94;
  display: flex;
  flex-direction: column;
}

.project-code {
  color: var(--gold2);
  font-family: var(--font-pompei);
  font-size: clamp(72px, 6.4vw, 84px);
  font-weight: 700;
  letter-spacing: -2px;
  text-shadow: 0 5px 30px rgba(0, 0, 0, .35);
}

.project-name {
  color: #fff;
  font-family: var(--font-pompei);
  font-size: clamp(54px, 5.1vw, 88px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 5px 30px rgba(0, 0, 0, .35);
}

.proje-giris-location {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  max-width: 650px;
}

.proje-giris-location span {
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold2)
  );
}

.proje-giris-location span:last-child {
  background: linear-gradient(
    90deg,
    var(--gold2),
    transparent
  );
}

.proje-giris-location strong {
  color: #fff;
  font-size: clamp(15px, 1.25vw, 22px);
  font-weight: 500;
  letter-spacing: 7px;
  white-space: nowrap;
}

.proje-giris-desc {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(11px, .9vw, 15px);
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1.6;
}

/* ==========================================================
   BUTONLAR - ARTIK KULLANILMIYOR (İkonlara taşındı)
   ========================================================== */

/* Bu stiller artık kullanılmıyor, ancak referans için bırakıldı */
.proje-giris-button {
  margin-top: 28px;
  min-width: 270px;
  height: 55px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 30px;
  background: var(--gold2);
  color: #101010;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  transition:
    transform .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.proje-giris-button i {
  transition: transform .35s ease;
}

.proje-giris-button:hover {
  background: #e6aa1a;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(246, 185, 31, .30);
}

.proje-giris-button:hover i {
  transform: translateX(6px);
}

/* ==========================================================
   ALT ORTA İKONLAR
   ========================================================== */

.proje-giris-actions {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 5.5%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(40px, 5vw, 100px);
  width: max-content;
}

.proje-action {
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform .3s ease;
}

.proje-action:hover {
  transform: translateY(-7px);
}

.proje-action-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold2);
  border-radius: 50%;
  background: rgba(0, 10, 18, .38);
  color: var(--gold2);
  font-size: 24px;
  box-shadow:
    0 5px 25px rgba(0, 0, 0, .25),
    inset 0 0 18px rgba(246, 185, 31, .06);
  transition:
    background .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.proje-action:hover .proje-action-icon {
  background: rgba(246, 185, 31, .12);
  transform: scale(1.06);
  box-shadow:
    0 8px 35px rgba(246, 185, 31, .18),
    inset 0 0 22px rgba(246, 185, 31, .08);
}

.proje-action strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.proje-action strong + strong {
  margin-top: 0;
}

.proje-action-line {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--gold2);
  box-shadow: 0 2px 12px rgba(246, 185, 31, .22);
}

/* ==========================================================
   MOBİL FOOTER ALANI
   ========================================================== */

.proje-giris-footer {
  position: absolute;
  z-index: 3;
  display: none;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 12px;
  bottom: 10%;
  left: 0;
  padding: 0 20px;
}

.footer-divider {
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold2)
  );
}

.footer-divider:last-child {
  background: linear-gradient(
    90deg,
    var(--gold2),
    transparent
  );
}

.footer-text {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* Küçük scroll işareti */
.proje-giris-scroll {
  position: absolute;
  z-index: 4;
  right: 30px;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: 2px;
  animation: projectScroll 1.8s ease-in-out infinite;
}

.proje-giris-scroll i {
  color: var(--gold2);
  font-size: 11px;
}

@keyframes projectScroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ==========================================================
   GÖRÜNÜRLÜK KONTROLLERİ
   ========================================================== */

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {
  .proje-giris {
    height: calc(100vh - 89px);
  }

  .proje-giris-content {
    left: 40px;
    top: 8%;
    width: 55vw;
  }

  .proje-giris-actions {
    gap: 50px;
    bottom: 5%;
  }

  .proje-action-icon {
    width: 72px;
    height: 72px;
    font-size: 29px;
  }

  .proje-giris-location strong {
    letter-spacing: 5px;
  }
}

/* ==========================================================
   MOBİL - 800px ve altı
   ========================================================== */

@media (max-width: 800px) {
  .proje-giris {
    height: calc(100vh - 85px);
    min-height: 0;
    flex: 1;
  }

  .proje-giris-hero {
    min-height: 0;
  }

  .hero-slider {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero-slide {
    transform: scale(1.02);
  }
  
  .hero-slide.active {
    transform: scale(1);
  }
  
  .hero-slide.active .hero-slide-bg {
    transform: scale(1.05);
  }
  
  .hero-slide-bg {
    background-position: 62% center;
  }

  .proje-giris-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 15, 27, .85) 0%,
        rgba(0, 15, 27, .40) 35%,
        rgba(0, 15, 27, .30) 55%,
        rgba(0, 10, 18, .92) 100%
      );
  }

  /* ========== MOBİL İÇERİK - ORTALI ========== */
  .proje-giris-content {
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 500px;
    text-align: center;
  }

  .proje-giris-kicker {
    font-size: clamp(28px, 7vw, 42px);
    margin-bottom: 6px;
    transform: rotate(0deg);
    transform-origin: center;
  }

  .project-code {
    font-size: clamp(62px, 17vw, 90px);
    letter-spacing: -1px;
  }

  .project-name {
    font-size: clamp(42px, 11vw, 65px);
    line-height: 1;
  }

  .proje-giris-location {
    gap: 9px;
    margin-top: 16px;
    justify-content: center;
    width: 100%;
  }

  .proje-giris-location span {
    width: 30px;
    flex: 0 0 30px;
  }

  .proje-giris-location strong {
    font-size: clamp(11px, 2.8vw, 15px);
    letter-spacing: 3px;
    white-space: normal;
  }

  .proje-giris-desc {
    max-width: 100%;
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 1.5px;
    line-height: 1.7;
  }

  /* ========== MOBİL İKONLAR - 1.5 KAT BÜYÜK ========== */
  .proje-giris-actions {
    left: 50%;
    bottom: 10%;
    gap: clamp(25px, 6vw, 50px);
    width: calc(100% - 30px);
    justify-content: center;
  }

  .proje-action {
    min-width: 70px;
    width: auto;
    flex: 0 0 auto;
  }

  .proje-action-icon {
    width: 68px !important;
    height: 68px !important;
    font-size: 32px !important;
    border-width: 2.5px;
  }

  .proje-action strong {
    margin-top: 10px;
    font-size: 13px !important;
    line-height: 1.2;
    letter-spacing: .5px;
  }

  .proje-action-line {
    width: 50px;
    height: 3px;
    margin-top: 12px;
  }

  /* ========== MOBİL FOOTER ========== */
  .proje-giris-footer {
    display: flex !important;
    bottom: 10%;
    gap: 15px;
  }

  .footer-divider {
    max-width: 60px;
    height: 2.5px;
  }

  .footer-text {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
  }

  .proje-giris-scroll {
    display: none;
  }
}

/* ==========================================================
   KÜÇÜK MOBİL - 480px
   ========================================================== */

@media (max-width: 480px) {
  .proje-giris {
    height: calc(100vh - 75px);
  }

  .hero-slide-bg {
    background-position: 64% center;
  }

  .proje-giris-content {
    top: 5%;
    padding: 0 5px;
    width: calc(100% - 32px);
  }

  .proje-giris-kicker {
    font-size: 24px;
    margin-bottom: 4px;
  }

  .project-code {
    font-size: 46px;
  }

  .project-name {
    font-size: 34px;
  }

  .proje-giris-location {
    margin-top: 12px;
    gap: 7px;
  }

  .proje-giris-location span {
    width: 20px;
    flex: 0 0 20px;
  }

  .proje-giris-location strong {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .proje-giris-desc {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 8px;
  }

  .proje-giris-actions {
    bottom: 15%;
    gap: clamp(20px, 6vw, 40px);
    width: calc(100% - 20px);
  }

  .proje-action {
    min-width: 60px;
  }

  .proje-action-icon {
    width: 58px !important;
    height: 58px !important;
    font-size: 26px !important;
  }

  .proje-action strong {
    font-size: 11px !important;
    margin-top: 8px;
  }

  .proje-action-line {
    width: 40px;
    height: 3px;
    margin-top: 10px;
  }

  .proje-giris-footer {
    bottom: 10%;
    gap: 12px;
  }

  .footer-divider {
    max-width: 45px;
  }

  .footer-text {
    font-size: 12px;
    letter-spacing: 2.5px;
  }
}

/* ==========================================================
   ÇOK KÜÇÜK MOBİL - 360px
   ========================================================== */

@media (max-width: 360px) {
  .proje-giris {
    height: calc(100vh - 65px);
  }

  .proje-giris-content {
    top: 2.5%;
  }

  .proje-giris-kicker {
    font-size: 20px;
  }

  .project-code {
    font-size: 44px;
  }

  .project-name {
    font-size: 28px;
  }

  .proje-giris-location {
    margin-top: 10px;
  }

  .proje-giris-location strong {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .proje-giris-desc {
    font-size: 7px;
    margin-top: 6px;
  }

  .proje-giris-actions {
    bottom: 10%;
    gap: 15px;
  }

  .proje-action {
    min-width: 55px;
  }

  .proje-action-icon {
    width: 52px !important;
    height: 52px !important;
    font-size: 22px !important;
  }

  .proje-action strong {
    font-size: 10px !important;
    margin-top: 6px;
  }

  .proje-action-line {
    width: 35px;
    height: 2.5px;
    margin-top: 8px;
  }

  .proje-giris-footer {
    bottom: 10%;
    gap: 10px;
  }

  .footer-divider {
    max-width: 35px;
    height: 2px;
  }

  .footer-text {
    font-size: 10px;
    letter-spacing: 2px;
  }
}

/* ==========================================================
   EKRAN ÇOK KISA İSE
   ========================================================== */

@media (max-height: 700px) and (min-width: 801px) {
  .proje-giris-content {
    top: 5%;
  }

  .proje-giris-kicker {
    font-size: 32px;
  }

  .project-code {
    font-size: 68px;
  }

  .project-name {
    font-size: 50px;
  }

  .proje-giris-actions {
    bottom: 3%;
  }

  .proje-action-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

@media (max-height: 650px) and (max-width: 800px) {
  .proje-giris-content {
    top: 2%;
  }

  .proje-giris-kicker {
    font-size: 22px;
  }

  .project-code {
    font-size: 48px;
  }

  .project-name {
    font-size: 32px;
  }

  .proje-giris-location {
    margin-top: 10px;
  }

  .proje-giris-actions {
    bottom: 10%;
    gap: 20px;
  }

  .proje-action {
    min-width: 55px;
  }

  .proje-action-icon {
    width: 55px !important;
    height: 55px !important;
    font-size: 24px !important;
  }

  .proje-action strong {
    font-size: 10px !important;
  }

  .proje-action-line {
    width: 35px;
    height: 2.5px;
  }

  .proje-giris-footer {
    bottom: 10%;
    gap: 10px;
  }

  .footer-divider {
    max-width: 35px;
  }

  .footer-text {
    font-size: 10px;
  }
}

/* ==========================================================
   ANİMASYON TERCİHLERİ
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide-bg,
  .proje-action,
  .proje-action-icon {
    transition: none;
  }

  .proje-giris-scroll {
    animation: none;
  }
}