/* ilhanoruc.com – poster teması: kırışık kâğıt, sarı zemin, mavi başlıklar, Cooper tarzı font */

:root {
  --paper: #ececec;
  --yellow: #f2d749;
  --blue: #448dce;        /* posterdeki mavi (seçim rengi vb.) */
  --blue-deep: #2b72bd;   /* büyük başlıklar ve dolgular (üstünde beyaz yazı) */
  --blue-text: #1f5fa3;   /* küçük mavi yazılar, sarı üstünde okunur */
  --ink: #14233f;
  --line: rgba(20, 35, 63, 0.16);
  --display: "Fraunces", "Cooper Black", "Bookman Old Style", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }

body {
  font-family: var(--body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper) url("paper.svg") center top / 800px 800px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Posterdeki gibi: Cooper tarzı yumuşak, kalın serif (Fraunces, Türkçe harflerin hepsi var),
   ilk harf büyük, gerisi küçük büyük harf */
h1, h2, .subtitle, .svc-name, .btn, .tile-title, .about-link, .menu a {
  font-family: var(--display);
  font-weight: 900;
  font-variant-caps: small-caps;
}

/* ---------- Menü (sağ üst) ---------- */
.menu-btn, .menu-close {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
}
.menu-btn span { display: block; width: 32px; height: 5px; background: var(--ink); transition: background 0.15s; }
.menu-btn:hover span { background: var(--blue-deep); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: var(--yellow);
}
.menu a {
  padding: 6px 14px;
  font-size: clamp(2.4rem, 12vw, 3.6rem);
  line-height: 1.1;
  color: var(--blue-deep);
  /* Menüdeki tüm kelimelerin altı çizili */
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
  /* Mobil tarayıcılar small-caps'te i'yi ı yapıyor ("Müzık").
     uppercase + lang="tr" Türkçe harfleri doğru çeviriyor (i → İ). */
  font-variant-caps: normal;
  text-transform: uppercase;
}
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); }
.menu-close { position: absolute; top: 12px; right: 14px; display: grid; place-items: center; }
.menu-close span { grid-area: 1 / 1; width: 34px; height: 5px; background: var(--ink); }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }

/* ---------- Poster ---------- */
.poster {
  position: relative;
  width: min(520px, calc(100% - 24px));
  margin: 68px auto 40px;
  padding: 36px 22px 26px;
  background: var(--yellow);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06), 0 24px 44px -14px rgba(60, 48, 10, 0.4);
}

.hero { text-align: center; }

.cover {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto;
  border: 4px solid var(--blue-deep);
  border-radius: 14px;
  background: #e5c93f;
}
.cover.round { border-radius: 50%; }

h1 {
  margin: 22px 0 0;
  font-size: clamp(2.1rem, 9.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--blue-deep);
  /* Tüm harfler aynı boyda (küçük büyük harf yok). lang="tr" olduğu için i → İ doğru çıkar. */
  font-variant-caps: normal;
  text-transform: uppercase;
}
h1 span { display: block; }
#title:empty { display: none; }

.subtitle {
  margin: 8px 0 0;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--blue-text);
}


/* ---------- Bölümler ---------- */
.block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 3px solid var(--blue-deep);
}
.block h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--blue-text);
}

.list { list-style: none; margin: 0; padding: 0; }

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 2px solid var(--line);
}
.row:last-child { border-bottom: 0; }

.svc { display: flex; align-items: center; gap: 14px; min-width: 0; }
.svc-dot {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 700 1.15rem/1 var(--body);
}
.svc-logo { height: 42px; width: auto; max-width: 170px; object-fit: contain; }
.svc-name {
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  flex: none;
  display: inline-block;
  min-width: 104px;
  padding: 10px 22px 9px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s, background 0.15s;
}
.btn:hover { background: var(--blue-text); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }

/* ---------- Şarkı kapakları ---------- */
.grid {
  list-style: none;
  margin: 0;
  padding: 14px 0 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}
.tile { display: block; color: inherit; text-decoration: none; }
.tile-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--blue-deep);
  border-radius: 10px;
  background: #e5c93f;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.tile-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-art.ph {
  background: linear-gradient(135deg, hsl(var(--h), 55%, 30%), hsl(calc(var(--h) + 40), 70%, 58%));
  color: rgba(255, 255, 255, 0.92);
  font-size: 2.6rem;
}
a.tile:hover .tile-art { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.tile-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ink);
}
.tile-meta { display: block; margin-top: 3px; font-size: 0.85rem; color: rgba(20, 35, 63, 0.8); font-variant-numeric: tabular-nums; }

/* ---------- Şarkı çalar (kendi ses dosyaların) ---------- */
.track { padding: 12px 0; border-bottom: 2px solid var(--line); }
.track:last-child { border-bottom: 0; }
.track-main { display: flex; align-items: center; gap: 14px; }

.play {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.play:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.play:disabled { background: #b9ad6a; box-shadow: none; cursor: not-allowed; }
.play svg { width: 18px; height: 18px; fill: currentColor; }
.play .i-pause { display: none; }
.track.playing .i-play { display: none; }
.track.playing .i-pause { display: block; }

.t-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.t-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-time { font-size: 0.85rem; color: rgba(20, 35, 63, 0.8); font-variant-numeric: tabular-nums; }

.bar {
  display: none;
  position: relative;
  height: 8px;
  margin: 12px 0 2px 60px;
  border-radius: 4px;
  background: rgba(20, 35, 63, 0.16);
  cursor: pointer;
}
.bar::before { content: ""; position: absolute; inset: -9px 0; } /* dokunma alanını büyütür */
.bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--blue-deep); }
.track.active .bar { display: block; }

.status { margin: 4px 4px 8px; color: #b42318; font-size: 0.9rem; }
.status:empty { display: none; }

/* ---------- Gömme oynatıcı, linkler, alt bilgi ---------- */
.embed iframe { display: block; width: 100%; border: 0; border-radius: 12px; }

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.links a { color: var(--ink); font-weight: 700; }

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 3px solid var(--blue-deep);
  text-align: center;
}
.about-link {
  padding: 6px 10px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--blue-deep);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.about-link:hover { color: var(--blue-text); }
.foot small { font-size: 0.85rem; color: rgba(20, 35, 63, 0.8); }

/* ---------- Hakkında sayfası ---------- */
.hero-about h1 { margin-top: 4px; }

.lang-switch {
  display: inline-flex;
  margin-top: 18px;
  border: 3px solid var(--blue-deep);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  padding: 9px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 0.95rem/1 var(--body);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] { background: var(--blue-deep); color: #fff; }
.lang-btn:focus-visible { outline-offset: -6px; }

.about-photo {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: 24px auto 0;
  border: 4px solid var(--blue-deep);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--ink);
}

/* Hakkında metni: "← Ana sayfa" butonuyla aynı yazı ailesi (Fraunces), ama okunur kalın olmayan ağırlıkta */
.prose {
  font-family: var(--display);
  font-weight: 500;
  font-variant-caps: normal;
  font-size: 1.12rem;
  line-height: 1.7;
}
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.back { margin: 28px 0 0; text-align: center; }

/* ---------- İletişim sayfası ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-row { padding: 14px 0; border-bottom: 2px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-deep);
  color: var(--yellow);
}
.contact-icon svg { width: 30px; height: 30px; }
.contact-text {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--blue-deep);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.contact-link:hover .contact-icon { background: var(--ink); }
.contact-link:hover .contact-text { color: var(--blue-text); }

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