/* ==========================================================================
   alterationIP LAW FIRM - Responsive Design Stylesheet
   Breakpoints supported: 1920px, 1440px, 1200px, 992px, 768px, 425px, 375px, 320px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Breakpoint: Large Screens (1440px & 1920px)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1440px) {
  :root {
    --container-max-width: 1360px;
  }

  .hero-heading {
    font-size: 3.8rem;
  }

  .hero-description {
    font-size: 1.1rem;
    max-width: 620px;
  }
}

@media screen and (min-width: 1920px) {
  :root {
    --container-max-width: 1600px;
  }

  .hero-heading {
    font-size: 4.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
    max-width: 700px;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* --------------------------------------------------------------------------
   2. Breakpoint: Standard Desktop (1200px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  :root {
    --container-max-width: 960px;
  }

  .logo {
    gap: 8px;
  }

  .logo-title {
    font-size: 1.2rem;
  }

  .logo-subtitle {
    letter-spacing: 2px;
  }

  .nav-list {
    gap: 16px;
  }

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

  .schedule-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-container {
    gap: 30px;
  }

  .about-grid {
    gap: 50px;
  }

  .practice-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1.2fr;
    gap: 30px;
  }
}

/* --------------------------------------------------------------------------
   3. Breakpoint: Laptops / Tablets Landscape (992px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
  :root {
    --container-max-width: 720px;
    --header-height: 75px;
  }

  /* Navigation Menu Drawer activation */
  .nav {
    display: none;
    /* Hide desktop link list */
  }

  .schedule-btn {
    display: none;
    /* Hide header schedule button */
  }

  .hamburger-btn {
    display: flex;
    /* Show Hamburger menu trigger */
  }

  .hero-heading {
    font-size: 2.6rem;
    letter-spacing: -1px;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .hero-description {
    margin: 0 auto;
  }

  .hero-illustration {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .location-badge {
    right: 20px;
    bottom: 10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .practice-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .industries-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 10px;
    padding: 40px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .brand-col {
    grid-column: span 2;
  }

  .newsletter-col {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   4. Breakpoint: Tablets Portrait / Hamburger activation (768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  :root {
    --container-max-width: 540px;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .industries-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 10px;
  }

  .contact-form-wrapper {
    padding: 35px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand-col,
  .newsletter-col {
    grid-column: span 1;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   5. Breakpoint: Mobile Large (425px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 425px) {
  :root {
    --container-max-width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .hero-heading {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

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

  .industries-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 10px;
  }

  .contact-form-wrapper {
    padding: 24px 16px;
  }

  .mobile-drawer {
    width: 280px;
    padding: 100px 30px 30px;
  }
}

/* --------------------------------------------------------------------------
   6. Breakpoint: Mobile Medium (375px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 375px) {
  .logo-title {
    font-size: 1.15rem;
  }

  .logo-subtitle {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

/* --------------------------------------------------------------------------
   7. Breakpoint: Mobile Small (320px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 320px) {
  .hero-heading {
    font-size: 1.9rem;
  }

  .logo-text {
    display: none;
    /* Only show icon on extremely small screens */
  }

  .industries-bar {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 0;
  }

  .location-badge {
    right: 10px;
    bottom: 5px;
    padding: 6px 12px;
  }

  .location-text {
    font-size: 0.75rem;
  }
}