/* Modern Custom Styles */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar Styles */
#navbar.scrolled {
  background: rgba(5, 9, 26, 0.98) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.nav-link {
  @apply text-gray-200 hover:text-primary transition-colors duration-300 font-medium;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

/* Stat Cards */
.stat-card {
  @apply backdrop-blur-sm bg-white/5 p-4 rounded-lg border border-white/10;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #F0B429 0%, #FFD166 50%, #C89A1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(240, 180, 41, 0.15);
}

/* Button Glow Effect */
.btn-glow {
  box-shadow: 0 0 20px rgba(240, 180, 41, 0.5);
  transition: box-shadow 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(240, 180, 41, 0.8);
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(240, 180, 41, 0.1);
  border-top: 3px solid #F0B429;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Gallery Continuous Scroll */
.gallery-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 2rem;
  animation: scroll 60s linear infinite;
  width: fit-content;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0A0E24;
}

::-webkit-scrollbar-thumb {
  background: #F0B429;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FFD166;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #F0B429;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  nav,
  footer,
  .no-print {
    display: none;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles here */
}

/* Gold Divider */
.gold-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, #F0B429, transparent);
  margin: 0 auto;
  width: 80px;
  border-radius: 2px;
}

/* Section tag label */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F0B429;
  margin-bottom: 0.75rem;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Intersection Observer Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In Animation */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
