/* ===== RESPONSIVE STYLES ===== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small screens (768px to 991px) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .services-grid,
  .team-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Disable autoplay and effects for Swiper on tablets */
  .swiper-slide {
    transition: none !important;
  }
}

/* Extra small screens (below 768px) */
@media (max-width: 767.98px) {
  /* Typography adjustments */
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Layout adjustments */
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  /* Grid layouts to single column */
  .services-grid,
  .team-grid,
  .blog-grid,
  .gallery-grid,
  .element-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Navigation */
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  /* Service cards */
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Team cards */
  .team-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Testimonials */
  .testimonial-slide {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  /* Blog cards */
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-title {
    font-size: 1.125rem;
  }
  
  /* Decorative shapes - reduce size */
  .shape-1 {
    width: 60px;
    height: 60px;
  }
  
  .shape-2 {
    width: 50px;
    height: 50px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  /* Button adjustments */
  .btn-submit {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  /* Form controls */
  .form-control {
    padding: 0.875rem;
    font-size: 0.9rem;
  }
  
  /* Breadcrumbs */
  .breadcrumb-img {
    max-width: 150px;
  }
  
  /* Additional page elements */
  .page-section {
    padding: 3rem 0;
  }
  
  .element-item {
    padding: 1.25rem;
  }
  
  .element-title {
    font-size: 1rem;
  }
  
  .element-desc {
    font-size: 0.875rem;
  }
}

/* Extra small screens (below 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .contact-form {
    margin: 0 0.5rem;
    padding: 1.25rem;
  }
  
  .service-card,
  .team-card,
  .element-item {
    padding: 1.25rem;
  }
  
  .testimonial-slide {
    padding: 1.5rem 1rem;
  }
  
  .blog-content {
    padding: 1.25rem;
  }
  
  .gallery-item {
    aspect-ratio: 4/3;
  }
  
  .form-control {
    padding: 0.75rem;
  }
  
  .btn-submit {
    padding: 0.75rem 1.25rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .decorative-shape {
    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;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .blog-card,
  .element-item {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary,
  .btn-submit {
    border: 2px solid var(--text-dark);
  }
}

/* Dark mode adjustments (respecting user preference) */
@media (prefers-color-scheme: dark) {
  /* Note: User requested no dark mode styles, so this is minimal */
  .gallery-item img {
    opacity: 0.9;
  }
}

/* Focus styles for accessibility */
.form-control:focus,
.btn-submit:focus,
.btn-primary:focus,
.faq-question:focus {
  outline: 3px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-purple);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
} 