/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Custom Navigation Styles */
.navbar {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #ffc107, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffc107 !important;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffc107 !important;
  background-color: rgba(255, 193, 7, 0.1);
  border-radius: 6px;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: #ffc107;
  border-radius: 2px;
}

/* Dropdown Styles */
.dropdown-menu {
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  color: #fff;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: #ffc107;
  color: #000;
}

/* Button Styles */
.btn-warning {
  background: linear-gradient(45deg, #ffc107, #ff8c00);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
  background: linear-gradient(45deg, #ff8c00, #e68900);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 193, 7, 0.4);
}

/* Mobile Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(45, 45, 45, 0.95);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
  }

  .nav-link {
    padding: 0.5rem 0 !important;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }
}

/* Animation for navbar on scroll */
.navbar.scrolled {
  background: rgba(26, 26, 26, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Landing Page Styles */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.feature-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

.about-image, .hero-image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 3rem 0;
  }

  .display-4 {
    font-size: 2.5rem;
  }
}