/*
 * Kleuter Kat Website Styles
 *
 * Hierdie stylblad definieer die visuele voorkoms van die Kleuter Kat
 * opvoedkundige speletjie-werf. Die ontwerp is eenvoudig, helder en
 * vriendelik, met 'n kleurpalet wat aansluit by die logo en beelde.
 */

/* Basiese reset vir meer voorspelbare styling oor blaaiers */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #ffcc0a;
}

/* Container om inhoud te sentreer en breedte te beperk */
.container {
  width: 90%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* Kopbal */
.site-header {
  background-color: #ffcc0a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo {
  height: 60px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #e42918;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #e42918;
}

/* Hero afdeling */
.hero {
  position: relative;
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #2d2d2d;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  color: #e42918;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto;
  color: #333333;
}

/* About afdeling */
.about {
  background-color: #ffcc0a;
  padding: 3rem 0;
}

.about h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  color: #e42918;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.1rem;
  max-width: 800px;
}

/* Games afdeling */
.games {
  padding: 3rem 0;
  background-color: #fff0c1;
}

.games h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  color: #e42918;
  margin-bottom: 1.5rem;
  text-align: center;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.game-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.game-info {
  padding: 1.5rem;
}

.game-info h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  color: #e42918;
  margin-bottom: 0.5rem;
}

.game-info p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.store-btn:hover img,
.store-btn:focus img {
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background-color: #e42918;
  color: #ffffff;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

/* Responsiewe ontwerp */
@media (min-width: 600px) {
  .game-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .game-grid {
    grid-template-columns: 1fr 1fr;
  }
  .game-card {
    flex-direction: row;
  }
  .game-image {
    flex: 1 1 45%;
    max-width: 45%;
  }
  .game-info {
    flex: 1 1 55%;
  }
}