/* Custom styles for Hilton Atlanta Northwest */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #040a14;
}
::-webkit-scrollbar-thumb {
  background: #1e3658;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #34d399;
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

.animate-scroll-indicator {
  animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered reveal delays */
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Navbar glass effect */
#navbar.scrolled {
  background: rgba(4, 10, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu transitions */
#mobile-menu {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* Gold gradient text shimmer */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-shimmer {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Floating animation for accent cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Pulse glow for CTA buttons */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(52, 211, 153, 0.3); }
  50% { box-shadow: 0 0 40px rgba(52, 211, 153, 0.6); }
}

.btn-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Image hover zoom with overflow hidden */
.rounded-2xl, .rounded-3xl {
  overflow: hidden;
}

/* Focus styles for accessibility */
input:focus, textarea:focus, button:focus {
  outline: none;
}

/* Ensure contact form inputs are readable */
input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Mobile menu link hover */
.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5eead4, #10b981);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-link:hover::after {
  width: 80%;
}

/* Decorative background pattern */
.hero-pattern {
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(52, 211, 153, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(30, 54, 88, 0.3) 0%, transparent 50%);
}

/* Print styles */
@media print {
  nav, .reveal, .animate-scroll-indicator {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
