/* 
  Project: Saroj Jawa - Professional Numerologist
  Description: Responsive Styles
*/

/* Tablet & Smaller Devices */
@media (max-width: 992px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }

  .hero {
    padding-top: 130px;
  }

  .hero-image-wrap {
    width: 35%;
    height: 50%;
    max-width: 320px;
    right: 4%;
    top: 45%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }

  /* Header & Mobile Menu */
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-cream);
    flex-direction: column;
    align-items: center;
    padding-top: var(--spacing-lg);
    transition: var(--transition);
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .btn {
    margin-top: var(--spacing-md);
  }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 130px;
    height: auto;
  }

  .hero-content {
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
  }

  .hero-image-wrap {
    position: relative;
    width: 80%;
    max-width: 280px;
    height: 280px;
    margin: 15px auto 0;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-video-element {
    object-position: center center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-image-wrap {
    height: 300px;
  }
  
  .btn {
    width: 100%;
  }

  .floating-actions {
    bottom: 15px;
    right: 15px;
  }

  .float-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}
