/* 
 * Aayura Wellness - Responsive Rules & Mobile Header Optimization
 */

@media (max-width: 1200px) {
  .container { max-width: 960px; }
}

@media (max-width: 992px) {
  .container { max-width: 720px; }
  .hero-grid { grid-template-columns: 1fr !important; text-align: center; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr !important; }
  
  /* Hide header enquiry button on tablet and mobile view */
  .desktop-only,
  .header-enquire-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container { max-width: 540px; }
  .header-container {
    height: 76px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Large, clear, highly visible logo mark on mobile */
  .brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .brand-logo-img {
    height: 58px !important;
    width: auto !important;
    max-width: 180px;
    object-fit: contain;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  
  /* Neatly formatted language toggle for mobile header */
  .lang-switcher {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 2px;
    margin-right: 0.25rem;
  }
  
  .lang-btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    color: var(--color-primary-dark);
  }
  
  .section { padding-top: 3rem; padding-bottom: 3rem; }
  .modal-container { max-height: 95vh; margin: 0.5rem; }
  .modal-body { padding: 1.5rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  /* Unique floating button positioning on mobile */
  .floating-action-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .floating-trigger-btn {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }
  
  /* Ensure form / section CTA buttons expand cleanly without breaking header buttons */
  .hero-actions .btn,
  .modal-actions .btn,
  .form-group .btn {
    width: 100%;
  }

  .brand-logo-img {
    height: 54px !important;
  }
}
