/* ============================================
   GOLDEN PACIFIC SYSTEMS - RESPONSIVE STYLES
   Mobile-First Responsive Design
   ============================================ */

/* ============================================
   TABLET (768px - 1023px)
   ============================================ */
@media (max-width: 1023px) {
  /* Typography adjustments */
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  h3 {
    font-size: var(--text-2xl);
  }
  
  /* Hero section */
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .hero-text h1 {
    font-size: var(--text-5xl);
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Grid layouts */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
  /* Container padding */
  .container {
    padding: 0 var(--space-2);
  }
  
  /* Section padding */
  .section {
    padding: var(--space-6) 0;
  }
  
  /* Typography */
  h1 {
    font-size: var(--text-3xl);
  }
  
  h2 {
    font-size: var(--text-2xl);
  }
  
  h3 {
    font-size: var(--text-xl);
  }
  
  p {
    font-size: var(--text-base);
  }
  
  /* Navigation */
  .navbar {
    padding: var(--space-2) 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    flex-direction: column;
    padding: var(--space-3);
    box-shadow: var(--shadow-lg);
    gap: var(--space-2);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .logo {
    font-size: var(--text-lg);
  }
  
  /* Hero section */
  .hero {
    min-height: auto;
    padding: var(--space-8) 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .hero-text h1 {
    font-size: var(--text-4xl);
    line-height: 1.2;
  }
  
  .hero-text p {
    font-size: var(--text-lg);
  }
  
  .hero-trust {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-base);
  }
  
  .btn-large {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-lg);
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .service-card {
    padding: var(--space-3);
  }
  
  .service-icon {
    width: 64px;
    height: 64px;
    font-size: var(--text-4xl);
  }
  
  /* Grid layouts */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Cards */
  .card {
    padding: var(--space-3);
  }
  
  /* Footer */
  .footer {
    padding: var(--space-6) 0 var(--space-3);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .footer-section {
    text-align: center;
  }
  
  /* Touch targets - minimum 44x44px */
  a,
  button,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: var(--text-3xl);
  }
  
  .hero-text p {
    font-size: var(--text-base);
  }
  
  .service-card h3 {
    font-size: var(--text-xl);
  }
}

/* ============================================
   LARGE DESKTOP (min-width: 1440px)
   ============================================ */
@media (min-width: 1440px) {
  .hero-text h1 {
    font-size: 72px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .footer,
  .btn,
  form {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
}