  /* Custom styles for Seaside Condominums */

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

  /* Selection color */
  ::selection {
    background-color: rgba(13, 148, 136, 0.2);
    color: #0f172a;
  }

  /* Focus visible */
  :focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }
  ::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  /* Scroll reveal animations — progressive enhancement only */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
  }

  /* Ensure content is visible even without JS */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
    }
  }

  /* Navbar active state */
  #navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  /* Gallery hover */
  .group img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Button ripple-like effect */
  a, button {
    position: relative;
    overflow: hidden;
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.25s ease-out;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Form input focus */
  input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
  }

  /* Image placeholder fallback */
  img {
    background-color: #e2e8f0;
  }
