/* CSS VARIABLES */
:root {
  --primary: #f04e31;
  --bg: #ffffff;
  --text: #222;
}

body.dark {
  --bg: #121212;
  --text: #f1f1f1;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL */
body {
  font-family: roboto ;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background .3s, color .3s;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: cornflowerblue;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { color: #fff; font-size: 1.6em;}

.nav-menu a,
.nav-menu button {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
}

/* PARALLAX */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* HERO */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image:
  linear-gradient(rgba(0,0,0,.8), rgba(0,0,0,.8)),
  url("90s-Childhood-games.webp");
  padding: 0px 40px 0px 40px;
}

.hero h2 {
  font-size: 2rem;
}

.hero p {
  font-size: 1rem;
  margin: 10px 0px 0px 0px;
}

.hero a {
  display: inline-block;
  margin: 20px 0px 0px 0px;
}
/* SECTIONS */
.section {
  padding: 70px 20px;
}

.alt {
  background: #f4f4f4;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* CARDS */
.card,
.trainer {
  background: var(--bg);
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.card h3 {margin: 0px 0px 10px 0px;}

/* FORMS */
input, textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* BUTTON */
.btn {
  background: var(--primary);
  color: #fff;
  border-radius: 25px;
  padding: 12px 30px;
  border: none;
}

/* ANIMATIONS (GPU SAFE) */
.fade-up {
  animation: fadeUp .9s ease both;
}

.slide-up {
  animation: slideUp .8s ease both;
}

.zoom-in {
  animation: zoomIn .8s ease both;
}

.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

/* FOOTER */
.footer {
  background:cornflowerblue;
  color:white;
  text-align:center;
  padding:20px;
  font-size: 1em;
  font-weight: 500;
}

#contact p {text-align: center;}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-menu {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
  }

  .nav-menu.active {
    display: flex;
  }

  .parallax {
    background-attachment: scroll; /* Mobile performance fix */
  }
  .logo { color: #fff; font-size: 1.6em;}
  .hero h2 {font-size: 1.3rem;}
  .hero p {font-size: 1.1rem;}

}
