/* Responsive CSS - Mobile First Approach */

/* Mobile Styles (default) */
@media (max-width: 767.98px) {
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 0;
  }
  
  .swiper-slide {
    transform: none !important;
    transition: none !important;
  }
  
  /* Conservative font sizes for mobile */
  .navbar-brand {
    font-size: 1.30rem !important;
  }
  
  h1, .hero-title {
    font-size: 1.87rem;
  }
  
  h2, .section-title {
    font-size: 1.58rem;
  }
  
  h3 {
    font-size: 1.30rem;
  }
  
  p {
    font-size: 1.01rem;
  }
  
  /* Hero section mobile */
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.87rem;
    margin-bottom: 1.14rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.14rem;
  }
  
  .hero-desc {
    font-size: 1.11rem;
    margin-bottom: 1.63rem;
  }
  
  /* Decorative blobs - hide on mobile */
  .decorative-blob {
    display: none;
  }
  
  /* Section padding mobile */
  .section {
    padding: 3rem 0;
  }
  
  .page-section {
    padding: 3rem 0;
  }
  
  /* Cards mobile spacing */
  .feature-card,
  .service-card,
  .price-card,
  .case-card,
  .job-card,
  .info-card,
  .element-card {
    margin-bottom: 1.63rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Process number mobile */
  .process-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.30rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .contact-info {
    padding: 2rem 1rem;
    margin-top: 2.17rem;
  }
  
  /* Blog cards mobile */
  .blog-image {
    height: 200px;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2.21rem;
  }
  
  /* Navbar mobile */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1.22rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  /* Price card mobile - remove scale */
  .price-card:nth-child(2) {
    transform: none;
  }
  
  /* Service features mobile */
  .service-features {
    font-size: 1.01rem;
  }
  
  /* FAQ mobile */
  .faq-question {
    padding: 1rem;
    font-size: 0.99rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.01rem;
  }
  
  /* Button mobile */
  .btn-submit {
    padding: 0.8rem 2rem;
    font-size: 1.11rem;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.46rem;
  }
  
  .service-card,
  .feature-card,
  .price-card {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.30rem;
  }
  
  .section-title {
    font-size: 1.92rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  /* Keep some mobile restrictions for Swiper on tablet */
  .swiper {
    --swiper-navigation-size: 25px;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  /* Enable full Swiper functionality on desktop */
  .swiper {
    --swiper-navigation-size: 44px;
  }
  
  /* Hero section desktop layout */
  .hero-section .row {
    align-items: center;
  }
  
  /* Hover effects enabled on desktop */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .case-card:hover,
  .job-card:hover,
  .element-card:hover {
    transform: translateY(-10px);
  }
  
  .team-photo:hover {
    transform: scale(1.1);
  }
  
  .gallery-item:hover .gallery-image {
    transform: scale(1.1);
  }
  
  .btn-submit:hover {
    transform: translateY(-3px);
  }
  
  /* Desktop grid layouts */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .hero-title {
    font-size: 2.83rem;
  }
  
  .section-title {
    font-size: 2.30rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .page-section {
    padding: 5rem 0;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Print Styles */
@media print {
  .navbar,
  .decorative-blob,
  .btn-submit,
  .swiper-pagination,
  .swiper-navigation {
    display: none !important;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    padding: 3rem 0;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .feature-card,
  .service-card,
  .price-card {
    box-shadow: none !important;
    border: 1px solid #f1f1f1;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-burgundy: #000000;
    --primary-burgundy-light: #444444;
    --primary-burgundy-dark: #000000;
    
    --primary-gold: #fdff00;
    --primary-gold-light: #fbd90b;
    --primary-gold-dark: #c17f00;
    
    --primary-forest: #000000;
    --primary-forest-light: #2d2c2b;
    --primary-forest-dark: #000000;
    
    --primary-cream: #FFFFFF;
    --primary-cream-light: #FFFFFF;
    --primary-cream-dark: #F0F0F0;
    
    --primary-slate: #000000;
    --primary-slate-light: #3a3a3a;
    --primary-slate-dark: #000000;
  }
  
  .card,
  .feature-card,
  .service-card,
  .price-card,
  .contact-form {
    border: 2px solid #000000;
  }
  
  .btn-submit {
    border: 2px solid #000000;
  }
}



/* Focus Styles for Accessibility */
.navbar-nav .nav-link:focus,
.btn-submit:focus,
.form-control:focus,
.faq-question:focus {
  outline: 3px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-burgundy);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .decorative-blob,
  .swiper,
  .feature-card,
  .service-card,
  .price-card,
  .team-photo,
  .gallery-image,
  .btn-submit {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .swiper-slide {
    transform: none !important;
  }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
  padding-top: 50px;
    min-height: 90vh;
  }
  
  .section {
    padding: 2rem 0;
  }
} 