/* ============================================================
   MUSIC WITH MAESTRO — Responsive Styles v1.0.0
   Breakpoints: 1200px | 1024px | 768px | 480px
   ============================================================ */

/* ── LARGE DESKTOP (1200px) ────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --container: 960px; }
  .courses-grid    { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
  .footer-main     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ── TABLET LANDSCAPE (1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
  :root { --container: 100%; --nav-height: 70px; }

  .mwm-nav-menu { display: none; }
  .mwm-hamburger { display: flex; }
  .mwm-mobile-menu { display: block; }

  .hero-content { padding: 100px 0 60px; }
  .hero-artwork-col { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }

  #mwm-about .grid-2 { grid-template-columns: 1fr; }
  .about-artwork-col { display: none; }

  .testimonial-card { min-width: calc(50% - 14px); }
}

/* ── TABLET PORTRAIT (768px) ───────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section-pad { padding: 60px 0; }
  .mwm-container { padding: 0 16px; }

  .hero-title { font-size: 2.2rem; }
  .hero-ctas  { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-num { font-size: 1.5rem; }

  .courses-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
  .events-grid   { grid-template-columns: 1fr; }
  .mwm-form-grid { grid-template-columns: 1fr; }
  .mwm-form-field.full-width { grid-column: span 1; }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .gallery-item.wide { grid-column: span 1; }

  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .about-features { grid-template-columns: 1fr; }

  .testimonial-card { min-width: 100%; }

  .enquiry-form-wrap { padding: 24px; }

  .mwm-login-modal { max-width: 100%; margin: 10px; }
  .login-modal-header { padding: 28px 24px 22px; }
  .login-modal-body   { padding: 24px; }

  .mwm-whatsapp-float { bottom: 20px; right: 20px; }
  .mwm-whatsapp-btn   { width: 50px; height: 50px; }
  .mwm-whatsapp-btn::before { width: 50px; height: 50px; }

  #mwm-back-top { right: 20px; bottom: 80px; }
}

/* ── MOBILE (480px) ────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-height: 60px; }

  .btn { padding: 12px 24px; font-size: 0.8rem; }
  .btn-lg { padding: 14px 28px; }

  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-stat-divider { display: none; }

  .course-filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; font-size: 0.72rem; }

  .teacher-card-photo { height: 180px; }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }

  .mwm-section-header { margin-bottom: 36px; }
  .mwm-section-header .section-eyebrow { font-size: 0.7rem; }

  .mwm-whatsapp-float { bottom: 16px; right: 16px; }

  .footer-newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .footer-newsletter-form input { border-radius: var(--radius); padding: 12px; }
  .footer-newsletter-form button { border-radius: var(--radius); padding: 12px; }

  #mwm-cookie-notice { flex-direction: column; text-align: center; }
}

/* ── PRINT STYLES ──────────────────────────────────────────── */
@media print {
  #mwm-header,
  #mwm-footer,
  .mwm-whatsapp-float,
  #mwm-back-top,
  #mwm-login-overlay,
  .hero-scroll-indicator,
  .mwm-hamburger { display: none !important; }

  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating-notes { display: none; }
  .hero-mandala, .hero-mandala-inner { animation: none; }
}

/* ── HIGH CONTRAST ─────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  /* Platform intentionally uses dark/rich theme — no overrides needed */
}

/* ── HOVER-CAPABLE DEVICES ONLY ────────────────────────────── */
@media (hover: none) {
  .course-card:hover,
  .teacher-card:hover,
  .event-card:hover { transform: none; }
}
