/* ============================================
   Studio Revival - Responsive Styles
   Mobile-First Approach
   ============================================ */

/* ============================================
   Base: Mobile (0 - 639px)
   ============================================ */

/* Mobile-specific adjustments */
.container {
  padding: 0 1rem;
}

.section {
  padding: 3rem 0;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

/* Hero Mobile */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 6rem 1rem 3rem;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1rem;
}

.hero-buttons {
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Navigation Mobile */
.nav-desktop {
  display: none;
}

.nav-toggle {
  display: flex;
}

/* Grid Mobile */
.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

/* Team Cards Mobile */
.team-card .card-image {
  width: 140px;
  height: 140px;
}

/* Feature Split Mobile */
.feature-split {
  grid-template-columns: 1fr;
}

/* Footer Mobile */
.footer-grid {
  grid-template-columns: 1fr;
  text-align: center;
}

.footer-social {
  justify-content: center;
}

.footer-bottom {
  flex-direction: column;
  text-align: center;
}

/* Location Section Mobile */
.location-section {
  grid-template-columns: 1fr;
}

/* Contact Grid Mobile */
.contact-grid {
  grid-template-columns: 1fr;
}

/* Page Hero Mobile */
.page-hero {
  padding: calc(70px + 2rem) 1rem 2rem;
}

/* Pricing Mobile */
.pricing-category {
  padding: 1.5rem;
}

/* ============================================
   Small Tablet: 480px+
   ============================================ */
@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
    width: auto;
    max-width: none;
  }

  .hero-buttons .btn {
    width: auto;
  }

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

/* ============================================
   Tablet: 640px+
   ============================================ */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.25rem;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .team-card .card-image {
    width: 160px;
    height: 160px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .footer-social {
    justify-content: flex-start;
  }

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

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

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

/* ============================================
   Laptop: 768px+
   ============================================ */
@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

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

  .feature-split.reverse .feature-image {
    order: 2;
  }

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

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

  .team-card .card-image {
    width: 180px;
    height: 180px;
  }

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

/* ============================================
   Desktop: 1024px+
   ============================================ */
@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero {
    padding: 0;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  /* Desktop Navigation */
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none;
  }

  .header-inner {
    padding: 1rem 2rem;
  }

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

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

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

  .page-hero {
    padding: calc(80px + 4rem) 2rem 3rem;
  }
}

/* ============================================
   Large Desktop: 1280px+
   ============================================ */
@media (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.75rem;
  }

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

  .section-lg {
    padding: 8rem 0;
  }
}

/* ============================================
   Extra Large: 1536px+
   ============================================ */
@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }
}

/* ============================================
   Touch Device Optimizations
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .btn {
    min-height: 48px;
  }

  .nav-link {
    padding: 0.75rem;
  }

  /* Remove hover effects that don't work well on touch */
  .card:hover {
    transform: none;
  }

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

  .hover-lift:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .header,
  .nav-toggle,
  .hero-buttons,
  .footer-social,
  .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
    background: white;
    color: black;
  }

  .hero h1,
  .page-hero h1 {
    color: black;
  }

  .section {
    padding: 1rem 0;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

/* ============================================
   High Contrast Mode Support
   ============================================ */
@media (prefers-contrast: high) {
  :root {
    --color-gray-300: #666;
    --color-gray-400: #555;
    --color-gray-500: #333;
  }

  .btn-primary {
    border: 2px solid var(--color-white);
  }

  .btn-secondary {
    border-width: 3px;
  }
}

/* ============================================
   Dark Mode Support (Optional Future Feature)
   ============================================ */
@media (prefers-color-scheme: dark) {
  /*
   * Dark mode styles can be added here if needed
   * Currently keeping light mode only as per brand guidelines
   */
}
