/* SaaS Logo Watermarking Template - Responsive Styles */

/* Tablet Styles */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 3rem 0;
    --section-padding-sm: 2rem 0;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  #hero {
    min-height: 80vh;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 2.5rem 0;
    --section-padding-sm: 1.5rem 0;
  }
  
  /* Conservative Typography for Mobile */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  /* Mobile Hero Section */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  #hero .row {
    flex-direction: column-reverse;
  }
  
  #hero .col-lg-6:first-child {
    margin-top: 2rem;
  }
  
  /* Mobile Services */
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  /* Mobile Features */
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile Team */
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Mobile Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Mobile Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Mobile FAQ */
  .faq-card {
    padding: 1.25rem;
  }
  
  /* Mobile Footer */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  #footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Mobile Buttons */
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
  
  /* Mobile Navbar */
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-dark);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Extra Small Mobile */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 2rem 0;
    --section-padding-sm: 1rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .service-card,
  .contact-form {
    padding: 1rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  #hero {
    min-height: 60vh;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* NO ANIMATIONS ON MOBILE - Critical Rule */
@media (max-width: 767.98px) {
  /* Disable all Sal.js animations on mobile */
  [data-sal] {
    opacity: 1;
    transform: none;
  }
  
  /* Disable hover effects on touch devices */
  .service-card:hover,
  .gallery-item:hover,
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  
  /* Ensure no scroll-based animations */
  .sal-animate {
    opacity: 1;
    transform: none;
  }
}

/* Print Styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .btn {
    display: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #1a5490;
    --secondary-color: #0d8a6b;
    --neutral-color: #333333;
    --neutral-dark: #000000;
  }
  
  .service-card,
  .review-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--neutral-color);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  /* Disable all transitions and animations */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
  
  /* Ensure Sal.js doesn't interfere */
  [data-sal] {
    opacity: 1;
    transform: none;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}


.hero-content {
    padding-top: 225px;
}