/* Responsive Styles - Mobile First Design */

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Hide decorative blobs on mobile */
  .decorative-blob {
    display: none;
  }
  
  /* Cards spacing */
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  /* Form adjustments */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Section padding */
  .section {
    padding: 3rem 0;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .btn-primary:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* No animations on mobile as per requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .btn-primary:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Restore some hover effects for tablets */
  .service-card:hover {
    transform: translateY(-3px);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  /* Full hover effects restored */
  .decorative-blob {
    display: block;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  /* Enhanced decorative elements for large screens */
  .blob-1 {
    width: 400px;
    height: 400px;
  }
  
  .blob-2 {
    width: 300px;
    height: 300px;
  }
}

/* High Resolution Displays */
@media (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  .team-image,
  .gallery-item {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  /* Override 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 transform effects */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .price-card:hover,
  .btn-primary:hover {
    transform: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --neon-electric-blue: #07ebff;
    --neon-pink: #f1137f;
    --neon-green: #01ffa3;
    --light-text: #ffffff;
    --dark-bg: #000000;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--light-text);
  }
}

/* Focus Styles for Accessibility */
button:focus,
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--neon-electric-blue);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .decorative-blob,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  h1, h2, h3 {
    color: black !important;
  }
}

/* Container max-widths override for better mobile experience */
@media (max-width: 575.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Improve readability on small screens */
@media (max-width: 767.98px) {
  .section-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
}

/* Touch-friendly buttons on mobile */
@media (max-width: 991.98px) {
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .navbar-toggler {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .form-control {
    min-height: 44px;
    padding: 12px 16px;
  }
}

/* Optimize spacing for different screen sizes */
@media (min-width: 992px) {
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .col-lg-1,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

.hero-section h1 {
    padding-top: 175px;
}