*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-dim: rgba(255, 255, 255, 0.6);
  --accent: rgba(255, 255, 255, 0.12);
  --font: 'League Spartan', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

code {
  font-size: 0.85em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  background: #000;
}

#terminal-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 150px 60px rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
}

.hero-tagline {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero-title {
  user-select: none;
}

.hero-title-inner {
  display: flex;
  justify-content: center;
  font-size: clamp(2.5rem, 11vw, 13rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.15),
    0 0 80px rgba(255, 255, 255, 0.08),
    0 0 120px rgba(255, 255, 255, 0.04);
  animation: fadeUp 1s var(--ease) 0.35s both;
}

.hero-title-inner .letter {
  display: inline-block;
  color: #fff;
  transition: opacity 0.15s ease-out;
}

.hero-sub {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  animation: fadeUp 1s var(--ease) 0.5s both;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  animation: fadeUp 1s var(--ease) 0.65s both;
}

.social-link {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.social-link:hover,
.social-link:focus-visible {
  color: #fff;
  outline: none;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  animation: fadeUp 1s var(--ease) 0.85s both, bounce 2.5s ease-in-out 1.5s infinite;
}

.scroll-hint:hover {
  color: #fff;
}

.scroll-hint svg {
  opacity: 0.6;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── Sections ─── */
.section {
  position: relative;
  z-index: 20;
  padding: 6rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--text-dim);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--text-dim);
}

/* ─── About ─── */
.about {
  background: linear-gradient(180deg, #000 0%, #060606 40%, #000 100%);
}

/* Hakkımda her zaman görünür (JS/reveal'dan bağımsız) */
#hakkimda,
#hakkimda .about-header,
#hakkimda .about-layout,
#hakkimda .about-intro,
#hakkimda .about-card {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.about-header {
  margin-bottom: 2.5rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.about-intro {
  position: sticky;
  top: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.about-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.about-quote {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.about-quick-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, background 0.3s;
}

.about-contact-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.about-contact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-contact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.about-contact-btn {
  margin-top: 0.5rem;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  background: #fff;
  color: #000;
  transition: transform 0.3s, opacity 0.3s;
}

.about-contact-btn:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
}

.about-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.about-card--wide {
  grid-column: 1 / -1;
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.about-card-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.about-card h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.about-card-meta {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.about-date {
  display: inline-block;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  background: var(--accent);
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-pills li {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-exp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.about-bullets {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.about-ref-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-style: normal;
}

.about-ref-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.about-ref-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card--wide {
    grid-column: auto;
  }
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--text-muted);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Process ─── */
.process {
  background: linear-gradient(180deg, #000 0%, #050505 50%, #000 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: none;
}

.process-steps li {
  position: relative;
  padding-top: 0.5rem;
}

.step-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-steps strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-steps p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Contact ─── */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.contact-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Footer ─── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
  justify-content: center;
}

.footer-nav a {
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-top {
  transition: color 0.3s;
}

.footer-top:hover {
  color: #fff;
}

/* ─── Scroll reveal ─── */
/* İçerik JS çalışmasa bile görünür kalsın diye varsayılan olarak açık bırakıyoruz. */
.reveal {
  opacity: 1;
  transform: none;
}

/* JS çalıştığında animasyonlu "reveal" davranışı aktif olur. */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js-enabled .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .hero-social { gap: 1.25rem; }
  .section { padding: 4rem 1.25rem; }
}
