/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 *= require_tree .
 *= require_self
 */

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
  /* Ensure mobile menu is properly positioned */
  #mobile-menu {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  /* Improve touch targets for mobile */
  #mobile-menu a,
  #mobile-menu button {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
  }

  /* Better spacing for mobile */
  .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Smooth transitions for mobile menu */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* Better dropdown positioning on smaller screens */
@media (max-width: 1024px) {
  .group:hover .absolute {
    right: 0;
    left: auto;
  }
}
