:root {
  --bg: #0b0b10;
  --surface: #0f0d16;
  --accent: #6f5df5;
  --accent-2: #3b63d3;
  --muted: #bdb6d6;
  --glass: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #05050a 0%, rgb(15, 15, 32) 60%);
  color: var(--muted);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hamburger “X” animasyonu */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  padding-top: 120px; /* header yüksekliğine göre ayarla */
  opacity: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--muted);
}
.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 1.4rem;
}
.main-nav {
  display: flex;
  gap: 25px;
}
.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.3s ease; /* <--- burası eklendi */
}
.nav-link:hover {
  background: #6b5df5;
  color: white;
}
.nav-link.active {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
}

/* ================================ footer ==================================*/
.site-footer {
  margin-top: 40px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  direction: rtl; /* ← burası eklendi */
}

.footer-left p {
  margin: 0;
}

.footer-desc {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  text-align: right;
  direction: rtl;
  unicode-bidi: embed;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  padding: 5px;
  color: var(--muted);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  color: #fff;
  transform: translateY(-3px);
}
