/* ==========================================
   3D-Printed Jewelry Studio - Responsive Styles
   Mobile-First Responsive Design
   ========================================== */

/* Mobile First (Base Styles) */
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-blob {
    display: none; /* Hide decorative elements on small screens */
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.55rem;
  }
  
  .navbar-brand {
    font-size: 1.12rem;
  }
  
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  .team-photo {
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-blob:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  
  .hero-blob:nth-child(2) {
    width: 120px;
    height: 120px;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-img {
    height: 220px;
  }
  
  .team-photo {
    height: 190px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-blob:nth-child(1) {
    width: 180px;
    height: 180px;
  }
  
  .hero-blob:nth-child(2) {
    width: 140px;
    height: 140px;
  }
  
  .gallery-img {
    height: 240px;
  }
  
  .team-photo {
    height: 199px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .gallery-img {
    height: 250px;
  }
  
  .team-photo {
    height: 200px;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin: 0.25rem 0;
  }
  
  .navbar-nav .nav-link:hover {
    background: var(--primary-light);
  }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
  .hero-content {
    text-align: center;
    padding-top: 100px;
}
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-md-6:first-child {
    margin-top: 2rem;
  }
}

/* Services Grid Responsive */
@media (max-width: 767.98px) {
  .service-card {
    max-width: 350px;
    margin: 0 auto 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Team Grid Responsive */
@media (max-width: 767.98px) {
  .team-card {
    max-width: 300px;
    margin: 0 auto 2rem;
  }
}

/* Price Plans Responsive */
@media (max-width: 767.98px) {
  .price-card {
    max-width: 350px;
    margin: 0 auto 2rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1.70rem;
  }
}

/* Contact Form Responsive */
@media (max-width: 767.98px) {
  .contact-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer .row .col-md-3,
  .footer .row .col-md-4 {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* FAQ Responsive */
@media (max-width: 575.98px) {
  .faq-card {
    padding: 1rem;
  }
}

/* Process Steps Responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 1.68rem;
  }
}

/* Timeline Responsive */
@media (max-width: 575.98px) {
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/* Blog Cards Responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-img {
    height: 180px;
  }
}

/* Career Cards Responsive */
@media (max-width: 767.98px) {
  .career-card {
    margin-bottom: 2rem;
  }
}

/* Core Info Responsive */
@media (max-width: 767.98px) {
  .coreinfo-item {
    margin-bottom: 2rem;
  }
}

/* Case Study Responsive */
@media (max-width: 767.98px) {
  .casestudy-card {
    margin-bottom: 2rem;
  }
}

/* Features Responsive */
@media (max-width: 767.98px) {
  .feature-item {
    margin-bottom: 2rem;
  }
}

/* Reviews Responsive */
@media (max-width: 767.98px) {
  .review-card {
    margin-bottom: 2rem;
  }
}

/* Utility Classes for Responsive */
@media (max-width: 575.98px) {
  .text-center-mobile {
    text-align: center;
  }
  
  .d-block-mobile {
    display: block;
  }
  
  .w-100-mobile {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .text-center-tablet {
    text-align: center;
  }
  
  .d-block-tablet {
    display: block;
  }
  
  .w-100-tablet {
    width: 100%;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section,
  .service-card,
  .team-card,
  .price-card {
    border-radius: 12px;
  }
  
  .gallery-item,
  .blog-card {
    border-radius: 8px;
  }
}

/* ==========================================
   DISABLE ALL SCROLL ANIMATIONS ON MOBILE
   ========================================== */

/* Media query approach: Disable animations on mobile screen sizes */
@media (max-width: 767.98px) {
  /* Disable all CSS animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  
  /* Disable specific animations */
  .hero-blob {
    animation: none !important;
    display: none !important; /* Already hidden but enforce */
  }
  
  /* Disable hover animations on mobile */
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .casestudy-card:hover {
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
  }
  
  /* Disable button hover animations */
  .btn-primary:hover {
    transform: none !important;
  }
  
  /* Disable social link hover animations */
  .social-link:hover {
    transform: none !important;
  }
  
  /* Remove transform animations from all elements */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Class-based approach: Target elements when mobile-no-animations class is present */
body.mobile-no-animations *,
body.mobile-no-animations *::before,
body.mobile-no-animations *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0s !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0s !important;
}

/* Specifically disable Sal.js animations */
body.mobile-no-animations [data-sal] {
  transform: none !important;
  opacity: 1 !important;
}

/* Disable floating blob animation */
body.mobile-no-animations .hero-blob {
  animation: none !important;
  display: none !important;
}

/* Disable hover effects on mobile */
body.mobile-no-animations .service-card:hover,
body.mobile-no-animations .team-card:hover,
body.mobile-no-animations .price-card:hover,
body.mobile-no-animations .gallery-item:hover,
body.mobile-no-animations .blog-card:hover,
body.mobile-no-animations .casestudy-card:hover,
body.mobile-no-animations .btn-primary:hover,
body.mobile-no-animations .social-link:hover {
  transform: none !important;
}

/* Ensure scroll behavior remains smooth for navigation */
@media (max-width: 767.98px) {
  html {
    scroll-behavior: smooth !important;
  }
} 