/* Responsive Framework */

/* Grid column layouts - Desktop first approach for grid definitions but overridden below for mobile first feel conceptually */

/* Using Grid utility classes */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }


/* Tablet Media Query (Max Width: 992px) */
@media screen and (max-width: 992px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Feature adjustments tablet */
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Mobile Landscape Media Query (Max Width: 768px) */
@media screen and (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
    --spacing-md: 1.5rem;
  }
  
  .grid-cols-4, .grid-cols-3, .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  /* Padding adjustments */
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  /* Text adjustments */
  .text-center-mobile {
    text-align: center;
  }
  
  .flex-column-mobile {
    flex-direction: column;
  }
}

/* Mobile Portrait Media Query (Max Width: 576px) */
@media screen and (max-width: 576px) {
  body {
    font-size: 15px; /* Slightly smaller base text on small mobiles */
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}
