:root{
  /* Mercedes-benzeri koyu, premium palet */
 /* sadece koyu zeminler parliament mavi */
  --bg: #0b1a3a;     /* ana arka plan (parliament) */
  --panel: #0a162f;  /* üst şerit/panel (bir tık daha koyu) */

  /* diğerleri aynı kalsın */
  --metal: rgba(255,255,255,0.16);
  --metal-strong: rgba(255,255,255,0.28);

  --heroMediaW: 520px;
  --heroMediaH: 300px;
  --slideTotal: 12s;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body{
 margin: 0;
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(60,110,255,0.12), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(60,110,255,0.12), transparent 60%),
    radial-gradient(1200px 800px at 50% 50%, #122a5a 0%, var(--bg) 60%);
  background-attachment: fixed;
  color: #e9edf2;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* Üst şerit */
.top-strip{
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 10;

  background:
    linear-gradient(to bottom, rgba(255,255,255,0.06), rgba(255,255,255,0.00)),
    radial-gradient(1200px 180px at 50% 0%, rgba(255,255,255,0.03), transparent 60%),
    var(--panel);

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Noktaların sahnesi */
.dotfield{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Tek bir mikro nokta */
.dot{
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;

  background: rgba(255,255,255,0.38);
  box-shadow:
    0 0 6px rgba(255,255,255,0.10),
    0 0 14px rgba(255,255,255,0.06);

  opacity: 0.18;
  animation: twinkle var(--twinkleDur) ease-in-out infinite;
  animation-delay: var(--twinkleDelay);
}

.dot.is-bright{
  background: rgba(255,255,255,0.30);
  opacity: 0.22;
  box-shadow:
    0 0 8px rgba(255,255,255,0.16),
    0 0 18px rgba(255,255,255,0.08);
}

@keyframes twinkle{
  0%, 100% { opacity: var(--baseOpacity); filter: blur(0px); }
  50%      { opacity: var(--peakOpacity); filter: blur(0.3px); }
}

/* Yerleşim */
.page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 18px 60px;
}

.page, .hero{
  position: relative;
  z-index: 1;
}

.hero-media .carousel{ margin-bottom: 18px; }
/* Placeholder */
.placeholder{
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,0.14);
  color: rgba(233,237,242,0.55);
}

/* =========================
   HERO (düz zeminde)
   ========================= */
.hero{
  min-height: 520px;
  padding: 46px 0 18px;
  position: relative;
  transform: translateY(-40px);
}

.hero-inner{
  padding: 10px 0 0;
}

/* Başlık */
.hero-title{
  margin: 0;
  text-align: center;

  font-family: "Oxanium", system-ui, sans-serif;
  font-style: italic;
  font-weight: 700;

  letter-spacing: 0.06em;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;

  text-shadow:
    0 0 22px rgba(255,255,255,0.08),
    0 0 46px rgba(255,255,255,0.05);

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.95),
    rgba(200,205,215,0.45)
  );

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  transform: translateY(-35px);
}

.doka-wordmark{
  transition:
    filter .35s ease,
    transform .35s ease;
}

.hero-logo:hover .doka-wordmark{
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,0.12))
    drop-shadow(0 0 24px rgba(255,255,255,0.08));

  
}

.hero-bottom{
  margin-top: -20px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: center;
}

/* Sol kolon */
.hero-copy{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Slogan (layout bozmadan biraz yukarı) */
.hero-slogan{
  margin: 0;
  max-width: 520px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: rgba(233,237,242,0.70);
  letter-spacing: 0.01em;

  margin-top: -10px; /* burada oynayarak yukarı/aşağı al */
}

.bg-watermark{
  position: fixed;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;

  opacity: 0;
  filter: blur(0.2px);
  transition: opacity .35s ease, transform .35s ease;
}

.bg-watermark .ds-shield{
  width: min(460px, 70vw);
  height: auto;
  opacity: 0.13; /* çok belli olmasın */
}

/* Işıldama animasyonu */
@keyframes watermarkGlow {
  0%,100% { opacity: 0.10; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  50%     { opacity: 0.18; filter: drop-shadow(0 0 18px rgba(255,255,255,0.16)); }
}

body.is-watermark-on .bg-watermark{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
}

body.is-watermark-on .bg-watermark .ds-shield{
  animation: watermarkGlow 3.6s ease-in-out infinite;
}


/* Meta chip alanı */
.hero-meta{
  display: flex;
  gap: 12px;
  align-items: center;

  margin-top: 40px;
}

/* Metalik etiket */
.meta-chip{
  position: relative;
  padding: 12px 30px;

  font-size: 13px;
  letter-spacing: 0.03em;
  color: rgba(233,237,242,0.72);
  text-decoration: none;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.01)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 12px rgba(255,255,255,0.04);

  transition:
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

/* Chip iç yerleşim: ikon + yazı */
.meta-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;              /* ikon-yazı arası */
}

/* İkon kapsayıcı */
.chip-icon{
  width: 18px;            /* ikon boyutu */
  height: 18px;
  display: grid;
  place-items: center;
}

/* SVG’nin metalik rengi */
.chip-icon svg{
  width: 100%;
  height: 100%;
  fill: rgba(233,237,242,0.78);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.10));
}

/* Hover’da biraz daha parlasın */
.meta-chip:hover .chip-icon svg{
  fill: rgba(233,237,242,0.95);
  filter: drop-shadow(0 0 14px rgba(255,255,255,0.18));
}


.meta-chip:hover{
  color: rgba(233,237,242,0.95);          /* 👈 yazı parlasın */
  border-color: rgba(255,255,255,0.35);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 18px rgba(255,255,255,0.12);

  transform: translateY(-1px);
}


.hero-media{
  position: relative;
  width: 550px;           /* istersen */
  height: 288px;          /* istersen */
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(122,160,232,.18);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}


.carousel{
  position: relative;
  width: 100%;
  height: 100%;
}


.slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02);

}

.carousel .slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 🔥 kutuya sığdır + güzel crop */
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .9s ease, transform 1.2s ease;
  border-radius: 18px;    /* köşeler fotoğrafa da uygulansın */
}

.carousel .slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.hero-logo{
  display: flex;
  justify-content: center;
  align-items: center;

  transform: translateY(-30px); /* eski hero-title yukarıdaydı, aynı hissi ver */
}

/* SVG boyut ve responsive kontrol */
.hero-logo svg{
  width: min(760px, 92vw);  /* masaüstü + mobil uyum */
  height: auto;
}


/* Ortak: iki çizgi grubu */
.hero-lines{
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ortak: çizgi */
.hero-lines .line{
  height: 1px;
  opacity: 0.5;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.05)
  );
}

/* Boylar aynı */
.hero-lines .line.short{ width: 280px; }
.hero-lines .line.long{  width: 460px; }

/* SAĞ: sağdan parlak başlayıp sola sönsün + sağa yasla */
.hero-lines-right{
  align-items: flex-end; /* çizgileri sağa yaslar */
}

.hero-lines-right .line{
  background: linear-gradient(
    to left,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.05)
  );
}

/* Responsive */
@media (max-width: 980px){
  :root{
    --heroMediaW: 100%;
    --heroMediaH: 280px;
  }

  .hero{
    min-height: 620px;
  }

  .hero-bottom{
    grid-template-columns: 1fr;
  }


  .hero-copy{
    align-items: center;
    text-align: center;
  }

  .hero-slogan{
    margin-top: -6px; /* mobilde daha az yukarı */
  }

  .hero-meta{
    justify-content: center;
  }
}


/* =========================
   KARTLAR (iskambil gibi)
   ========================= */
/* ====== KARTLAR ====== */
.cards{
  margin-top: 12px; /* hero altına yakınlık: artır/azalt */
}

.cards-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* kart: dikey/iskambil oranı */
.card{
  position: relative;
}

/* tıklanabilir yüzey */
.card-btn{
  width: 100%;
  height: 240px;            /* kart boyu (kısaltmak için azalt) */
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);

  cursor: pointer;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;

  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;

  transform: translateY(-36px);
}

/* hover premium lift */
.card-btn:hover{
  transform: translateY(-44px);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* parlama/ışık çizgisi efekti */
.card-btn::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.16) 42%,
    rgba(255,255,255,0.05) 55%,
    transparent 70%
  );
  transform: translateX(-60%) rotate(10deg);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events:none;
}

.card-btn:hover::before{
  opacity: 1;
  animation: sweep 1.05s ease forwards;
}

@keyframes sweep{
  from { transform: translateX(-70%) rotate(10deg); }
  to   { transform: translateX(70%) rotate(10deg); }
}

/* FRONT/BACK yüzleri */
.card-face{
  position:absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity .28s ease, transform .28s ease;
}

/* kapalı yüz */
.card-face--front{
  opacity: 1;
  transform: translateY(0);
}

.card-svg{
  width: 52px;
  height: 52px;

  fill: rgba(233,237,242,0.72);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.08));

  transition: filter .25s ease, fill .25s ease, transform .25s ease;
}

.card-svg--arac{
}

.card-svg--saglık{

}

.card-svg--konut{

}

.card-svg--bireysel{
  
}

.card-svg--isyeri{
  
}

.card-svg--ticari{

}

.card-btn:hover .card-svg{
  fill: rgba(233,237,242,0.92);
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.16));
  transform: translateY(-1px);
}

/* açık yüz (başta gizli) */
.card-face--back{
  opacity: 0;
  transform: translateY(10px);
  padding: 16px 14px;

  display: flex;
  flex-direction: column;
  align-items: stretch;     /* tam genişlik */
  justify-content: flex-start; /* ⬅️ önemli */

  gap: 14px;
}

/* açılınca flip gibi değil: içerik yumuşak geçiş */
.card-btn.is-open .card-face--front{
  opacity: 0;
  transform: translateY(-10px);
}

.card-btn.is-open .card-face--back{
  opacity: 1;
  transform: translateY(0);
}

/* ikon placeholder */
.card-icon{
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
.icon-placeholder{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}

/* başlık */
.card-title{
  margin: 0;
  font-family: "Oxanium", system-ui, sans-serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(233,237,242,0.86);
}

.card-back-header{
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 12px; /* divider için boşluk */
  position: relative;
} 

/* metalik divider */
.card-back-header::after{
  content: "";
  position: absolute;
  bottom: 0;

  width: 60%;          /* çizgi uzunluğu */
  height: 1px;

  background: linear-gradient(
    to right,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.10)
  );

  opacity: 0.7;
}

.card-back-title{
  margin: 0px 0 0;
  text-align: center; 
  font-family: "Oxanium", system-ui, sans-serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 15px;

  color: rgba(233,237,242,0.85);
}



/* buton/pill */
.card-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center; 
  flex-direction: column;
}

.card-btn{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.card-face{
  transition: opacity .28s ease, transform .28s ease;
}

.card-face--back{
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.card.is-open .card-face--front{
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.card.is-open .card-face--back{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.pill{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  color: rgba(233,237,242,0.78);
  background: rgba(255,255,255,0.03);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;

  display: inline-flex;      /* 👈 kritik */

  align-items: center;     /* dikey ortala */
  justify-content: center; /* yatay ortala */

  width: auto;
  text-align: center;      /* metin çok satır olursa */
  white-space: nowrap;       /* yazı tek satır kalsın */
}

.pill:hover{
  transform: translateY(-1px);
  color: rgba(233,237,242,0.95);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 18px rgba(255,255,255,0.10);
}

/* responsive */
@media (max-width: 1100px){
  .cards-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .card-btn{ height: 230px; }
}

