/* Custom styles for Fairfield Inn & Suites */

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

/* Base font settings */
body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation scroll state */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(107, 45, 91, 0.08);
}

/* Nav links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: #f59e0b;
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Mobile nav links */
.mobile-nav-link {
  transition: all 0.2s ease;
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid items */
.scroll-reveal[data-delay="100"] {
  transition-delay: 100ms;
}

.scroll-reveal[data-delay="200"] {
  transition-delay: 200ms;
}

.scroll-reveal[data-delay="300"] {
  transition-delay: 300ms;
}

/* Input focus styles */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(160, 61, 146, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #faf0f7;
}

::-webkit-scrollbar-thumb {
  background: #d78fcf;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a03d92;
}

/* Button ripple effect */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Animation for floating elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Image hover zoom container */
.group img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .group img {
    transition: none;
  }

  button, a, .group {
    transition: none;
  }
}

/* Print styles */
@media print {
  #navbar, #backToTop, #contactForm, #formSuccess {
    display: none !important;
  }
}
