/* Responsive Styles - Mobile First */

/* Tablet (768px+) */
@media (min-width: 768px) {
  :root {
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
  }

  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .section {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }

  .section-lg {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
  }

  /* Navigation */
  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  /* Hero */
  .hero-title {
    font-size: var(--text-5xl);
  }

  .hero-subtitle {
    font-size: var(--text-xl);
  }

  /* Grid */
  .grid-2-tablet {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }

  /* Featured Work */
  .featured-item {
    flex: 0 0 320px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section Title */
  .section-title {
    font-size: var(--text-4xl);
  }

  /* Testimonial */
  .testimonial-quote {
    font-size: var(--text-3xl);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root {
    --text-5xl: 4rem;
    --text-6xl: 5rem;
  }

  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }

  /* Hero */
  .hero-title {
    font-size: var(--text-6xl);
  }

  /* Grid */
  .grid-3-desktop {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* About */
  .about-grid {
    gap: var(--space-16);
  }

  .about-content {
    padding: var(--space-8);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Featured Work */
  .featured-item {
    flex: 0 0 360px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CTA */
  .cta-title {
    font-size: var(--text-4xl);
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  :root {
    --text-6xl: 5.5rem;
    --text-7xl: 6rem;
  }

  .hero-title {
    font-size: var(--text-7xl);
  }

  /* Featured Work */
  .featured-item {
    flex: 0 0 400px;
  }

  /* Gallery */
  .gallery-grid {
    gap: var(--space-6);
  }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .card:hover {
    transform: none;
  }

  .card:hover .card-image img {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .featured-overlay {
    display: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-accent: #4A5E3D;
    --color-text-muted: #555555;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .mobile-menu,
  .scroll-indicator,
  .btn {
    display: none !important;
  }

  .hero {
    height: auto;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-video {
    display: none;
  }

  .section {
    padding: 1rem 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
}
