/* Northwest Vocal Music - Responsive Design */
/* Mobile and Tablet Styles */

/* ============================================================================
   MOBILE STYLES (max-width: 1180px)
   ============================================================================ */

@media (max-width: 1180px) {
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  /* Header - Compact mobile header with sticky positioning */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-content {
    padding: 0.75rem 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  /* Simplified logo section */
  .logo-section {
    flex: 0 0 auto;
    justify-content: flex-start;
    min-width: 0;
  }

  .site-logo {
    display: none;
  }

  .site-title {
    flex: 0 0 auto;
    width: 225px;
    min-width: 225px;
    max-width: 225px;
  }

  .site-title h1 {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin: 0;
  }

  .tagline {
    display: none;
  }

  /* Mobile top bar controls */
  .mobile-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .mobile-search-toggle {
    display: block;
  }

  /* Mobile navigation */
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--nw-white);
    border-top: 1px solid var(--nw-silver);
    z-index: 1000;
    box-shadow: var(--shadow-md);
  }

  .nav-menu {
    background-color: var(--nw-white);
    padding: 0;
    box-shadow: none;
    display: none;
    width: 100%;
    list-style: none;
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--nw-silver);
  }

  .nav-menu.active {
    display: block;
  }

  /* Convert dropdown to flat menu on mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    margin-left: 1rem;
  }

  .dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* Custom scrollbar for navigation on mobile */
  .nav-menu::-webkit-scrollbar {
    width: 6px;
  }

  .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .nav-menu::-webkit-scrollbar-thumb {
    background-color: var(--nw-gray);
    border-radius: 3px;
  }

  .nav-menu::-webkit-scrollbar-thumb:hover {
    background-color: var(--nw-blue);
  }

  /* Hide desktop search form on mobile */
  .search-form {
    display: none;
  }

  /* Footer adjustments */
  .footer-content {
    grid-template-columns: 1fr;
  }
}
