/* Responsive Styles for Toy Store Template */

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .services-item {
    padding: 1.5rem;
  }
  
  .services-item-price {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .review-item {
    padding: 1.5rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .services-item {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    opacity: 1 !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .services-item {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
  font-size: 10px !important;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
  }
}

/* Card Grid Responsive */
@media (max-width: 767.98px) {
  .card-columns {
    column-count: 1;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .card-columns {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .card-columns {
    column-count: 3;
  }
}

/* Services Grid */
@media (max-width: 767.98px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Team Grid */
@media (max-width: 767.98px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Gallery Grid */
@media (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Contact Form Responsive */
@media (max-width: 767.98px) {
  .contact-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Utility Classes */
.text-responsive {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.title-responsive {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.subtitle-responsive {
  font-size: clamp(1rem, 3vw, 1.25rem);
}

/* Print Styles */
@media print {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .navbar,
  .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
} 