/* ============================================================
   HABIBS SALON — responsive.css
   Mobile-First Responsive Breakpoints
   ============================================================ */

/* ── Tablet: ≤ 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {

  :root {
    --section-pad: 72px;
  }

  /* Navbar */
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-stats {
    gap: 12px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  /* Services — tabs scroll on tablet */
  .sp-tabs-wrap {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .sp-tabs-wrap::-webkit-scrollbar { display: none; }

  /* Bridal grid */
  .sp-bridal-grid {
    gap: 20px;
  }

  /* Pre-bridal */
  .sp-pre-bridal-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Offers */
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why us */
  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  /* Gallery */
  .gallery-grid {
    columns: 3;
  }

  /* Videos */
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Location */
  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Instagram */
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* Reviews */
  .reviews-summary {
    gap: 28px;
    padding: 24px 32px;
  }

  /* Booking form */
  .booking-form {
    padding: 36px;
  }
}

/* ── Small Tablet: ≤ 768px ─────────────────────────────── */
@media (max-width: 768px) {

  :root {
    --section-pad: 60px;
  }

  /* Section headers */
  .section-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  /* Bridal cards stack on small tablet */
  .sp-bridal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sp-bridal-card.popular {
    transform: none;
  }

  .sp-bridal-card.popular:hover {
    transform: translateY(-6px);
  }

  /* Pre-bridal — 2 cols */
  .sp-pre-bridal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-pre-bridal-card {
    padding: 28px;
  }

  /* Accordion header */
  .sp-category-header {
    padding: 16px 20px;
    gap: 12px;
  }

  .sp-category-content {
    padding: 0 20px 20px;
  }

  /* CTA */
  .sp-cta-inner {
    padding: 36px 24px;
  }

  /* Bridal */
  .bridal-intro {
    grid-template-columns: 1fr;
  }

  .bridal-trust {
    gap: 24px;
    padding: 24px;
  }

  .bridal-trust-divider { display: none; }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Offers */
  .offers-grid {
    grid-template-columns: 1fr;
  }

  /* Why us */
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery-grid {
    columns: 2;
  }

  /* Gallery filters */
  .gallery-filters {
    gap: 8px;
  }

  .gallery-filter-btn {
    padding: 7px 16px;
    font-size: 12px;
  }

  /* Videos */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Reviews summary */
  .reviews-summary {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    text-align: center;
  }

  .reviews-divider {
    width: 60px;
    height: 1px;
  }

  /* About highlights */
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Booking form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-form {
    padding: 28px 20px;
  }

  /* Instagram */
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer bottom */
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Location */
  .location-actions {
    flex-direction: column;
  }

  .location-btn {
    flex: none;
    width: 100%;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-stat-divider { display: none; }

  .hero-stat {
    width: auto;
    justify-content: center;
  }
}

/* ── Mobile: ≤ 480px ───────────────────────────────────── */
@media (max-width: 480px) {

  :root {
    --section-pad: 52px;
  }

  .container { padding: 0 16px; }

  /* Services accordion — compact on mobile */
  .sp-category-header {
    padding: 14px 16px;
    gap: 10px;
  }

  .sp-category-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .sp-category-name {
    font-size: 1.15rem;
  }

  .sp-category-desc {
    display: none;
  }

  .sp-category-content {
    padding: 0 16px 18px;
  }

  .sp-item {
    padding: 12px 10px;
  }

  .sp-item-name {
    font-size: 14px;
  }

  .sp-item-dots {
    display: none;
  }

  /* Pre-bridal — 1 col on phone */
  .sp-pre-bridal-grid {
    grid-template-columns: 1fr;
  }

  .sp-pre-bridal-card {
    padding: 22px 18px;
  }

  .sp-pre-bridal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* CTA */
  .sp-cta-inner {
    padding: 32px 18px;
  }

  .sp-cta-title {
    font-size: 1.5rem;
  }

  .sp-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .sp-cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Bridal cards mobile */
  .sp-bridal-card {
    padding: 28px 20px 24px;
  }

  .sp-bridal-card-price {
    font-size: 2rem;
  }

  /* Team — 1 col */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .team-card-img-wrap {
    width: 80px;
    height: 80px;
  }

  /* Gallery — 1 col */
  .gallery-grid {
    columns: 1;
  }

  /* Videos — 1 col */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Why us — 2 col */
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .why-us-card {
    padding: 20px 14px;
  }

  /* Offers — 1 col */
  .offers-grid {
    grid-template-columns: 1fr;
  }

  /* Instagram — 2 col */
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Review card */
  .review-card {
    flex: 0 0 280px;
  }

  /* Hero buttons full width */
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  /* Navbar */
  .nav-logo-text { display: none; }

  /* Booking form */
  .booking-form {
    padding: 22px 16px;
  }

  /* Bridal trust */
  .bridal-trust {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Location map */
  .location-map iframe {
    height: 280px;
  }

  /* Fab buttons */
  .fab {
    width: 50px;
    height: 50px;
  }
}

/* ── Print Styles ───────────────────────────────────────── */
@media print {
  .navbar, .fab-group, .scroll-top, .cookie-bar,
  .page-loader, .hero-video-wrap, .hero-particles { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reviews-track {
    animation: none;
    flex-wrap: wrap;
  }
}

/* ── Beauty Model Section — Responsive ──────────────────── */
@media (max-width: 1024px) {
  .beauty-inner {
    grid-template-columns: 1fr;
  }

  .beauty-content {
    padding: 60px 40px 40px;
    text-align: center;
  }

  .beauty-eyebrow { justify-content: center; }
  .beauty-desc    { margin: 0 auto 28px; }
  .beauty-chips   { justify-content: center; }
  .beauty-cta     { justify-content: center; }

  .beauty-model-wrap {
    height: 60vw;
    min-height: 320px;
    max-height: 500px;
  }

  /* Adjust hotspot positions for mobile layout */
  [data-hotspot="hair"]     { top: 10%; left: 50%; }
  [data-hotspot="skin"]     { top: 50%; left: 62%; }
  [data-hotspot="eyebrows"] { top: 37%; left: 35%; }
  [data-hotspot="lips"]     { top: 56%; left: 49%; }

  /* Service modal full-width on tablet */
  .service-modal {
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .beauty-content {
    padding: 48px 24px 32px;
  }

  .beauty-heading {
    font-size: 2.4rem;
  }

  .beauty-model-wrap {
    height: 70vw;
    min-height: 280px;
  }

  /* Side panel becomes bottom sheet on mobile */
  .beauty-panel {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(233, 30, 99, 0.2) !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 82vh !important;
    transform: translateY(100%) !important;
  }

  .beauty-panel.open {
    transform: translateY(0) !important;
  }

  /* Service modal on mobile */
  .service-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .service-modal {
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    max-width: 100%;
  }

  .service-modal-image {
    height: 220px;
    border-radius: 20px 20px 0 0;
  }

  .service-modal-highlights {
    grid-template-columns: 1fr;
  }

  .service-modal-body {
    padding: 20px 20px 32px;
  }

  .service-modal-actions {
    flex-direction: column;
  }

  .service-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Beauty chips scroll on mobile */
  .beauty-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .beauty-chips::-webkit-scrollbar { display: none; }

  .beauty-chip {
    flex-shrink: 0;
  }

  /* Footer on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .beauty-content {
    padding: 40px 16px 28px;
  }

  .beauty-heading {
    font-size: 2rem;
  }

  .beauty-model-wrap {
    height: 80vw;
    min-height: 250px;
  }

  /* Hotspot sizes reduce on small screens */
  .hotspot {
    width: 36px;
    height: 36px;
  }

  .hotspot-dot {
    width: 10px;
    height: 10px;
  }

  .hotspot-ring,
  .hotspot-ring2 {
    width: 36px;
    height: 36px;
  }

  /* Panel book btn on mobile */
  .panel-book-all-btn {
    width: calc(100% - 32px);
    margin: 12px 16px 0;
  }

  .beauty-panel-body {
    padding: 14px 14px 80px;
  }

  /* Service modal body */
  .service-modal-body {
    padding: 16px 16px 28px;
  }

  .service-modal-name {
    font-size: 1.5rem;
  }
}

