/* Creative Coding Workshop Series - Responsive Styles */

/* Mobile-first responsive design following Bootstrap 5 breakpoints */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile per requirements */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
    transform-style: flat !important;
  }
  
  /* Disable hover effects on mobile */
  .card:hover,
  .gallery-item:hover img,
  .btn-primary:hover,
  .social-link:hover {
    transform: none !important;
    box-shadow: var(--box-shadow) !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  
  /* Hero section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Section padding */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .card-body {
    padding: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process numbers */
  .process-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
  
  /* Feature icons */
  .feature-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
  
  /* Contact info icons */
  .contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 200px;
  }
  
  /* FAQ items */
  .faq-item {
    padding: 1.5rem;
  }
  
  /* Core info items */
  .coreinfo-item {
    padding: 1.5rem 1rem;
  }
  
  .coreinfo-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* No animations on mobile per requirements */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
    transform-style: flat !important;
  }
  
  /* Disable hover effects on mobile */
  .card:hover,
  .gallery-item:hover img,
  .btn-primary:hover,
  .social-link:hover {
    transform: none !important;
    box-shadow: var(--box-shadow) !important;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  /* Section padding */
  .section {
    padding: 4rem 0;
  }
  
  /* Gallery grid improvements */
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero improvements */
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  /* Card improvements */
  .card:hover {
    transform: translateY(-3px);
  }
  
  /* Gallery improvements */
  .gallery-item img {
    height: 240px;
  }
  
  /* Team grid optimization */
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full hover effects enabled */
  .card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover img {
    transform: scale(1.03);
  }
  
  /* Optimal spacing */
  .section {
    padding: 5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Maximum design potential */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Enhanced hover effects */
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  /* Optimal gallery size */
  .gallery-item img {
    height: 280px;
  }
  
  /* Enhanced button hover */
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  /* Container width optimization */
  .container {
    max-width: 1320px;
  }
  
  /* Enhanced spacing for large screens */
  .section {
    padding: 6rem 0;
  }
  
  /* Larger gallery images */
  .gallery-item img {
    height: 320px;
  }
  
  /* Enhanced hero */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Crisp borders and shadows */
  .card {
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.12), 0 8px 8px -4px rgba(0, 0, 0, 0.06);
  }
  
  /* Sharper text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar,
  .btn,
  .contact-form,
  footer {
    display: none !important;
  }
  
  /* Reset colors for print */
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  
  /* Page breaks */
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  /* Font adjustments */
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover transforms */
  .card:hover {
    transform: none !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Focus accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0043c1;
    --text-primary: #000000;
    --text-secondary: #393535;
    --border-color: #717171;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
  }
  
  .card {
    border: 1px solid var(--border-color);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-color);
  }
}

/* Dark mode support (optional) */

.hero-content {
    padding-top: 200px;
}