/* Responsive Design - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Disable decorative blobs on mobile */
  .decorative-blob {
    display: none;
  }
  
  /* Section padding reduction */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards spacing */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Process steps mobile */
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Form adjustments */
  .btn-primary {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  /* Remove hover effects on mobile */
  .card:hover {
    transform: none;
    box-shadow: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn-primary {
    width: auto;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .decorative-blob {
    opacity: 0.05;
  }
  
  .blob-1 {
    width: 150px;
    height: 150px;
  }
  
  .blob-2 {
    width: 120px;
    height: 120px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container-fluid {
    max-width: 1400px;
  }
}

/* Mobile specific - NO animations when scrolling */
@media (max-width: 991.98px) {
  /* Disable all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Remove float animation */
  .decorative-blob {
    animation: none !important;
  }
  
  /* Static elements on mobile */
  .card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(3, 247, 255, 0.10) !important;
  }
  
  /* Ensure text remains readable */
  .hero-title {
    text-shadow: none;
    padding-top: 125px;
}
  
  /* Simplify gradients on mobile */
  .btn-primary {
    background: var(--primary-electric) !important;
  }
  
  .step-number {
    background: var(--primary-purple) !important;
  }
}

/* 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) {
  .team-photo {
    border-width: 2px;
  }
  
  .gallery-item {
    border-radius: 8px;
  }
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .decorative-blob,
  .btn {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .card {
    border: 1px solid #d2bfbe !important;
    page-break-inside: avoid;
  }
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .decorative-blob {
    animation: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--primary-electric);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-neon);
  }
  
  .form-control {
    border: 2px solid var(--primary-electric);
  }
}

/* Focus improvements for keyboard navigation */
@media (any-hover: none) {
  .card:focus-within {
    outline: 2px solid var(--primary-electric);
    outline-offset: 2px;
  }
  
  .btn:focus {
    outline: 2px solid var(--primary-neon);
    outline-offset: 2px;
  }
}

/* Container max-width adjustments */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Navigation mobile adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-dark);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.20);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
} 