:root {
  --void: #03040c;
  --accent: #7ee8d8;
  --accent2: #a78bfa;
  --star: #eef0ff;
  --muted: #6b7a9e;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

/* ── Scrollbar tamamen gizle ── */
html,
body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE / Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Chrome / Safari */

body {
  background: var(--void);
  color: var(--star);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* ── STARS ── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── HERO ── */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  /* iOS Safari address bar fix */
  overflow: hidden;
  z-index: 1;
}

/* Fotoğraf — orijinal oranlarda, ortada, ekranı kaplamaz taşmaz */
#hero-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Ekrana sığacak şekilde ölçekle, oranları koru */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  /* Fotoğraf portrese göre daha küçükse genişliği ekrana yay */
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

#hero-photo.visible {
  opacity: 1;
}

/* Alttan gelen vignette */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(3, 4, 12, 0.2) 0%,
      transparent 25%,
      transparent 55%,
      rgba(3, 4, 12, 0.75) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ── SCROLL HINT ── */
#scroll-hint {
  position: absolute;
  bottom: 4rem;
  /* Moved up to avoid bottom UI elements on mobile/tablet */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: row;
  /* ok + yazı yan yana */
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  cursor: pointer;
  white-space: nowrap;
}

#scroll-hint.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Aşağı ok — çizgi ve chevron, bembeyaz, animasyonsuz, boşluksuz */
.scroll-arrow {
  position: relative;
  width: 14px;
  height: 26px;
  flex-shrink: 0;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 22px;
  background: #ffffff;
  border-radius: 2px;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Yazı — saf beyaz, modern hafif */
.scroll-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: #ffffff;
}

/* ── CONTENT ── */
main {
  position: relative;
  z-index: 2;
  background: var(--void);
}

section {
  padding: 7rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  color: var(--star);
}

h2 em {
  font-style: italic;
  color: rgba(238, 240, 255, 0.5);
}

p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: #8a96b8;
  max-width: 620px;
}

p strong {
  color: var(--star);
  font-weight: 500;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(90, 100, 140, 0.22), transparent);
  max-width: 860px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(126, 232, 216, 0.18);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--star);
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── TIMELINE ── */
.timeline {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(126, 232, 216, 0.4), rgba(167, 139, 250, 0.2), transparent);
}

.tl-item {
  display: flex;
  gap: 1.8rem;
  padding: 1.4rem 0;
  align-items: flex-start;
}

.tl-dot {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(126, 232, 216, 0.5);
  background: var(--void);
  margin-top: 3px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}

.tl-item:hover .tl-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.tl-year {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.tl-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--star);
  margin-bottom: 0.3rem;
}

.tl-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ── */
#contact {
  padding-bottom: 8rem;
}

.contact-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--star);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s;
  cursor: pointer;
}

.btn:hover {
  background: rgba(126, 232, 216, 0.08);
  border-color: rgba(126, 232, 216, 0.35);
  color: var(--accent);
}

.btn-primary {
  background: rgba(126, 232, 216, 0.1);
  border-color: rgba(126, 232, 216, 0.3);
  color: var(--accent);
}

.btn-primary:hover {
  background: rgba(126, 232, 216, 0.2);
  border-color: var(--accent);
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.7rem;
  color: rgba(107, 122, 158, 0.3);
  letter-spacing: 0.15em;
  position: relative;
  z-index: 2;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

@media (max-width: 600px) {
  section {
    padding: 5rem 1.4rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}