/**
 * SHREE KUMAWAT JODPUR STONE
 * Responsive Layout & Media Queries
 * Breakpoints: 360px, 390px, 430px, 768px, 1024px, 1366px, 1920px
 */

/* -----------------------------------------------------------------------------
 * Max-width: 1024px (Laptops & Tablets Landscape)
 * -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

  .nav-menu {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* -----------------------------------------------------------------------------
 * Max-width: 900px (Tablets Portrait & Mobile)
 * -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 1010;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-charcoal-deep);
    padding: 6rem 2rem 3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    transition: right var(--transition-normal);
    z-index: 1005;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--color-white) !important;
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-menu .header-login-btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  .hero-section {
    padding: 7rem 0 4rem;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .tribute-box {
    padding: 2.5rem 2rem;
  }
}

/* -----------------------------------------------------------------------------
 * Max-width: 768px (Standard Tablets & Large Phones)
 * -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

/* -----------------------------------------------------------------------------
 * Max-width: 480px (Smartphones: 360px, 390px, 430px)
 * -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .logo-text-title {
    font-size: 0.95rem;
  }

  .logo-text-sub {
    font-size: 0.6rem;
  }

  .hero-section {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .tribute-box {
    padding: 2rem 1.25rem;
  }

  .tribute-name {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .otp-container {
    gap: 0.4rem;
  }

  .otp-box {
    width: 42px;
    height: 50px;
    font-size: 1.3rem;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* -----------------------------------------------------------------------------
 * Max-width: 360px (Small Compact Mobile)
 * -------------------------------------------------------------------------- */
@media (max-width: 360px) {
  .logo-text-title {
    font-size: 0.85rem;
  }

  .otp-box {
    width: 38px;
    height: 46px;
    font-size: 1.15rem;
  }
}
