/* ==========================================================================
   Yapım Aşaması Sayfası – Atılım Medya
   Renkleri değiştirmek için :root altındaki değişkenleri düzenleyin.
   (Vurgu rengi ayarlar.js içinden de değiştirilebilir.)
   ========================================================================== */

:root {
  --accent: #e8b04b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .72);
  --line: rgba(255, 255, 255, .16);
  --card: rgba(255, 255, 255, .07);
  --card-hover: rgba(255, 255, 255, .13);
  --overlay: linear-gradient(180deg, rgba(8, 10, 14, .55) 0%, rgba(8, 10, 14, .78) 60%, rgba(8, 10, 14, .9) 100%);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #0b0d11;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---- Arka plan ---------------------------------------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0b0d11 center / cover no-repeat;
  animation: zoom 30s ease-out forwards;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---- İçerik ------------------------------------------------------------- */
.wrap {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeUp .9s ease-out both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- Logo / firma adı --------------------------------------------------- */
.brand { margin-bottom: 36px; }
.brand img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(320px, 80vw);
  object-fit: contain;
}
.brand img.is-white { filter: brightness(0) invert(1); }

.brand-name {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.progress {
  width: 120px;
  height: 3px;
  margin: 28px auto;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.progress span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: slide 2.4s ease-in-out infinite;
}
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.lead {
  margin: 0 auto;
  max-width: 540px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---- İletişim kartları -------------------------------------------------- */
/* Kutusuz, yazı odaklı düzen: bilgiler ince dikey çizgilerle ayrılır */
.contacts {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 2px 32px;
  color: var(--text);
  text-decoration: none;
}
.contact + .contact { border-left: 1px solid var(--line); }

.contact-text small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-text small svg { width: 14px; height: 14px; color: var(--accent); }
.contact-text { display: flex; flex-direction: column; gap: 6px; }
.contact-text span {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s ease;
}
.contact:hover .contact-text span { background-size: 100% 1px; }

/* Sadece telefon gibi tek bilgi varsa biraz daha belirgin göster */
.contacts[data-count="1"] .contact-text span { font-size: 1.35rem; font-weight: 600; }

/* ---- Sosyal medya ------------------------------------------------------- */
.socials {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.socials a {
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .2s, transform .2s;
}
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* ---- Atılım Medya imzası (göze çarpmayan) ------------------------------- */
.credit {
  padding: 18px 24px 22px;
  text-align: center;
}
.credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .42);
  text-decoration: none;
  transition: color .2s;
}
.credit img { filter: invert(1); opacity: .5; transition: opacity .2s; }
.credit strong { font-weight: 600; }
.credit a:hover { color: rgba(255, 255, 255, .85); }
.credit a:hover img { opacity: .9; }

/* ---- Mobil -------------------------------------------------------------- */
@media (max-width: 560px) {
  .wrap { padding: 40px 16px 24px; }
  .brand { margin-bottom: 28px; }
  .brand img { height: 30px; }
  .contacts { flex-direction: column; align-items: center; gap: 22px; }
  .contact { padding: 0; }
  .contact + .contact { border-left: 0; }
  .lead { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bg, .wrap, .progress span { animation: none; }
}
