/* Responsive styles for Riktek Website */

/* Mobile-first approach - base styles are for mobile */

/* Mobile-specific adjustments (up to 767px) */
@media (max-width: 767px) {
  /* Hero slider mobile adjustments */
  .slide-title {
    font-size: 1.75rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .slide-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .slide-content {
    padding: 0 var(--spacing-sm);
    max-width: 100%;
  }

  .hero-feature-list {
    gap: 0.5rem;
  }

  .hero-feature-list li {
    font-size: 0.875rem;
  }

  .hero-metrics {
    gap: var(--spacing-sm);
  }

  .slide-cta {
    flex-direction: column;
    width: 100%;
    gap: var(--spacing-sm);
  }

  .slide-cta .btn {
    width: 100%;
    text-align: center;
  }

  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
  }

  .slider-prev {
    left: var(--spacing-sm);
  }

  .slider-next {
    right: var(--spacing-sm);
  }
}

/* Tablet breakpoint (768px and up) */
@media (min-width: 768px) {
  /* Hero slider for tablets */
  .slide-title {
    font-size: 3rem;
  }

  .slide-description {
    font-size: 1.25rem;
  }

  .slide-cta {
    flex-direction: row;
  }

  /* Legacy hero section for tablets */
  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  /* Services grid - 2 columns on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About features - 2 columns on tablet */
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer grid for tablets */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop breakpoint (1024px and up) */
@media (min-width: 1024px) {
  /* Hero slider for desktop */
  .slide-title {
    font-size: 3.5rem;
    line-height: 1.15;
    max-width: 100%;
  }

  .slide-description {
    font-size: 1.375rem;
    line-height: 1.6;
    max-width: 650px;
  }

  .slide-content {
    max-width: 900px;
    padding: 0 var(--spacing-lg);
  }

  /* Legacy hero section for desktop */
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.375rem;
  }

  /* Services grid - 4 columns on desktop */
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Contact content - 2 columns on desktop */
  .contact-content {
    grid-template-columns: 1fr 1.5fr;
  }

  /* Show desktop navigation */
  .nav-menu {
    display: flex;
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
  }

  /* Hide mobile toggle on desktop */
  .nav-toggle {
    display: none;
  }

  /* Show contact info on desktop */
  .nav-contact {
    display: block;
  }

  /* Footer grid for desktop */
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Large desktop breakpoint (1280px and up) */
@media (min-width: 1280px) {
  /* Large desktop-specific styles will be added here */
}
