/* ==========================================
   3D-Printed Jewelry Studio - Responsive Styles
   Mobile-First Responsive Design
   ========================================== */

/* Disable ALL animations and transitions in mobile resolution */
@media (max-width: 767.98px) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  
  /* Disable hover effects */
  .navbar-nav .nav-link:hover,
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover,
  .price-card:hover,
  .blog-card:hover,
  .casestudy-card:hover,
  .btn-primary:hover,
  .social-link:hover,
  .footer a:hover {
    transform: none !important;
    box-shadow: inherit !important;
    color: inherit !important;
    background: inherit !important;
    border-color: inherit !important;
  }
  
  /* Disable specific animations */
  .hero-blob {
    animation: none !important;
  }
}

/* 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.57rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1.21rem;
  }
  
  .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 {
    font-size: 10px !important;
    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: 175px;
}
  
  .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.68rem;
  }
}

/* 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.67rem;
  }
}

/* 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;
  }
} 