/* ==========================================
   Responsive Styles - Mobile First
   ========================================== */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }
  
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1.1rem; }
  
  /* Header adjustments */
  .header-top .container {
    flex-direction: column;
    text-align: center;
  }
  
  .header-tagline {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    flex-direction: column;
  }
  
  /* Navigation - Mobile */
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav a {
    border-radius: 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  /* Hero adjustments */
  .hero {
    padding: var(--spacing-lg) 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    justify-content: center;
  }
  
  /* Grid adjustments */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Spacing adjustments */
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 80px 0;
  }
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .hero-buttons,
  .filter-tabs {
    display: none;
  }
  
  .hero {
    background: none;
    color: var(--text-dark);
  }
  
  .hero h1 {
    color: var(--text-dark);
  }
  
  a {
    text-decoration: underline;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
