/* =========================
   Base / Reset
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: rgba(255,255,255,0.92);
  background: #05060b;
  overflow-x: hidden;
}

/* =========================
   Background Image Layer (bg.png) - BİREBİR TAM GÖRÜNÜM
   - Blur yok
   - Kırpma yok (tamamı görünür)
   Not: Boşluk kalmaması için bg.png oranı ekran oranıyla aynı olmalı (öneri: 16:9)
========================= */
.bg-image{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url("assets/bg.png");
  background-size: contain;   /* TAMAMI GÖSTER */
  background-position: center;
  background-repeat: no-repeat;

  /* boşluk hissini azaltmak için sadece zemin rengi */
  background-color: #05060b;

  filter: none;
  transform: translateZ(0);
}

/* Snow canvas */
#snow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Overlay / vignette */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% 14%, rgba(255, 188, 110, 0.14), transparent 65%),
    radial-gradient(1000px 650px at 18% 75%, rgba(120, 160, 255, 0.10), transparent 60%),
    radial-gradient(1000px 650px at 82% 75%, rgba(120, 160, 255, 0.09), transparent 60%),
    radial-gradient(1200px 850px at 50% 80%, rgba(0,0,0,0.28), rgba(0,0,0,0.55));
}


/* =========================
   Top Title
========================= */
.top-title {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 54px 16px 14px;
}

.name {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0.4px;
  font-size: clamp(30px, 4vw, 52px);
  color: rgba(255, 245, 230, 0.96);
  text-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.role {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(255, 220, 175, 0.72);
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.role::before,
.role::after {
  content: "";
  height: 1px;
  width: 44px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 150, 0.55), transparent);
}

/* =========================
   Scene Layout
========================= */
.scene {
  position: relative;
  z-index: 3;
  padding: 18px 16px 70px;
  display: grid;
  place-items: center;
  gap: 32px;
  width: 100%;
}

/* =========================
   Card System (Glass + Gold)
========================= */
.card {
  position: relative;
  width: 100%;
  max-width: 520px;

  border-radius: 22px;
  background: rgba(15, 18, 30, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 220, 165, 0.16);
  box-shadow:
    0 18px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255, 210, 150, 0.06) inset;

  overflow: hidden;
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background:
    radial-gradient(120px 60px at 20% 0%, rgba(255, 210, 140, 0.28), transparent 70%),
    radial-gradient(120px 60px at 80% 100%, rgba(255, 190, 120, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(255, 220, 160, 0.35), rgba(255, 180, 110, 0.08), rgba(255, 220, 160, 0.28));
  opacity: 0.55;
  filter: blur(10px);
  z-index: -1;
}

.card::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 60%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 150, 0.18), transparent);
  transform: rotate(18deg);
  opacity: 0.0;
  transition: opacity 220ms ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255, 220, 165, 0.30);
  box-shadow:
    0 22px 95px rgba(0,0,0,0.62),
    0 0 22px rgba(255, 190, 120, 0.14);
}

.card:hover::after {
  opacity: 1;
  animation: sweep 1200ms ease-in-out infinite;
}

@keyframes sweep {
  0% { left: -70%; }
  100% { left: 120%; }
}

/* HERO */
.hero-zone{ width: min(980px, 100%); display: grid; place-items: center; }
.hero-card { padding: 18px 18px 20px; }
.hero-big{ max-width: 760px; }

.hero-top {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 165, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: rgba(0,0,0,0.18);
}

.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-head h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0.4px;
  font-size: 26px;
  color: rgba(255, 245, 235, 0.96);
}

.hero-sub {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: rgba(255, 220, 175, 0.75);
}

.hero-text { margin-top: 14px; padding: 10px 4px 0; }
.hero-text p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.80);
  max-width: 680px;
}

.hero-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Vizyon / Misyon */
.vm-zone{
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 2px;
}

.info-card{ padding: 18px; max-width: 100%; }
.info-head{ display: grid; gap: 10px; }

.info-pill{
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 230, 200, 0.82);
  border: 1px solid rgba(255, 220, 165, 0.18);
  background: rgba(0,0,0,0.18);
}

.info-head h3{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: rgba(255, 245, 235, 0.95);
}

.info-text{
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

/* Sections */
.projects{
  width: min(1120px, 100%);
  display: grid;
  gap: 30px;
  margin-top: 6px;
}

.projects-block{ display: grid; gap: 14px; }

.section-head{ display: grid; gap: 8px; padding: 2px 4px; }
.section-center{ text-align: center; place-items: center; }

.section-title{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0.3px;
  font-size: 28px;
  color: rgba(255, 245, 235, 0.96);
  text-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.section-sub{
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 760px;
  margin: 0 auto;
}

.projects-block:not(:first-child) .section-head{
  padding-top: 20px;
  border-top: 1px solid rgba(255, 220, 165, 0.12);
}

/* Carousel */
.carousel{ width: 100%; display: grid; place-items: center; }
.carousel-track{
  width: min(980px, 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 10px 4px 2px;
  position: relative;
  touch-action: pan-y;
  user-select: none;
}

.carousel-card{
  appearance: none;
  border: none;
  cursor: pointer;
  text-align: left;

  width: min(420px, 92%);
  max-width: 420px;
  margin: 0 -46px;
  z-index: 1;
  transform: scale(0.94);
  opacity: 0.78;
  filter: saturate(0.98);
  transition: transform 420ms ease, opacity 420ms ease, z-index 420ms ease;
}

.carousel-card.is-active{
  transform: scale(1.04);
  opacity: 1;
  z-index: 3;
}

.carousel-card.is-prev,
.carousel-card.is-next{
  transform: scale(0.97);
  opacity: 0.90;
  z-index: 2;
}

.project-card{
  padding: 14px 14px 16px;
  background: rgba(15, 18, 30, 0.46);
  max-width: 100%;
}

.card-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 165, 0.12);
  background: rgba(0,0,0,0.22);
}

.card-media img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}

.card-body { padding: 12px 6px 0; }
.card-body h3 { font-size: 15px; letter-spacing: 0.5px; color: rgba(255, 245, 235, 0.95); }

.card-body p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}

.btn-inline{ margin-top: 12px; width: fit-content; }

/* Contact */
.contact{ width: min(1120px, 100%); display: grid; gap: 14px; padding-top: 8px; }

.contact-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2px 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 38px;
  padding: 0 14px;
  border-radius: 14px;

  font-size: 12.5px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: rgba(255, 245, 235, 0.92);

  border: 1px solid rgba(255, 220, 165, 0.20);
  background: rgba(10, 12, 20, 0.30);

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-1px); border-color: rgba(255, 220, 165, 0.32); }

.btn-primary { background: linear-gradient(135deg, rgba(255, 200, 130, 0.24), rgba(255, 170, 100, 0.10)); }
.btn-ghost { background: rgba(255,255,255,0.04); }

.btn::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 150, 0.18), transparent);
  transform: rotate(18deg);
  opacity: 0;
  transition: opacity 180ms ease;
}

.btn:hover::after { opacity: 1; animation: sweep 1100ms ease-in-out infinite; }

/* Footer */
.footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 26px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  letter-spacing: 0.6px;
}

.footer .dot { opacity: 0.6; }

.footer-link {
  color: rgba(255, 220, 175, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 220, 175, 0.22);
}

.footer-link:hover {
  color: rgba(255, 235, 210, 0.88);
  border-bottom-color: rgba(255, 235, 210, 0.40);
}

/* Responsive */
@media (max-width: 980px) {
  .vm-zone{ grid-template-columns: 1fr; }
  .carousel-card{ margin: 0 -28px; }
}

@media (max-width: 620px) {
  .hero-top { grid-template-columns: 82px 1fr; }
  .avatar { width: 82px; height: 82px; border-radius: 18px; }
  .section-title{ font-size: 26px; }
  .carousel-card{ width: 94%; margin: 0 -18px; }
}

/* === PROJECT DETAIL: ÇERÇEVESİZ + POKER KART SPREAD === */
/* =========================================
   PROJECT DETAIL — kartları home gibi ortala
   (metin üstte, kart sahnesi full width)
========================================= */

/* Detay sayfada iki kolon yerine: metin üst, kartlar alt */
.proj-layout-plain{
  grid-template-columns: 1fr !important;
}

/* Kart alanı tüm satırı kaplasın */
.proj-cards-zone{
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  margin-top: 10px;
}

/* Home deck ölçüsüne yaklaş */
.proj-cards-zone .cards-spread{
  width: min(980px, 96vw);
  height: 520px;
}


.proj-layout-plain{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items:start;
}

/* Sol taraf tamamen çerçevesiz */
.proj-info-plain{
  padding-top: 6px;
}

.proj-meta-text{
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  max-width: 58ch;
}

/* Sağ taraf: kart alanı */
.proj-cards-zone{
  position: relative;
  min-height: 520px;
}

.cards-spread{
  position: relative;
  width: 100%;
  height: 520px;
  isolation: isolate;
}

/* “kart” görünümü — kutu gibi değil; sadece kartın kendisi */
.spread-card{
  position: absolute;
  width: min(260px, 42vw);
  height: 360px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;

  box-shadow:
    0 18px 45px rgba(0,0,0,.55),
    0 2px 0 rgba(255,255,255,.08) inset;

  /* ⚠️ Hover’da transform ezilmesin diye burada JS transform’u baz alıyoruz */
  transition: box-shadow .18s ease, filter .18s ease, opacity .18s ease;
  will-change: transform;
}

.spread-card img{
  width: 100%;
  height: 100%;
  display:block;

  /* default: cover kalsın (web/erp tek görsel için iyi) */
  object-fit: cover;

  /* yakınlaştırmayı kaldır */
  transform: none;
}

/* Hover: transform’a dokunma, sadece öne al */
.spread-card:hover{
  z-index: 50;
  box-shadow: 0 28px 70px rgba(0,0,0,.65);
  filter: saturate(1.05);
}

/* ✅ TripTürkiye (ekran görüntüsü) için: kırpma olmasın */
.project-page.project-mobile .spread-card img{
  object-fit: contain;
  background: rgba(0,0,0,0.22);
}

/* Kartların masaya serilmiş pozisyonları */
.spread-card:nth-child(1){ left: 6%;  top: 8%;  --r: -10deg; transform: rotate(-10deg); z-index: 1; }
.spread-card:nth-child(2){ left: 30%; top: 12%; --r: -2deg;  transform: rotate(-2deg);  z-index: 2; }
.spread-card:nth-child(3){ left: 52%; top: 18%; --r: 8deg;   transform: rotate(8deg);   z-index: 3; }

@media (max-width: 980px){
  .proj-layout-plain{ grid-template-columns: 1fr; }
  .proj-cards-zone{ min-height: 520px; }
  .cards-spread{ height: 520px; }

  .spread-card:nth-child(1){ left: 4%;  top: 10%; }
  .spread-card:nth-child(2){ left: 28%; top: 14%; }
  .spread-card:nth-child(3){ left: 52%; top: 18%; }
}

@media (max-width: 520px){
  .cards-spread{ height: 460px; }
  .spread-card{ height: 300px; border-radius: 16px; }

  /* telefonda daha sıkı */
  .spread-card:nth-child(1){ left: 2%;  top: 16%; transform: rotate(-8deg); }
  .spread-card:nth-child(2){ left: 30%; top: 14%; transform: rotate(-1deg); }
  .spread-card:nth-child(3){ left: 58%; top: 18%; transform: rotate(7deg); }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,0.72);
  z-index: 9999;
  padding: 24px;
}
.lightbox.is-open{ display: grid; }
.lightbox img{
  max-width: min(980px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 25px 90px rgba(0,0,0,.75);
}
.lightbox-close{
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,10,12,0.42);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}

/* ✅ Lightbox Gallery Controls (Prev/Next + Counter + Swipe area) */
.lightbox-nav{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,10,12,0.42);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  z-index: 10001;
  box-shadow: 0 18px 55px rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
  user-select: none;
}

.lightbox-prev{ left: 16px; }
.lightbox-next{ right: 16px; }

.lightbox-nav:hover{
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(255, 220, 165, 0.26);
  background: rgba(10,10,12,0.55);
}

.lightbox-nav:active{
  transform: translateY(-50%) scale(0.98);
}

.lightbox-counter{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,10,12,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
  font-size: 12px;
  letter-spacing: 0.6px;
  z-index: 10001;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.55);
}

/* swipe area: tüm ekranda drag yakalamak için */
.lightbox-swipe{
  position: fixed;
  inset: 0;
  z-index: 10000; /* image'in altına düşmesin diye yüksek; butonlar 10001 */
  background: transparent;
  touch-action: pan-y;
}

/* mobilde okları biraz küçült */
@media (max-width: 620px){
  .lightbox-nav{
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 30px;
  }
  .lightbox-prev{ left: 10px; }
  .lightbox-next{ right: 10px; }
  .lightbox-counter{
    bottom: 14px;
    font-size: 11.5px;
  }
}

/* ================================
   HOME PROJECT DECK (poker spread)
   - ORTALI
   - KUTU YOK
   - GOLD EDGE + SWEEP
   - Auto-slide JS ile
================================ */

.proj-deck-wrap{
  width: 100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 6px 0 8px;
}

.proj-deck{
  position: relative;
  width: min(980px, 96vw);
  height: 520px;
  isolation: isolate;
}

/* Kart: ortalı referans + spread offset */
.deck-card-home{
  position:absolute;

  /* ✅ ORTALAMA */
  left: 50%;
  top: 50%;

  /* ✅ BOYUT (küçültüldü) */
  width: min(280px, 58vw);
  height: 390px;

  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;

  border-radius: 20px;
  overflow: hidden;

  /* ✅ Gold glow base */
  box-shadow:
    0 24px 70px rgba(0,0,0,.62),
    0 2px 0 rgba(255,255,255,.08) inset;

  /* ✅ Transform: tam ortadan + offset */
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(var(--s));
  z-index: var(--z);
  opacity: var(--o);

  transition:
    transform 520ms cubic-bezier(.2,.9,.2,1),
    box-shadow 220ms ease,
    filter 220ms ease,
    opacity 380ms ease;
}

/* ✅ Altın kenarlık (gradient frame) */
.deck-card-home::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;                 /* kenarlık kalınlığı */
  background: linear-gradient(
    135deg,
    rgba(255, 220, 160, 0.55),
    rgba(255, 180, 110, 0.10),
    rgba(255, 220, 160, 0.42)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: .65;
}

/* ✅ Gold sweep ışık */
.deck-card-home::after{
  content:"";
  position:absolute;
  top: -40%;
  left: -70%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 150, 0.22), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events:none;
}

/* Hover: kartı hafif büyüt + öne */
.deck-card-home:hover{
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(calc(var(--s) + 0.06));
  box-shadow: 0 34px 95px rgba(0,0,0,.72);
  filter: saturate(1.08) contrast(1.05);
}

/* hover sweep animasyonu */
.deck-card-home:hover::after{
  opacity: 1;
  animation: deckSweep 1100ms ease-in-out infinite;
}

@keyframes deckSweep{
  0%   { left: -70%; }
  100% { left: 120%; }
}

.deck-card-home img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  transform: scale(1.02);
}

/* aktif kart biraz daha net */
.deck-card-home.is-active{
  filter: saturate(1.10) contrast(1.06);
}

/* Kart başlığı – istersen tamamen kaldırırız */
.deck-label{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);

  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .2px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Mobil */
@media (max-width: 720px){
  .proj-deck{ height: 440px; }
  .deck-card-home{
    height: 320px;
    width: min(240px, 70vw);
    border-radius: 18px;
  }
  .deck-card-home::before{ border-radius: 18px; }
}
/* =========================
   PROJECT DETAIL PAGE (metin görünürlüğü + layout)
========================= */

.topbar, .page-hero, .page-main, .footer { position: relative; z-index: 3; }

.container{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.page-hero{
  padding: 28px 0 10px;
}

.page-hero-inner{
  display: grid;
  gap: 10px;
}

.page-title{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: clamp(30px, 4vw, 56px);
  color: rgba(255,245,235,.96);
  text-shadow: 0 16px 55px rgba(0,0,0,.65);
}

.page-sub{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  max-width: 70ch;
}

.page-main{
  padding: 18px 0 52px;
}

.proj-layout-plain{
  position: relative;
  z-index: 3;
}

.proj-info-plain{
  position: relative;
  z-index: 4;
}

.proj-h2{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .2px;
  color: rgba(255,245,235,.96);
  text-shadow: 0 14px 45px rgba(0,0,0,.55);
}

.proj-desc{
  margin-top: 12px;
  font-size: 24px;            /* büyüttük */
  line-height: 2;             /* daha rahat okuma */
  font-weight: 520;           /* daha dolgun */
  color: rgba(255,255,255,.90);
  max-width: 74ch;
}


.proj-actions{
  margin-top: 16px;
}

/* Kart alanını ortala + animasyon */
.proj-cards-zone{
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
}

.cards-spread{
  position: relative;
  width: min(760px, 100%);
  height: 520px;
  margin: 0 auto;
}

/* Active kart öne çıksın */
.spread-card{
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease, opacity .28s ease;
  opacity: .88;
}

.spread-card.is-active{
  opacity: 1;
  filter: saturate(1.06) contrast(1.03);
  box-shadow:
    0 34px 110px rgba(0,0,0,.75),
    0 0 34px rgba(255, 205, 140, .22);
}

.spread-card.is-behind{
  opacity: .70;
  filter: saturate(.98);
}

/* ===== Project detail topbar link düzeltme ===== */
.topbar { position: relative; z-index: 6; }
.topbar .brand { text-decoration: none; color: inherit; }
.topbar .nav a{
  color: rgba(255,255,255,.86);
  text-decoration: none;
}
.topbar .nav a:hover{ text-decoration: none; }
/* =========================================================
   TripTürkiye (project-mobile) — PURPLE PREMIUM THEME
   Sadece mobile.html sayfasını etkiler (scoped)
========================================================= */
.project-page.project-mobile{
  --tt-purple: #8B5CF6;
  --tt-purple-2: #A78BFA;
  --tt-pink: #EC4899;
  --tt-cyan: #22D3EE;

  --tt-glow: rgba(139, 92, 246, .55);
  --tt-glow-2: rgba(236, 72, 153, .35);

  /* Font: eğer Google font eklediysen otomatik güzelleşir,
     eklemediysen yine sistem fonta düşer (sorun yok). */
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

/* Başlık (TripTürkiye) — mor ışıltı */
.project-page.project-mobile .page-title,
.project-page.project-mobile .proj-h2{
  font-family: "Sora", ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: .2px;
}

.project-page.project-mobile .page-title{
  color: rgba(245, 240, 255, .98);
  text-shadow:
    0 0 18px rgba(139, 92, 246, .55),
    0 0 42px rgba(236, 72, 153, .25),
    0 18px 70px rgba(0,0,0,.70);
  position: relative;
}

.project-page.project-mobile .page-title::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -10px;
  width: min(420px, 92%);
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(139, 92, 246, .95),
    rgba(236, 72, 153, .75),
    transparent
  );
  filter: drop-shadow(0 0 10px rgba(139,92,246,.55));
  opacity: .9;
}

.project-page.project-mobile .page-sub{
  color: rgba(235, 230, 255, .80);
  letter-spacing: .3px;
}

/* Açıklama metni daha okunur + premium */
.project-page.project-mobile .proj-desc{
  color: rgba(245, 242, 255, .86);
  font-size: 14.5px;
  line-height: 1.95;
  text-shadow: 0 10px 40px rgba(0,0,0,.45);
}

.project-page.project-mobile .proj-meta-text{
  color: rgba(235, 230, 255, .78);
  font-size: 13.5px;
  line-height: 1.9;
}

/* Butonlar — mor geçişli, parıltılı */
.project-page.project-mobile .btn{
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, .28);
  background: rgba(10, 12, 20, 0.26);
  box-shadow:
    0 14px 38px rgba(0,0,0,.38),
    0 0 0 1px rgba(139, 92, 246, .10) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.project-page.project-mobile .btn:hover{
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, .45);
  box-shadow:
    0 20px 60px rgba(0,0,0,.48),
    0 0 26px rgba(139, 92, 246, .18);
}

.project-page.project-mobile .btn-primary{
  border-color: rgba(167, 139, 250, .38);
  background: linear-gradient(135deg,
    rgba(139, 92, 246, .85),
    rgba(236, 72, 153, .55)
  );
  box-shadow:
    0 18px 55px rgba(139, 92, 246, .25),
    0 18px 70px rgba(0,0,0,.55);
  color: rgba(255,255,255,.96);
}

.project-page.project-mobile .btn-primary:hover{
  filter: saturate(1.06) contrast(1.03);
  box-shadow:
    0 22px 75px rgba(139, 92, 246, .30),
    0 22px 85px rgba(0,0,0,.62);
}

.project-page.project-mobile .btn-ghost{
  background: rgba(255,255,255,0.04);
  border-color: rgba(167, 139, 250, .24);
}

/* Butondaki sweep animasyonu — mor tona çek */
.project-page.project-mobile .btn::after{
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .25), transparent);
}

/* Sağdaki kart alanı — daha temiz / “app screenshot” hissi */
.project-page.project-mobile .cards-spread{
  filter: drop-shadow(0 26px 70px rgba(0,0,0,.55));
}

/* TripTürkiye screenshotları kırpılmasın + arka plan morumsu cam */
.project-page.project-mobile .spread-card img{
  object-fit: contain;
  background:
    radial-gradient(600px 240px at 50% 35%, rgba(139, 92, 246, .14), transparent 65%),
    rgba(0,0,0,.22);
}

/* Kart hover: sadece daha “premium” glow */
.project-page.project-mobile .spread-card:hover{
  box-shadow:
    0 34px 90px rgba(0,0,0,.70),
    0 0 28px rgba(139, 92, 246, .22);
}

/* Aktif kart daha belirgin */
.project-page.project-mobile .spread-card.is-active{
  box-shadow:
    0 38px 115px rgba(0,0,0,.78),
    0 0 36px rgba(139, 92, 246, .26),
    0 0 22px rgba(236, 72, 153, .14);
}
/* =========================================================
   TripTürkiye — TOPBAR PREMIUM (sadece mobile project)
========================================================= */

.project-page.project-mobile .topbar{
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:
    linear-gradient(
      180deg,
      rgba(20, 12, 40, 0.55),
      rgba(10, 8, 24, 0.25)
    );
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
  box-shadow:
    0 10px 40px rgba(0,0,0,.45),
    0 0 0 1px rgba(139, 92, 246, .08) inset;
}

/* Container hizalama */
.project-page.project-mobile .topbar-inner{
  padding: 10px 0;
}

/* Sol marka alanı */
.project-page.project-mobile .brand{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* MG rozeti */
.project-page.project-mobile .brand-mark{
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;

  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;

  color: white;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, .9),
    rgba(236, 72, 153, .65)
  );

  box-shadow:
    0 0 18px rgba(139, 92, 246, .45),
    0 6px 20px rgba(0,0,0,.45);
}

/* Mert Gündoğdu yazısı */
.project-page.project-mobile .brand-text{
  font-size: 13px;
  letter-spacing: .4px;
  color: rgba(235, 230, 255, .85);
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}

/* Menü */
.project-page.project-mobile .nav{
  display: flex;
  gap: 10px;
}

/* Menü linkleri */
.project-page.project-mobile .nav a{
  position: relative;
  padding: 8px 14px;
  border-radius: 12px;

  font-size: 12.5px;
  letter-spacing: .4px;
  color: rgba(235, 230, 255, .82);

  text-decoration: none;
  border: 1px solid rgba(167, 139, 250, .18);
  background: rgba(255,255,255,0.04);

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

/* Hover */
.project-page.project-mobile .nav a:hover{
  color: white;
  background:
    linear-gradient(
      135deg,
      rgba(139, 92, 246, .45),
      rgba(236, 72, 153, .25)
    );
  border-color: rgba(167, 139, 250, .45);
  box-shadow:
    0 0 22px rgba(139, 92, 246, .25),
    0 10px 30px rgba(0,0,0,.45);
  transform: translateY(-1px);
}

/* Aktif link */
.project-page.project-mobile .nav a.is-active{
  color: white;
  border-color: rgba(167, 139, 250, .55);
  background:
    linear-gradient(
      135deg,
      rgba(139, 92, 246, .65),
      rgba(236, 72, 153, .35)
    );
  box-shadow:
    0 0 26px rgba(139, 92, 246, .35),
    0 12px 35px rgba(0,0,0,.55);
}

/* ✅ ERP: mor tema kalsın ama kart görselleri tam dolsun */
.project-page.project-mobile.project-erp .spread-card img{
  object-fit: cover;
  background: rgba(0,0,0,0.22);
}
/* ✅ Başlık alt çizgisi metne binmesin */
.project-page.project-mobile .page-title{
  padding-bottom: 14px;   /* çizgi için yer aç */
}

.project-page.project-mobile .page-title::after{
  bottom: 2px;            /* -10 yerine daha güvenli */
}
/* =========================================================
   ✅ GLOBAL PROJECT FIX (tüm projects/*.html)
   - Başlık alt çizgi metne binmesin
   - Kart görselleri default: cover (tam doldursun)
   - Sadece TripTürkiye (project-mobile) contain kalsın
========================================================= */

/* 1) Çizgi metne binmesin */
.project-page .page-title{
  padding-bottom: 14px;
}
.project-page .page-title::after{
  bottom: 2px;
}

/* 2) Default: tüm projelerde kart görseli tam dolsun */
.project-page .spread-card img{
  object-fit: cover;
  background: rgba(0,0,0,0.22);
}

/* =========================================================
   ✅ Tüm projelerde kart görselleri kırpılmasın
========================================================= */

.project-page .spread-card img{
  object-fit: contain;
  background: rgba(0,0,0,0.22);
}
.proj-copy p {
  white-space: pre-line;
}
.project-page .proj-desc{
  white-space: pre-line;
  line-height: 1.9;
}

.project-page .proj-desc br{
  display: block;
  margin-bottom: 14px;
}
/* CONTACT SECTION */

.contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 40px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.contact-item i {
  font-size: 20px;
  color: #c084fc;
}

.contact-item:hover {
  transform: translateY(-4px);
  background: rgba(192,132,252,0.15);
  border: 1px solid rgba(192,132,252,0.4);
}
