/* GENEL AYARLAR */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  width: 100%;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.85);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.logo img {
  max-height: 48px;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #4CAF50;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 26px;
  background-color: #111;
  color: #4CAF50;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 64px;
    right: 24px;
    padding: 16px;
    border-radius: 8px;
    width: 200px;
  }

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

  .menu-toggle {
    display: block;
  }

  .logo img {
    max-height: 40px;
  }
}

/* HERO ALANI */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 30px;
}

/* KATEGORİ KARTLARI */
.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 80px 20px;
  gap: 30px;
  background: rgba(0, 0, 0, 0.6);
}

.card {
  background: #111;
  padding: 30px 20px;
  width: 300px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,255,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px #4CAF50;
}

.card h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.card p {
  color: #aaa;
  margin-bottom: 20px;
}

.card a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: bold;
}

/* FOOTER */
footer {
  background-color: #111;
  text-align: center;
  padding: 30px 0;
  color: #bbb;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
}

footer a {
  color: #4CAF50;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #81C784;
}

/* RENKLER */
.food { color: #FF6F61; }
.game { color: #2196F3; }
.home { color: #FFC107; }
.land { color: #4CAF50; }

/* ANİMASYON */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE HERO & KARTLAR */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }
}

/* GAMELAND ÖZEL STİLLERİ */
body.gameland-page {
  background: url('picture_library/gameland-bg.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Gameland içerik */
.gameland-hero {
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gameland-logo {
  width: 500px;
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}
