/* ========================================
   RESPONSIVE STYLES - ENAMEL PIN STORE
======================================== */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 15px;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .nav-link {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 60px 0;
  }
  
  .hero-section h1 {
    font-size: 1.6rem;
  }
  
  .service-card {
    margin-bottom: 25px;
  }
  
  .service-price {
    font-size: 1.4rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .testimonial-card {
    margin: 10px;
    padding: 20px;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 14px;
  }
  
  .faq-answer {
    padding: 15px;
    font-size: 14px;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .section {
    padding: 60px 0;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 35px;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .contact-form {
    padding: 35px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  /* Disable autoplay and effects for Swiper on tablets */
  .swiper-wrapper {
    transition-duration: 0ms !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-section h1 {
    font-size: 2.1rem;
  }
  
  .service-card {
    margin-bottom: 40px;
  }
  
  .contact-form {
    padding: 40px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .container-xl {
    max-width: 1320px;
  }
}

/* Disable Swiper autoplay and effects on mobile devices */
@media (max-width: 767.98px) {
  .swiper-wrapper {
    transform: translate3d(0px, 0, 0) !important;
    transition-duration: 0ms !important;
  }
  
  .swiper-slide {
    transition: none !important;
    opacity: 1 !important;
  }
  
  .swiper-pagination {
    display: none !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  /* Stack slides vertically on mobile */
  .swiper-slide {
    width: 100% !important;
    margin-bottom: 20px;
  }
}

/* Navigation responsive behavior */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Grid adjustments for different screen sizes */
@media (max-width: 575.98px) {
  .row .col-md-4,
  .row .col-md-6,
  .row .col-lg-4,
  .row .col-lg-6 {
    margin-bottom: 25px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .row .col-md-4,
  .row .col-md-6,
  .row .col-lg-4,
  .row .col-lg-6 {
    margin-bottom: 30px;
  }
}

/* Contact form responsive adjustments */
@media (max-width: 767.98px) {
  .contact-form .row .col-md-6 {
    margin-bottom: 15px;
  }
  
  .form-control {
    padding: 12px;
    font-size: 14px;
  }
  
  .btn-primary {
    padding: 12px 30px;
    font-size: 14px;
    width: 100%;
  }
}

/* Footer responsive adjustments */
@media (max-width: 767.98px) {
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer .row .col-md-3,
  .footer .row .col-md-4 {
    margin-bottom: 30px;
  }
  
  .footer .col-md-3:last-child,
  .footer .col-md-4:last-child {
    margin-bottom: 0;
  }
}

/* Gallery responsive grid */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 15px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 20px;
  }
}

/* Team section responsive */
@media (max-width: 767.98px) {
  .team-member {
    margin-bottom: 40px;
  }
  
  .team-member:last-child {
    margin-bottom: 0;
  }
}

/* Process/Timeline responsive */
@media (max-width: 767.98px) {
  .process-item,
  .timeline-item {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .process-item:last-child,
  .timeline-item:last-child {
    margin-bottom: 0;
  }
}

/* Blog grid responsive */
@media (max-width: 767.98px) {
  .blog-item {
    margin-bottom: 30px;
  }
  
  .blog-item:last-child {
    margin-bottom: 0;
  }
}

/* Price plan responsive */
@media (max-width: 767.98px) {
  .priceplan-item {
    margin-bottom: 30px;
  }
  
  .priceplan-item:last-child {
    margin-bottom: 0;
  }
} 