/* AI Logo Design Template - Responsive CSS */

/* Mobile-first responsive design without scroll animations on mobile */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Small screens (768px to 991px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 0;
    padding-top: 175px;
}
  
  /* Section padding reduction */
  section {
    padding: 60px 0 !important;
  }
  
  /* Cards spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Team images */
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps */
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Extra small screens (576px to 767px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  /* Typography for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.375rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  /* Mobile navbar */
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    text-align: center;
    margin-top: 1rem;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  #hero .row {
    flex-direction: column-reverse;
  }
  
  #hero .hero-image {
    margin-bottom: 2rem;
  }
  
  /* Section spacing for mobile */
  section {
    padding: 50px 0 !important;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Cards full width on mobile */
  .feature-card,
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .career-card,
  .coreinfo-card {
    margin-bottom: 1.5rem;
  }
  
  /* Service cards mobile layout */
  .service-image {
    height: 180px;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  /* Price cards mobile */
  .price-amount {
    font-size: 2.5rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  /* Team section mobile */
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Footer mobile */
  #footer {
    text-align: center;
    padding: 40px 0 20px;
  }
  
  #footer .row {
    text-align: center;
  }
  
  #footer .col-md-3 {
    margin-bottom: 2rem;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  /* Timeline mobile */
  .timeline-item {
    border-left: none;
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    margin-left: 0;
    padding: 1.5rem;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  /* Process mobile */
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Very small screens (up to 575px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Extra small typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  /* Very small section spacing */
  section {
    padding: 40px 0 !important;
  }
  
  /* Navbar very small */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  /* Hero very small */
  #hero {
    min-height: 60vh;
  }
  
  /* Cards very small */
  .feature-card,
  .service-card,
  .price-card,
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .service-image {
    height: 160px;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-image {
    width: 80px;
    height: 80px;
  }
  
  /* Very small gallery */
  .gallery-image {
    height: 180px;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Mobile-specific: Disable scroll animations and hover effects */
@media (max-width: 991.98px) {
  /* Disable all transform hover effects on mobile */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .case-card:hover,
  .career-card:hover,
  .coreinfo-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
  
  /* Disable box-shadow hover effects on mobile */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .blog-card:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08) !important;
  }
  
  /* Disable button transform on mobile */
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Optimize for touch devices */
  .btn,
  .nav-link,
  .navbar-brand {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Larger touch targets */
  .form-control {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  /* Remove hover states on touch devices */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .review-card:hover,
  .blog-card:hover,
  .case-card:hover,
  .career-card:hover,
  .coreinfo-card:hover,
  .gallery-item:hover,
  .btn:hover {
    transform: none !important;
    box-shadow: initial !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --secondary-color: #ff0000;
    --accent-color: #00ff00;
    --text-primary: #000000;
    --text-secondary: #333333;
    --white: #ffffff;
    --light-gray: #f0f0f0;
    --dark-gray: #1a1a1a;
  }
  
  .btn-primary {
    background-color: #0000ff;
    border-color: #0000ff;
    color: #ffffff;
  }
  
  .form-control {
    border: 2px solid #000000;
  }
}

/* Dark mode support */

/* Print styles */
@media print {
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
  }
  
  .navbar,
  #footer,
  .btn,
  form {
    display: none !important;
  }
  
  section {
    padding: 20px 0 !important;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100% !important;
  }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
  }
  
  section {
    padding: 30px 0 !important;
  }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  h1 {
    font-size: 3.25rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}
