/* Kart okutulunca açılan profil sayfası */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #12151c;
  background: #fff;
}
a {
  color: inherit;
}
.kapak {
  height: 150px;
  background: #1f3fd6;
}
.profil {
  max-width: 460px;
  margin: -56px auto 0;
  padding: 0 18px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 5px solid #fff;
  object-fit: cover;
  background: #e3e6f7;
}
.avatar.bos {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: #1f3fd6;
}
h1 {
  font-size: 22px;
  margin: 10px 0 2px;
}
.unvan {
  margin: 0;
  color: #4a4f5a;
  font-size: 15px;
}
.btn {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: #1f3fd6;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}
.kaydet {
  background: #12151c;
  margin: 16px 0 18px;
}
.sekmeler {
  display: flex;
  gap: 4px;
  width: 100%;
  padding: 4px;
  border-radius: 12px;
  background: #f1f0eb;
  margin-bottom: 20px;
}
.sekmeler button {
  flex: 1;
  border: 0;
  padding: 11px;
  border-radius: 9px;
  font: inherit;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  min-height: 44px;
}
.sekmeler button[aria-selected="true"] {
  background: #fff;
}
.panel {
  width: 100%;
}

/* İkon kutusu (ortak) */
.ikon {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5a5f69;
}
.ikon .kutu {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--renk);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(18, 21, 28, 0.15);
}
.ikon .ad {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.ikon .kutu img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.sekil-kare .ikon .kutu {
  border-radius: 4px;
}
.sekil-daire .ikon .kutu {
  border-radius: 50%;
}

/* Izgara */
.duzen-izgara {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.duzen-izgara .ikon .ad {
  font-size: 11px;
}
.duzen-izgara .ikon {
  padding: 8px 2px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(18, 21, 28, 0.09);
}
@media (max-width: 340px) {
  .duzen-izgara {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Alt alta */
.duzen-liste {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.duzen-liste .ikon {
  flex-direction: row;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f6f5f1;
  font-size: 16px;
  color: #12151c;
  font-weight: 500;
}
.duzen-liste .kutu {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.duzen-liste .kutu svg {
  width: 24px;
  height: 24px;
}

/* Yuvarlak çerçeve */
.duzen-yuvarlak {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 14px;
}
.duzen-yuvarlak .ikon {
  width: 72px;
}
.duzen-yuvarlak .kutu {
  border-radius: 50% !important;
  background: #fff;
  color: var(--renk);
  border: 2px solid var(--renk);
  box-shadow: none;
}

/* Kaydırmalı kartlar */
.duzen-kaydir {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -18px;
  padding: 0 18px 8px;
}
.duzen-kaydir .ikon {
  flex: 0 0 124px;
  height: 140px;
  scroll-snap-align: start;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  border-radius: 20px;
  background: var(--renk);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.duzen-kaydir .kutu {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
}

/* Dönen çember: ikonlar fotoğrafın etrafında yavaşça döner */
.duzen-cember {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed #c9c6bc;
  animation: don 40s linear infinite;
}
.duzen-cember .ikon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  margin: -32px 0 0 -32px;
  transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-122px)
    rotate(calc(-360deg / var(--n) * var(--i)));
}
.duzen-cember .ikon .kutu {
  width: 56px;
  height: 56px;
  animation: don 40s linear infinite reverse;
}
.duzen-cember .ikon .ad {
  display: none;
}
.duzen-cember:hover,
.duzen-cember:hover .kutu {
  animation-play-state: paused;
}
@keyframes don {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .duzen-cember,
  .duzen-cember .kutu {
    animation: none;
  }
}

.metin {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f6f5f1;
  text-align: left;
}
.metin h2 {
  font-size: 16px;
  margin: 0 0 6px;
}
.metin p {
  margin: 0 0 10px;
  word-break: break-word;
}
.kopyala,
.paylas {
  border: 1px solid #c9c6bc;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.paylas {
  margin-top: 24px;
  width: 100%;
}
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #12151c;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.panel h2 {
  font-size: 22px;
  margin: 18px 0 8px;
  text-align: left;
}
.bio {
  text-align: left;
  line-height: 1.6;
  color: #3a3f4a;
  margin: 0;
}
.alt-logo {
  margin-top: 24px;
  font-size: 12px;
  color: #6b707a;
  text-decoration: none;
}
.bos-sayfa {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}
.bos-sayfa.koyu {
  max-width: none;
  background: #12151c;
  color: #f6f5f1;
}
.bos-sayfa.koyu p {
  color: #c7cbd3;
  max-width: 380px;
}
.kilit {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #2c313c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo {
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  margin-top: 20px;
}
.logo span {
  color: #1f3fd6;
}
.bos-sayfa .btn {
  max-width: 380px;
}

.ico-ara {
  --renk: #4e8a4b;
}
.ico-gsm {
  --renk: #5fa845;
}
.ico-sirket_gsm {
  --renk: #6aa864;
}
.ico-whatsapp {
  --renk: #4e9a86;
}
.ico-eposta {
  --renk: #7a6fbe;
}
.ico-web {
  --renk: #c2638a;
}
.ico-konum {
  --renk: #d9a132;
}
.ico-instagram {
  --renk: #c2453f;
}
.ico-facebook {
  --renk: #2e5590;
}
.ico-x {
  --renk: #2b2f38;
}
.ico-linkedin {
  --renk: #2f6da8;
}
.ico-youtube {
  --renk: #c4261d;
}
.ico-tiktok {
  --renk: #2b2f38;
}
.ico-telegram {
  --renk: #3a8fc4;
}
.ico-sahibinden {
  --renk: #c9a300;
}
.ico-hepsiemlak {
  --renk: #d2463c;
}
.ico-emlakjet {
  --renk: #1f7a4d;
}
.ico-google_yorum {
  --renk: #c97a1a;
}
.ico-katalog {
  --renk: #8a5a3c;
}
.ico-iban {
  --renk: #3a3f4a;
}
.ico-fatura {
  --renk: #5a4a7a;
}
.i-0 {
  --i: 0;
}
.n-1 {
  --n: 1;
}
.i-1 {
  --i: 1;
}
.n-2 {
  --n: 2;
}
.i-2 {
  --i: 2;
}
.n-3 {
  --n: 3;
}
.i-3 {
  --i: 3;
}
.n-4 {
  --n: 4;
}
.i-4 {
  --i: 4;
}
.n-5 {
  --n: 5;
}
.i-5 {
  --i: 5;
}
.n-6 {
  --n: 6;
}
.i-6 {
  --i: 6;
}
.n-7 {
  --n: 7;
}
.i-7 {
  --i: 7;
}
.n-8 {
  --n: 8;
}
.i-8 {
  --i: 8;
}
.n-9 {
  --n: 9;
}
.i-9 {
  --i: 9;
}
.n-10 {
  --n: 10;
}
.i-10 {
  --i: 10;
}
.n-11 {
  --n: 11;
}
.i-11 {
  --i: 11;
}
.n-12 {
  --n: 12;
}
.i-12 {
  --i: 12;
}
.n-13 {
  --n: 13;
}
.i-13 {
  --i: 13;
}
.n-14 {
  --n: 14;
}
.i-14 {
  --i: 14;
}
.n-15 {
  --n: 15;
}
.i-15 {
  --i: 15;
}
.n-16 {
  --n: 16;
}
.i-16 {
  --i: 16;
}
.n-17 {
  --n: 17;
}
.i-17 {
  --i: 17;
}
.n-18 {
  --n: 18;
}
.i-18 {
  --i: 18;
}
.n-19 {
  --n: 19;
}
.i-19 {
  --i: 19;
}
.n-20 {
  --n: 20;
}
.i-20 {
  --i: 20;
}
.n-21 {
  --n: 21;
}
.kapak {
  position: relative;
  background: linear-gradient(120deg, #172b83, #4055dc 75%, #7383ef);
}
.kart-logo {
  position: absolute;
  top: 20px;
  left: 5%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fcfbf5;
  border-radius: 12px;
  font-size: 24px;
  color: white;
  font-weight: 800;
  letter-spacing: -1.6px;
  text-decoration: none;
}
.kart-logo span {
  color: #cfdf66;
}
.bio,
.metin p {
  white-space: pre-line;
}
.qr {
  margin: 12px 0;
  width: 100%;
}
.qr summary {
  cursor: pointer;
}
.qr img,
.qr a {
  display: block;
  margin: 10px auto;
}
.ornek-linkler {
  display: grid;
  gap: 8px;
}
.ornek-linkler a {
  padding: 12px;
  border: 1px solid #dedfec;
  border-radius: 12px;
  text-decoration: none;
}
.profil h1,
.unvan,
.bio {
  overflow-wrap: anywhere;
}
.bos-sayfa .alt-logo {
  color: inherit;
}
.ikon:focus-visible,
.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ea8725;
  outline-offset: 3px;
}
.duzen-cember:focus-within,
.duzen-cember:focus-within .kutu {
  animation-play-state: paused;
}
.duzen-cember:has(.i-10) {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  animation: none;
  border: 0;
}
.duzen-cember:has(.i-10) .ikon {
  position: static;
  transform: none;
  width: auto;
  margin: 0;
}
.duzen-cember:has(.i-10) .kutu {
  animation: none;
}
.duzen-cember:has(.i-10) .ad {
  display: block;
}
