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

/* CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary {
  display: inline-block;
  background: var(--color-cta);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition);
  text-align: center;
}

.btn-outline:hover {
  background: white;
  color: var(--color-primary);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.orange-text {
  color: var(--color-secondary);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Section Spacing */
section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* Message Floating Button */
.message-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-secondary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(244, 88, 26, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}
.message-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 30px rgba(244, 88, 26, 0.7);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 88, 26, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(244, 88, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 88, 26, 0); }
}

/* Colliding Dumbbells Animation */
.has-dumbbells {
  position: relative;
}

.hero__dumbbells-container {
  position: absolute;
  right: 50px;
  bottom: 100px;
  display: flex;
  gap: 150px;
  z-index: 5;
  pointer-events: none;
}

.hero__dumbbells-container i {
  font-size: 4rem;
  color: rgba(0, 150, 255, 0.4);
  text-shadow: 0 0 20px rgba(0, 150, 255, 0.2);
}

.db-left {
  animation: collideLeft 2.5s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
  transform: rotate(45deg);
}

.db-right {
  animation: collideRight 2.5s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
  transform: rotate(-45deg);
}

@keyframes collideLeft {
  0% { transform: translateX(0) rotate(45deg); opacity: 0; }
  20% { opacity: 0.4; }
  50% { transform: translateX(85px) rotate(45deg); color: #0096ff; opacity: 1; }
  55% { transform: translateX(80px) rotate(40deg); }
  100% { transform: translateX(0) rotate(45deg); opacity: 0; }
}

@keyframes collideRight {
  0% { transform: translateX(0) rotate(-45deg); opacity: 0; }
  20% { opacity: 0.4; }
  50% { transform: translateX(-85px) rotate(-45deg); color: #0096ff; opacity: 1; }
  55% { transform: translateX(-80px) rotate(-40deg); }
  100% { transform: translateX(0) rotate(-45deg); opacity: 0; }
}

@media (max-width: 992px) {
  .hero__dumbbells-container {
    right: 20px;
    bottom: 60px;
    gap: 80px;
  }
  .hero__dumbbells-container i {
    font-size: 2.5rem;
  }
  @keyframes collideLeft {
    0% { transform: translateX(0) rotate(45deg); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateX(45px) rotate(45deg); color: #0096ff; opacity: 1; }
    55% { transform: translateX(40px) rotate(40deg); }
    100% { transform: translateX(0) rotate(45deg); opacity: 0; }
  }
  @keyframes collideRight {
    0% { transform: translateX(0) rotate(-45deg); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateX(-45px) rotate(-45deg); color: #0096ff; opacity: 1; }
    55% { transform: translateX(-40px) rotate(-40deg); }
    100% { transform: translateX(0) rotate(-45deg); opacity: 0; }
  }
}

@media (max-width: 480px) {
  .hero__dumbbells-container {
    right: 10px;
    bottom: 40px;
    gap: 60px;
  }
  .hero__dumbbells-container i {
    font-size: 1.8rem;
  }
  @keyframes collideLeft {
    0% { transform: translateX(0) rotate(45deg); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateX(35px) rotate(45deg); color: #0096ff; opacity: 1; }
    55% { transform: translateX(30px) rotate(40deg); }
    100% { transform: translateX(0) rotate(45deg); opacity: 0; }
  }
  @keyframes collideRight {
    0% { transform: translateX(0) rotate(-45deg); opacity: 0; }
    20% { opacity: 0.4; }
    50% { transform: translateX(-35px) rotate(-45deg); color: #0096ff; opacity: 1; }
    55% { transform: translateX(-30px) rotate(-40deg); }
    100% { transform: translateX(0) rotate(-45deg); opacity: 0; }
  }
}
