/* ==========================================
   RINGAROOS RESPONSIVE STYLESHEET (responsive.css)
   All Media Queries & Mobile Navigation Drawer
   ========================================== */

/* MOBILE MENU DRAWER & OVERLAY (Default Hidden) */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1050;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-panel.active {
  transform: translateX(0);
}

.mobile-logo {
  height: 38px;
  width: auto;
}

.mobile-nav-link {
  color: #2b2b2b;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  display: block;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-red);
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */

/* 1. Large Devices / Small Desktops (<= 1199px) */
@media (max-width: 1199px) {
  .hero-title span {
    font-size: 2.2rem !important;
  }

  .step-number {
    left: 30px;
  }
}

/* 2. Medium Devices / Tablets (<= 991px) - CRITICAL BREAKPOINT */
@media (max-width: 991px) {

  /* Show hamburger button & enable mobile menu */
  .desktop-nav {
    display: none !important;
  }

  .mobile-nav-link {
    font-size: 16px;
  }

  .mobile-menu-body.p-4 {
    overflow-y: auto;
  }

  .hamburger-btn {
    display: block !important;
  }

  /* Hero adjustments */
  .hero-section {
    min-height: 520px;
    background-position: center center;
  }

  .hero-title span {
    font-size: 1.95rem !important;
  }

  .hero-bg-overlay {
    background: rgba(12, 12, 14, 0.60);
  }

  /* Section Titles */
  .section-title {
    font-size: 1.85rem;
  }

  /* How It Works cards grid */
  .how-it-works-section .col-md-6 {
    margin-bottom: 1rem;
  }

  /* Key Features */
  .key-features-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Packages */
  .package-card {
    margin-bottom: 1.5rem;
  }
}

/* 3. Small Devices / Mobile Landscape (<= 767px) */
@media (max-width: 767px) {

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-title span {
    font-size: 1.65rem !important;
  }

  .about-img-container {
    max-width: 450px;
    margin: 0 auto;
  }

  .pkg-shape {
    display: none;
  }

  .testimonial-carousel .testimonial-card {
    margin-bottom: 0;
  }

  .footer-bottom .container {
    text-align: center;
  }
}

/* 4. Extra Small Devices / Mobile Portrait (<= 575px) */
@media (max-width: 575.98px) {
  html {
    font-size: 15px;
  }

  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-title span {
    font-size: 1.45rem;
  }

  .hero-eyebrow {
    font-size: 0.8rem !important;
  }

  .btn-store-badge img {
    height: 42px;
  }

  .step-card {
    padding: 1.75rem 1.25rem !important;
  }

  .step-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .step-icon {
    max-width: 30px;
    max-height: 30px;
  }

  .custom-faq-accordion .accordion-button {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .contact-form .custom-input {
    font-size: 0.9rem;
  }

  .modal .modal-content {
    padding: 1.5rem 1.25rem !important;
  }
}