/* Ruggles Hotel — Custom Styles */

/* Ensure smooth scrolling and no layout shift */
html {
  scroll-behavior: smooth;
}

/* Base font settings */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero text readability — ensure contrast over gradient overlay */
#hero h1,
#hero p {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure all links have good contrast */
a {
  text-decoration: none;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #d94f6e;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Prevent content flash before JS loads — progressive enhancement safe */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  header, footer, #contact-form, #mobile-menu {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .blob {
    display: none;
  }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
  .reveal {
    transform: translateY(24px);
  }
}

/* Large screens */
@media (min-width: 1024px) {
  #navbar {
    padding-top: 0;
    padding-bottom: 0;
  }
}
