:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --accent-color: #f2f2f2;
  --footer-text: #444;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.dark {
  --bg-color: #121212;
  --text-color: #f5f5f5;
  --accent-color: #1f1f1f;
  --footer-text: #999;
}

header {
  background-color: var(--bg-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-wrap: wrap;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 2000;
  color: var(--text-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a,
#theme-toggle {
  text-decoration: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover,
#theme-toggle:hover {
  color: #888888;
}

/* === MAIN Landing Arka Plan === */
main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 40px;
  background: url("resources/images/Landing-bg.png") no-repeat center center / cover;
  color: white;
  min-height: calc(100vh - 64px - 60px); /* Navbar ve footer yüksekliği hariç ekran boyu */
  position: relative;
  z-index: 1;
}

body.dark main {
  color: #f0f0f0;
}

/* === HERO TEXT ANİMASYON === */
.hero-text h1,
.hero-text .subtitle,
.hero-text blockquote,
.hero-text .desc {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-fill-mode: both;
}

.hero-text h1 {
  font-size: 64px;
  letter-spacing: 6px;
  margin-bottom: 0;
  font-weight: 700;
  animation-delay: 0.2s;
}

.hero-text .subtitle {
  font-size: 24px;
  margin: 0;
  opacity: 0.75;
  animation-delay: 0.5s;
}

.hero-text blockquote {
  font-size: 20px;
  margin: 20px 0;
  font-style: italic;
  font-weight: 300;
  animation-delay: 0.8s;
}

.hero-text .desc {
  font-size: 18px;
  margin-top: 10px;
  color: #e0e0e0;
  animation-delay: 1.1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--accent-color);
  color: var(--footer-text);
  transition: background 0.3s, color 0.3s;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--bg-color);
    padding: 10px 0;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .logo img {
    height: 40px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text .subtitle {
    font-size: 18px;
  }

  .hero-text blockquote,
  .hero-text .desc {
    font-size: 16px;
  }
}
