/* Express Watch Battery & Seal Bar - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.2rem 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-desc {
    font-size: 0.9rem;
  }
  
  /* Service Items */
  .service-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-item img {
    height: 150px;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  /* About Features */
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .about-feature i {
    font-size: 2.5rem;
  }
  
  /* Features */
  .feature-item i {
    font-size: 2.5rem;
  }
  
  /* Price Plans */
  .priceplan-item {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .priceplan-item.featured {
    transform: none;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Contact Info */
  .contact-info {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .contact-info p {
    font-size: 0.9rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-policies a {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* Gallery */
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  .gallery img {
    height: 150px;
  }
  
  /* Process */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1.5rem;
    margin-left: 1rem;
  }
  
  .timeline-item::before {
    left: -30px;
  }
  
  /* Core Info */
  .coreinfo-item {
    padding: 1.5rem 1rem;
  }
  
  .coreinfo-item i {
    font-size: 2rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  /* Blog */
  .blog-item img {
    height: 150px;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .service-item img {
    height: 180px;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .gallery img {
    height: 180px;
  }
  
  .team-member img {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-item {
    margin-bottom: 2rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Swiper specific responsive styles */
@media (max-width: 767.98px) {
  /* Disable autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 25px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 35px;
    height: 35px;
  }
  
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  
  .review-item {
    margin: 0.5rem;
    padding: 1.5rem;
  }
  
  .review-text {
    font-size: 1rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../EXI_images/hero-bg.webp');
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-light: #1a1a1a;
    --background-dark: #2d2d2d;
    --text-dark: #e0e0e0;
    --neutral-light: #555555;
  }
  
  .service-item,
  .about-feature,
  .priceplan-item,
  .contact-form,
  .review-item,
  .casestudy-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item,
  .faq-item {
    background: var(--background-light);
    color: var(--text-dark);
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper {
    --swiper-transition-duration: 0ms;
  }
  
  .service-item:hover,
  .about-feature:hover,
  .priceplan-item:hover,
  .casestudy-item:hover,
  .career-item:hover,
  .blog-item:hover {
    transform: none;
  }
  
  .gallery img:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .breadcrumb-container,
  footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .service-item,
  .about-feature,
  .priceplan-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .swiper {
    display: none;
  }
  
  .gallery {
    display: none;
  }
  
  .contact-form {
    display: none;
  }
  
  body {
    overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p {
    orphans: 3;
    widows: 3;
  }
}

/* Container adjustments for very small devices */
@media (max-width: 350px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .service-item,
  .contact-form,
  .about-feature {
    padding: 1rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
} 