/* ===== RESPONSIVE CSS FOR ANTI-CORROSION TEMPLATE ===== */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .navbar-nav {
    gap: 1rem;
  }
  
  .service-card,
  .feature-card,
  .pricing-card,
  .team-card,
  .info-card {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding-left: 0;
    margin-top: 3rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .hero-section {
    text-align: center;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  /* Mobile menu toggle */
  .navbar {
    padding: 0.5rem 1rem;
    position: relative;
  }
  
  .navbar-toggler {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition-main);
  }
  
  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-main);
  }
  
  .navbar-nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .about-img,
  .service-card,
  .feature-card,
  .pricing-card,
  .team-card,
  .info-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    margin-bottom: 3rem;
  }
  
  .contact-info {
    padding-left: 0;
  }
  
  footer {
    text-align: center;
  }
  
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links-wrapper {
    margin-top: 2.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .hero-section {
    text-align: center;
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  /* Mobile menu toggle */
  .navbar {
    padding: 0.5rem 1rem;
    position: relative;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-toggler {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition-main);
  }
  
  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-main);
  }
  
  .navbar-nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .about-img,
  .service-card,
  .feature-card,
  .pricing-card,
  .team-card,
  .info-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .contact-info {
    padding-left: 0;
  }
  
  footer {
    text-align: center;
    padding: 3rem 0 1.5rem;
  }
  
  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  /* Swiper buttons adjustment */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  /* Reduce padding on cards */
  .service-card,
  .feature-card,
  .pricing-card,
  .review-card,
  .info-card {
    padding: 1.5rem;
  }
  
  /* Adjust pricing card popular label */
  .pricing-card.featured::before {
    padding: 3px 30px;
    font-size: 0.7rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .pricing-card:hover,
  .team-card:hover,
  .info-card:hover {
    transform: none;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999ms; /* Practically disable autoplay */
  }
} 