/* ===========================
   Hello/Index Page Styles
   =========================== */

.hello-index {
  height: calc(100dvh + 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin-top: -76px;
  padding-top: 76px;
  margin-bottom: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.hero-section {
  width: 100%;
  padding: 60px 40px;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  color: white;
  font-weight: 800;
  font-size: 4.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.hero-content hr {
  border-color: rgba(255, 255, 255, 0.3);
  width: 100px;
  margin: 2rem auto;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.hero-content .btn-primary {
  background-color: white;
  color: #667eea;
  border: none;
  padding: 1rem 3rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin-top: 1rem;
}

.hero-content .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 20px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content .lead {
    font-size: 1.5rem;
  }
  
  .hero-content .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.25rem;
  }
}

/* Body styles for hello page */
body:has(.hello-index) {
  overflow: hidden;
}

/* Flash messages on hello page */
body:has(.hello-index) .container-fluid:has(.alert) {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
}

body:has(.hello-index) .alert {
  margin: 1rem 0;
}

/* Navbar styles for hello page */
body:has(.hello-index) .navbar {
  background-color: transparent !important;
  border-bottom: none;
  box-shadow: none;
  position: relative;
  z-index: 10;
}

body:has(.hello-index) .navbar-brand {
  color: white !important;
}

body:has(.hello-index) .navbar-brand:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

body:has(.hello-index) .navbar-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

body:has(.hello-index) .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

body:has(.hello-index) .nav-link:hover {
  color: white !important;
}

body:has(.hello-index) .btn-outline-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  background-color: transparent;
}

body:has(.hello-index) .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

body:has(.hello-index) .btn-primary {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  color: white;
}

body:has(.hello-index) .btn-primary:hover {
  background-color: white;
  color: #667eea;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1,
.hero-content .lead,
.hero-content hr,
.hero-content p,
.hero-content .btn {
  animation: fadeInUp 0.6s ease-out backwards;
}

.hero-content h1 { animation-delay: 0.1s; }
.hero-content .lead { animation-delay: 0.2s; }
.hero-content hr { animation-delay: 0.3s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .btn { animation-delay: 0.5s; }