/* AI Product Description Generator - Responsive CSS */
/* Mobile-first responsive design without Bootstrap overrides */

/* Mobile Specific Rules - No scroll animations */
@media (max-width: 767.98px) {
  /* Disable all scroll-triggered animations on mobile */
  [data-sal],
  [data-aos],
  .scroll-reveal {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  
  /* Conservative mobile typography */
  :root {
    --font-size-h1: 1.875rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.125rem;
    --navbar-brand-size: 1.25rem;
    --section-padding: 3rem 0;
  }
  
  /* Mobile navbar adjustments */
  .navbar-brand {
    font-size: var(--navbar-brand-size);
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  /* Mobile hero section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Mobile section spacing */
  .section {
    padding: var(--section-padding);
  }
  
  .section-title {
    font-size: var(--font-size-h2);
    text-align: center;
  }
  
  .section-subtitle {
    font-size: var(--font-size-h4);
    text-align: center;
  }
  
  .section-description {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Mobile card adjustments */
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  /* Mobile price cards - remove scale effect */
  .price-card.featured {
    transform: none;
  }
  
  /* Mobile contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Mobile team cards */
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  /* Mobile gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Mobile footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Mobile buttons */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Mobile form controls */
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Mobile spacing utilities */
  .mb-mobile-4 {
    margin-bottom: 1.5rem;
  }
  
  .p-mobile-3 {
    padding: 1rem;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --section-padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card img {
    height: 190px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Tablet grid adjustments */
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
}

/* Tablet Landscape & Small Desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card img {
    height: 195px;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: var(--content-max-width);
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --section-padding: 6rem 0;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for high DPI displays */
  .navbar-brand,
  .section-title,
  .section-subtitle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Larger touch targets */
  .btn {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .form-control {
    min-height: 48px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .btn {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4 {
    color: #000;
    page-break-after: avoid;
  }
  
  .service-card,
  .price-card,
  .team-card {
    border: 1px solid #000;
    box-shadow: none;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #1e40af;
    --primary-green: #166534;
    --primary-purple: #6b21a8;
    --primary-orange: #c2410c;
    --primary-pink: #9f1239;
    --medium-gray: #374151;
    --dark-gray: #111827;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    border: 2px solid var(--dark-gray);
  }
}

/* Focus Management */
@media (prefers-reduced-motion: no-preference) {
  /* Only apply focus animations when motion is preferred */
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Landscape Phone Specific */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Very Small Screens */
@media (max-width: 359.98px) {
  :root {
    --font-size-h1: 1.625rem;
    --font-size-h2: 1.375rem;
    --font-size-h3: 1.125rem;
    --navbar-brand-size: 1.125rem;
  }
  
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .hero-section {
    padding: 1.5rem 0;
  }
}


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