/* Responsive CSS for Virtual Summit Production Agency Template */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
    padding-top: 100px;
}
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  /* Section spacing */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Card spacing */
  .custom-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps */
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* No animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .custom-card:hover {
    transform: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
    padding-top: 100px;
}
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .custom-card {
    padding: 1.75rem;
  }
  
  .team-photo {
    width: 135px;
    height: 135px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
    padding-top: 100px;
}
  
  .section {
    padding: 3.5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.5rem;
    padding-top: 100px;
}
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 3rem;
    padding-top: 100px;
}
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-brand,
  .hero-title,
  .section-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-section,
  .contact-section {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .custom-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #c5c5c5;
  }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

/* Focus and hover states for touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .nav-link:hover {
    color: inherit;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Container queries for modern browsers */
@supports (container-type: inline-size) {
  .card-container {
    container-type: inline-size;
  }
  
  @container (max-width: 300px) {
    .custom-card {
      padding: 1rem;
    }
    
    .service-price {
      font-size: 1.25rem;
    }
  }
}

/* Dark mode support (respects system preference) */

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0100ff;
    --secondary-color: #91057c;
    --accent-color: #096d18;
    --warning-color: #ee8900;
    --danger-color: #e6001c;
  }
  
  .custom-card {
    border: 2px solid currentColor;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Specific breakpoints for common devices */

/* iPhone SE */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
    padding-top: 100px;
}
  
  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

/* iPad */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 720px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop specific optimizations */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.5rem;
    padding-top: 100px;
}
  
  .section {
    padding: 6rem 0;
  }
} 