@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  text-align: center;
  background-color: #121212;
  overflow-x: hidden;
  position: relative;
}

/* === VIBRANT ANIMATION for index.html === */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, #5c28ff, transparent 40%),
              radial-gradient(circle at 80% 70%, #00d4ff, transparent 40%),
              radial-gradient(circle at 50% 50%, #b66bff, transparent 40%);
  animation: animateGradient 15s ease infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes animateGradient {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-25%, -25%); }
  100% { transform: translate(0, 0); }
}

/* === SUBTLE ANIMATION for other pages === */
.subtle-gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(-45deg, #0f0f1a, #1a0f1f, #150f2c, #0e0e1a);
  background-size: 400% 400%;
  animation: gradientBG 18s ease-in-out infinite;
  z-index: -1;
  opacity: 0.5;
}

@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  background: #000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  max-width: 100%;
}

header img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #b66bff;
}

.hero {
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.hero h2 {
  font-size: 3.4em;
  margin-bottom: 20px;
}

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

.btn {
  display: inline-block;
  padding: 14px 26px;
  background-color: #b66bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px #b66bff;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #b66bff;
}

footer {
  background: none;
  padding: 15px;
  font-size: 0.9em;
  color: #aaa;
}

.content {
  padding: 100px 20px 60px;
}

.content h2 {
  font-size: 2em;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

.project-card {
  background-color: rgba(30, 30, 30, 0.9);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  max-width: 350px;
}

.project-card h3 {
  color: #b66bff;
  margin-bottom: 12px;
}

.project-card p {
  font-size: 0.95em;
  margin-bottom: 15px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.button-group .btn {
  flex: 1 1 auto;
  white-space: nowrap;
}

.poster-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.poster-gallery img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gym-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.gym-gallery img {
  width: 280px;
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.gym-gallery img:hover {
  transform: scale(1.05);
}

ul {
  list-style: disc;
  padding-left: 20px;
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
}

li {
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
  }

  .hero h2 {
    font-size: 2.2em;
  }

  .hero p {
    font-size: 1em;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.95em;
  }
}
