/* ==========================================================================
   ROMIX STUDIO — içerik sayfaları (hizmetler vb.)

   Ana sayfa sabit ve kaydırılmıyor; bu yüzden içerik sayfaları style.css'i
   kullanmıyor. Tipografi, renk ve etiket dili aynı, yerleşim akıcı.
   ========================================================================== */

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

:root {
  --bg:      #000;
  --fg:      #fff;
  --muted:   rgba(255, 255, 255, 0.58);
  --line:    rgba(255, 255, 255, 0.14);
  --panel:   rgba(255, 255, 255, 0.035);
  --pad:     clamp(2rem, 5vw, 8rem);
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  font-size: 62.5%;              /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
}

@media (min-width: 900px) {
  body { font-size: 1.8rem; }
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(255, 255, 255, 0.18); }

.wrap {
  width: 100%;
  max-width: 116rem;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --- Üst çubuk ------------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(1.2rem);
  -webkit-backdrop-filter: blur(1.2rem);
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 6.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
}

.brand:hover { opacity: 0.65; }
.brand img { height: 4rem; width: auto; }

/* Dar ekranda logo zaten "ROMIXSTUDIO" yazıyor; yanındaki metin üst çubuğu
   taşırıyordu. Görünürden kaldırıp ekran okuyucular için yerinde bırakıyoruz. */
@media (max-width: 620px) {
  .brand img { height: 3.2rem; }
  .brand span {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .topnav { gap: 1.4rem; }
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3rem);
}

.topnav a {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.topnav a:hover,
.topnav a[aria-current='page'] { color: var(--fg); }


/* --- Başlık bloğu --------------------------------------------------------- */

.hero { padding: clamp(6rem, 12vw, 14rem) 0 clamp(4rem, 7vw, 8rem); }

h1 {
  margin: 1.6rem 0 0;
  font-size: clamp(3.4rem, 6.2vw, 7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 20ch;
}

.lead {
  margin: 2.8rem 0 0;
  max-width: 62ch;
  font-size: clamp(1.8rem, 2.1vw, 2.2rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.3rem 2.4rem;
  border-radius: 5rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: #000;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

.btn:hover { opacity: 0.75; }

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn.ghost:hover { border-color: var(--fg); opacity: 1; }


/* --- Rakamlar ------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.1rem;
  margin-top: clamp(4rem, 7vw, 7rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  overflow: hidden;
}

.stat { background: #000; padding: 2.6rem 2.4rem; }
.stat b { display: block; font-size: 3.4rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 0.9rem; }


/* --- Bölümler ------------------------------------------------------------- */

section { padding: clamp(5rem, 9vw, 10rem) 0; border-top: 1px solid var(--line); }

h2 {
  margin: 1.4rem 0 0;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 22ch;
}

h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 2.2vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

p { margin: 1.8rem 0 0; max-width: 70ch; }
p + p { margin-top: 1.4rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(28rem, 100%), 1fr));
  gap: 1.4rem;
  margin-top: clamp(3rem, 5vw, 5rem);
}

.card {
  padding: 3rem 2.8rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--panel);
}

.card p { margin-top: 0; font-size: 1.6rem; color: rgba(255, 255, 255, 0.75); }

.ticks { margin-top: 2rem; }
.ticks li {
  position: relative;
  padding-left: 2.2rem;
  margin-top: 0.9rem;
  font-size: 1.55rem;
  color: rgba(255, 255, 255, 0.72);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0.2rem; top: 0.95em;
  width: 0.9rem; height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* --- Adımlar -------------------------------------------------------------- */

.steps { counter-reset: step; margin-top: clamp(3rem, 5vw, 5rem); }

.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding: 2.8rem 0;
  border-top: 1px solid var(--line);
}

.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 0.5rem;
}
.step p { margin-top: 0.6rem; font-size: 1.6rem; color: rgba(255, 255, 255, 0.75); }

/* --- Tablo ---------------------------------------------------------------- */

.table-wrap { margin-top: clamp(3rem, 5vw, 4rem); overflow-x: auto; }

table { width: 100%; border-collapse: collapse; min-width: 56rem; font-size: 1.6rem; }
caption { text-align: left; padding-bottom: 1.6rem; color: var(--muted); font-size: 1.4rem; }
th, td { text-align: left; padding: 1.8rem 1.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
tbody th { font-weight: 500; }
td:last-child { color: rgba(255, 255, 255, 0.72); }

/* --- Fiyatlar ------------------------------------------------------------- */

/* Üst tarafta üç, altta iki kart var; alt sıra genişleyip orantıyı bozmasın
   diye kolon genişliği tavanlı ve sıra ortalanıyor. */
.prices {
  display: grid;
  /* min() olmadan dar telefonda kolon alt sınırı ekranı taşırıyor */
  grid-template-columns: repeat(auto-fit, minmax(min(30rem, 100%), 36rem));
  justify-content: center;
  gap: 1.6rem;
  margin-top: clamp(3rem, 5vw, 5rem);
}

.price {
  display: flex;
  flex-direction: column;
  padding: 3.6rem 3.4rem 3.2rem;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background: var(--panel);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.price:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

/* Rakam satırı: sayı büyük, para birimi ve açıklama küçük ve hizalı */
.amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 0;
}

.amount b {
  font-size: clamp(4.4rem, 5.6vw, 5.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.amount span {
  font-size: 2.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.amount em {
  flex: 1 0 100%;
  font-style: normal;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

.price-note {
  margin-top: 2rem;
  font-size: 1.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.price .ticks { margin-top: 1.8rem; }
.price .ticks li { font-size: 1.6rem; }

/* Kart yükseklikleri farklı olsa da düğmeler aynı hizada kalsın */
.price .btn {
  margin-top: auto;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  align-self: flex-start;
}

.price .ticks + .btn { margin-top: 2.6rem; }

.price-foot {
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
  font-size: 1.45rem;
  color: var(--muted);
  max-width: 76ch;
}

/* WhatsApp düğmeleri — tasarımın tek renk dilinde kalıyor, simge ayırt ediyor */
.wa::before {
  content: '';
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
  mask: var(--wa-icon) center / contain no-repeat;
}

:root {
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.46 1.32 4.96L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91C21.96 6.45 17.5 2 12.04 2zm5.8 14.18c-.24.68-1.2 1.26-1.97 1.42-.53.11-1.21.2-3.51-.75-2.95-1.22-4.85-4.21-5-4.4-.14-.2-1.19-1.58-1.19-3.02s.75-2.14 1.02-2.43c.27-.29.59-.37.79-.37.2 0 .39 0 .56.01.18.01.42-.07.66.5.24.59.83 2.03.9 2.18.07.15.12.32.02.51-.1.2-.15.32-.29.49-.15.17-.31.38-.44.51-.15.15-.3.31-.13.6.17.29.76 1.25 1.63 2.03 1.12 1 2.06 1.31 2.35 1.46.29.15.46.12.63-.07.17-.2.73-.85.92-1.14.2-.29.39-.24.66-.15.27.1 1.71.81 2 .95.29.15.49.22.56.34.07.12.07.71-.17 1.39z'/%3E%3C/svg%3E");
}

/* --- İşler ---------------------------------------------------------------- */

/* Görseller büyük dursun diye geniş ekranda iki kolon; yedinci kart tek
   başına kalınca satırı doldurup devleşmesin diye kolon tavanlı ve ortalı. */
.work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(33rem, 100%), 49rem));
  justify-content: center;
  gap: 1.6rem;
  margin-top: clamp(3rem, 5vw, 5rem);
}

.work a {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.work a:hover { border-color: rgba(255, 255, 255, 0.42); }
.work img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.work .meta { padding: 2.2rem 2.6rem 2.6rem; }
.work .meta b { display: block; font-weight: 500; font-size: 2rem; letter-spacing: -0.025em; }
.work .meta span { display: block; margin-top: 0.6rem; font-size: 1.5rem; color: var(--muted); }

/* --- SSS ------------------------------------------------------------------ */

.faq { margin-top: clamp(3rem, 5vw, 5rem); }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.6rem 0;
}

.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 2rem 3.5rem 2rem 0;
  position: relative;
  font-size: clamp(1.75rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.4rem; top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--muted);
}

.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 2.2rem; font-size: 1.6rem; color: rgba(255, 255, 255, 0.75); }

/* --- Kapanış -------------------------------------------------------------- */

/* Doğrudan iletişim satırı — düğmelerin altında, daha sakin */
.contact-direct {
  margin-top: 2.6rem;
  font-size: 1.5rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: center;
}

.contact-direct a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.contact-direct a:hover { color: var(--fg); border-color: var(--fg); }

.closing { text-align: center; }
.closing h2 { margin-left: auto; margin-right: auto; }
.closing p { margin-left: auto; margin-right: auto; }
.closing .cta-row { justify-content: center; }

footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 5rem;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3rem;
  align-items: center;
  justify-content: space-between;
}

.foot-in a { color: var(--muted); text-decoration: none; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s var(--ease); }
.foot-in a:hover { color: var(--fg); }

/* --- Görünürlük animasyonu ------------------------------------------------ */

.rise { opacity: 0; transform: translateY(1.6rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
}
