/* Custom styles for Sports Business Society */
/* Most styling is handled by Tailwind CSS */

/* Custom color variables - UT Austin */
:root {
  --burnt-orange: #BF5700;
  --burnt-orange-light: #cf6a1a;
  --burnt-orange-dark: #a04a00;
  --charcoal: #333F48;
  --charcoal-light: #4a5a66;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom gradient overlay for hero */
.hero-gradient {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(21, 42, 71, 0.9) 100%);
}

/* Orange accent underline for headings */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--burnt-orange);
}

/* Card hover effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button hover effect */
.btn-primary {
  background-color: var(--burnt-orange);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--burnt-orange-light);
  transform: translateY(-2px);
}

/* Navigation link underline animation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--burnt-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu animation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Lightbox styles */
.lightbox {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Image gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Team member card */
.team-card img {
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* Event card date badge */
.date-badge {
  background: linear-gradient(135deg, var(--burnt-orange) 0%, var(--burnt-orange-light) 100%);
}

/* Footer gradient */
.footer-gradient {
  background: linear-gradient(180deg, var(--charcoal) 0%, #1a2329 100%);
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--burnt-orange);
  box-shadow: 0 0 0 3px rgba(191, 87, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gold-underline::after {
    width: 40px;
  }
}
