/* Responsive CSS BMW - PASSION AUTO 85 */
@media (max-width: 1024px) {
  .main-header {
    padding: 0.8rem 0;
  }
  .header-container {
    padding: 0 1rem;
    gap: 0.8rem;
  }
  .header-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
  }
  .nav-link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .nav-item {
    margin: 0 0.15rem;
  }
  .emergency-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  .sidebar-nav {
    width: 250px;
  }
  .main-container {
    margin-left: 250px;
  }
}
@media (max-width: 900px) {
  .footer-container {
    gap: var(--spacing-sm);
  }
  .footer-main {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  .footer-social {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}
@media (max-width: 768px) {
  .menu-horizontal {
    transition: box-shadow 0.3s, background 0.3s;
  }
  .menu-container {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    will-change: transform, opacity;
  }
  .menu-container.mobile-hidden {
    transform: translateY(-40px);
    opacity: 0;
    pointer-events: none;
  }
  .menu-container.mobile-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-toggle {
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  .mobile-menu-toggle.active {
    box-shadow: 0 2px 12px #1e90ff44;
    background: rgba(30, 144, 255, 0.12);
    border-color: #1e90ff;
  }
  .page-layout {
    flex-direction: column;
  }
  .sidebar-nav {
    width: 100%;
    position: relative;
    min-height: auto;
    border-right: none;
    border-bottom: 2px solid rgba(30, 144, 255, 0.4);
  }
  .main-header {
    height: auto;
    padding: 1rem 0;
  }
  .header-container {
    flex-direction: row;
    padding: 1rem;
    gap: 1rem;
  }
  .main-nav {
    flex-direction: row;
  }
  .nav-list {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  .header-actions {
    flex-direction: row;
    margin-top: 0;
    gap: 0.5rem;
  }
  .emergency-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    width: auto;
  }
  .main-container {
    margin-left: 0;
  }
  .bmw-slider {
    height: 28vh;
    min-height: 100px;
  }
  .slider-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .overlay-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 2px;
  }
  .overlay-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 1px;
  }
}
@media (max-width: 480px) {
  .nav-list {
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }
  .nav-icon {
    font-size: 0.9rem;
  }
  .emergency-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  .bmw-slider {
    height: 18vh;
    min-height: 60px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .indicator {
    width: 4px;
    height: 4px;
  }
  .overlay-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    letter-spacing: 1px;
  }
  .overlay-subtitle {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }
}
