/* Responsive Styles for Custom-Printed Fabric Template */

/* Tablet and Mobile Breakpoints */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decoration {
    width: 150px;
    height: 150px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  /* Mobile Typography */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  /* Mobile Hero */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-decoration {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Mobile Sections */
  .section {
    padding: 2.5rem 0;
  }
  
  /* Mobile Service Cards */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card .card-img-top {
    height: 180px;
  }
  
  /* Mobile Team Cards */
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .team-card img {
    height: 200px;
  }
  
  /* Mobile Reviews */
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: 5px;
    left: 15px;
  }
  
  /* Mobile Contact Form */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .form-control {
    padding: 0.6rem;
    margin-bottom: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 0.75rem;
  }
  
  /* Mobile Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  /* Mobile Gallery */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  /* Mobile FAQ */
  .faq-card {
    margin-bottom: 0.75rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  /* Extra Small Mobile */
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.35rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .service-card .card-img-top {
    height: 160px;
  }
  
  .team-card img {
    height: 180px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1rem;
  }
}

/* Mobile Animation Restrictions */
@media (max-width: 767.98px) {
  /* Disable scroll animations on mobile as per requirements */
  [data-sal] {
    transform: none;
    opacity: 1;
    transition: none;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  /* Disable floating animation on mobile */
  .hero-decoration {
    animation: none;
  }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-decoration::before {
    background-size: cover;
  }
}

/* Landscape Mobile */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .hero-decoration,
  .navbar,
  .footer,
  .btn,
  [data-sal] {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

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