/* ============================================================
   Ebubekir Coşkun — tek fotoğraflık sade kişisel sayfa
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f1115;
  --bg-soft: #15181f;
  --text: #f4f5f7;
  --muted: #9aa0ab;
  --wa: #25d366;
  --wa-dark: #1da851;
  --accent: #a9c6d8;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 50% -10%, #232a36 0%, var(--bg) 55%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- İçerik ---------- */

.page {
  flex: 1 1 auto;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 44px) clamp(16px, 5vw, 28px) 8px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 5vw, 32px);
}

/* ---------- Fotoğraf ---------- */

.portrait {
  margin: 0;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px -20px rgba(0, 0, 0, 0.85);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: 50% 38%;
}

/* ---------- İletişim ---------- */

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.name {
  margin: 0;
  font-size: clamp(1.35rem, 5.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  padding: 15px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wa) 0%, var(--wa-dark) 100%);
  color: #04220f;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 34px -10px rgba(37, 211, 102, 0.7);
}

.whatsapp-button:active {
  transform: translateY(0);
}

.whatsapp-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wa-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: #04220f;
}

.phone {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 16px 26px;
}

.credit {
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.18s ease;
}

.credit img {
  display: block;
  height: 20px;
  width: auto;
}

.credit:hover,
.credit:focus-visible {
  opacity: 0.95;
}

.credit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Küçük ekranlar ---------- */

@media (max-width: 400px) {
  .portrait {
    border-radius: 16px;
  }
  .credit img {
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
