/* SYNRGY Sports — Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background-color: rgba(212, 168, 67, 0.3);
  color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
  background: #2A2A2A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3A3A3A;
}

/* Animate on scroll - fade in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.2);
}

/* Select dropdown styling for dark mode */
select option {
  background-color: #1E1E1E;
  color: white;
}

/* Mobile menu animation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
#mobile-menu:not(.hidden) {
  max-height: 300px;
}

/* Remove hidden class override for animation */
#mobile-menu.hidden {
  max-height: 0;
  display: block !important;
}

/* Image hover effect */
.aspect-\[4\/3\] img {
  transition: transform 0.5s ease;
}
.aspect-\[4\/3\]:hover img {
  transform: scale(1.03);
}

/* Gold underline animation for headings */
h2 span {
  position: relative;
}

/* Button hover lift */
a[href="#contact"],
button[type="submit"] {
  transition: all 0.2s ease;
}
a[href="#contact"]:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}

/* Team card hover */
#team .text-center {
  transition: transform 0.2s ease;
}
#team .text-center:hover {
  transform: translateY(-4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-heading {
    letter-spacing: -0.02em;
  }

  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
