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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f3eee4;
  color: #1f2a44;
}
/* DIŞ ZEMİN */

.page-bg {
  overflow: visible;
}

/* MAIN CONTAINER */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 48px;
  background: #FDF9E9;
  border-radius: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 72px;
}

.logo {
  height: 64px;
}

.header nav a {
  margin-left: 32px;
  text-decoration: none;
  color: #1f2a44;
  font-weight: 500;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 96px;
}

.card {
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
}


.card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.card button {
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
  cursor: pointer;
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
  text-decoration: none;
  color: #1f2a44;
  font-size: 14px;
    margin-top: auto;

}

/* CARD COLORS */
.card.games {
  background: #9dd9c2;
}

.card.apps {
  background: #f4a261;
}

.card.experiments {
  background: #a9c4e8;
}

/* FOOTER */
.footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer a {
  text-decoration: none;
  color: #1f2a44;
  font-weight: 500;
}

.socials {
  margin: 16px 0;
}

.socials a {
  margin: 0 8px;
  font-size: 20px;
  text-decoration: none;
}
.socials img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.socials img:hover {
  opacity: 1;
}

.copyright {
  font-size: 13px;
  opacity: 0.6;
}

/* RESPONSIVE – SADE VE NET */
@media (max-width: 900px) {

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  /* CARDS → ALT ALTA */
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

  .card {
    padding: 24px;
  }

  .card img {
    height: 180px;
  }

  /* HEADER */
  
  .header {
    flex-direction: column;
    gap: 16px;
  }

  .header nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;       /* ← TEK SATIR */
  }

  .header nav a {
    margin: 0 8px;           /* ← SIKIŞTIRDIK */
    font-size: 14px;         /* ← KÜÇÜLTTÜK */
    white-space: nowrap;     /* ← KELİME BÖLÜNMEZ */
  }
}
