/* Responsive Styles for Data-Driven Product Review Platform */

/* Mobile First Approach */

/* Extra Large screens (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

/* Small screens (576px and up) */
@media (min-width: 576px) {
  .hero {
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Mobile screens (575px and below) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  /* Hero section */
  #hero {
    min-height: 80vh;
    padding: 1rem 0;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 225px;
}
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Sections spacing */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards and components */
  .service-card,
  .pricing-card,
  .team-member,
  .review-card,
  .case-study-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-item {
    margin-bottom: 1.5rem;
  }
  
  .service-card,
  .pricing-card {
    padding: 1.5rem;
  }
  
  .team-member {
    padding: 1.5rem 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  /* About features */
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .about-feature i {
    font-size: 2.5rem;
  }
  
  /* Feature items */
  .feature-item {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-item i {
    font-size: 2rem;
  }
  
  /* Pricing cards */
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .pricing-card .price {
    font-size: 2.5rem;
    margin: 1rem 0;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem;
  }
  
  .review-text::before {
    font-size: 2rem;
    top: -15px;
    left: -5px;
  }
  
  /* Process steps */
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-step::before {
    width: 35px;
    height: 35px;
    font-size: 1.125rem;
    top: -15px;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact section */
  .contact-form,
  .contact-info {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .contact-info-item {
    margin-bottom: 1.5rem;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 180px;
  }
  
  .blog-card-content {
    padding: 1.5rem;
  }
  
  /* FAQ items */
  .faq-item {
    padding: 1.5rem;
  }
  
  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  /* Forms */
  .form-control {
    margin-bottom: 1rem;
  }
  
  /* Utility classes for mobile */
  .mobile-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
  
  /* Hide decorative shapes on mobile */
  .hero-shape {
    display: none;
  }
}

/* Tablet screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .service-card,
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .team-member img {
    width: 110px;
    height: 110px;
  }
  
  .feature-item {
    padding: 2rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large tablet and small desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .pricing-card {
    padding: 2.5rem 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-shape,
  .btn,
  .contact-form,
  #gallery {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black !important;
    background: white !important;
    overflow-x: hidden;
}
  
  .section {
    padding: 1rem 0;
  }
  
  .section-title {
    font-size: 18pt;
    color: black !important;
  }
  
  h1, h2, h3, h4 {
    color: black !important;
  }
  
  .service-card,
  .pricing-card,
  .team-member,
  .review-card,
  .case-study-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-item {
    border: 1px solid #ccc;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0033CC;
    --primary-green: #006600;
    --primary-purple: #660066;
    --primary-orange: #CC6600;
    --primary-teal: #006666;
    --dark-gray: #000000;
    --gray: #333333;
  }
  
  .service-card,
  .pricing-card,
  .team-member,
  .review-card {
    border: 2px solid var(--dark-gray);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .pricing-card:hover,
  .about-feature:hover,
  .gallery-item img:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1040;
}

.skip-nav:focus {
  top: 0;
}

/* SAL.js Responsive Animation Styles - Currently Disabled */
/*
@media (max-width: 575.98px) {
  [data-sal] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  .sal-animate {
    transform: none !important;
    opacity: 1 !important;
  }
}
*/
