/* Mobile First Responsive Design */

/* Base Mobile Styles (up to 767px) */
@media (max-width: 767px) {
  .hero-section {
  padding-top: 50px;
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  h1 { font-size: 1.86rem; }
  h2 { font-size: 1.61rem; }
  h3 { font-size: 1.34rem; }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.16rem !important;
  }
  
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 1.65rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .core-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blob-1,
  .blob-2 {
    display: none;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    transform: none !important;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .core-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .core-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .core-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
}

/* Tablet and Desktop Hover Effects */
@media (min-width: 768px) {
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .career-card:hover {
    transform: translateY(-5px);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .contact-form {
    box-shadow: none !important;
    border: 1px solid #b9aead;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #335838;
    --primary-terracotta: #90510a;
    --primary-cream: #FFFFFF;
    --primary-forest: #000000;
    --primary-gold: #d0b719;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .contact-form {
    border: 2px solid #000;
  }
  
  .btn-primary {
    background: #000 !important;
    color: #fff !important;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Large Text Support */
@media (prefers-font-size: large) {
  body {
    font-size: 1.24rem;
  }
  
  h1 { font-size: 2.63rem; }
  h2 { font-size: 2.04rem; }
  h3 { font-size: 1.70rem; }
} 