/* Mobile First Responsive Design */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem !important;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Swiper pagination fix for mobile */
  .swiper-container {
    padding-bottom: 50px !important;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
  
  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  /* Swiper pagination fix for small devices */
  .swiper-container {
    padding-bottom: 50px !important;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-padding {
    padding: 4.5rem 0;
  }
  
  .navbar-nav .nav-link {
  font-size: 12px !important;
    margin: 0 0.3rem;
  }
  
  .gallery-item img {
    height: 320px;
  }
  
  /* Disable autoplay and effects for Swiper on mobile/tablet */
  .swiper-container {
    --swiper-autoplay-delay: 0;
    padding-bottom: 60px !important; /* More space for pagination on tablet */
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-content {
    padding: 4rem 0;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .service-card,
  .team-card {
    height: 100%;
  }
  
  .gallery-item img {
    height: 350px;
  }
  
  /* Enable full Swiper functionality on desktop */
  .swiper-container {
    --swiper-autoplay-delay: 3000;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Extra Extra Large Devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .section-padding {
    padding: 7rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-gold: #b8860b;
    --primary-navy: #000080;
    --primary-cream: #ffffff;
    --primary-burgundy: #800020;
    --primary-sage: #4d5d53;
  }
  
  .card {
    border: 2px solid var(--primary-navy) !important;
  }
  
  .btn-primary {
    border: 2px solid var(--primary-navy) !important;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-shape,
  .card:hover,
  .btn-primary:hover,
  .gallery-item:hover img,
  .fade-in {
    transform: none !important;
    transition: none !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0 !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
} 