/* Custom T-Shirt Store - Responsive CSS */

/* ===== MOBILE FIRST APPROACH ===== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .feature-card {
    min-height: 250px;
  }
  
  .service-card {
    min-height: 400px;
  }
  
  .team-card {
    min-height: 350px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    transition: none !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-content {
    padding-right: 2rem;
  }
  
  .service-card {
    min-height: 450px;
  }
  
  .price-card.featured {
    transform: scale(1.08);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* ===== MOBILE SPECIFIC STYLES ===== */
@media (max-width: 767.98px) {
  /* Typography adjustments for mobile */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-collapse {
    background: var(--white);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  /* Hero section mobile */
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  /* Sections spacing */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards stacking */
  .feature-card,
  .service-card,
  .team-card,
  .price-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Price amount mobile */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Blob animations mobile - reduced motion */
  .blob {
    display: none;
  }
  
  /* FAQ mobile */
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
}

/* ===== TABLET SPECIFIC STYLES ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-content {
    padding-right: 1rem;
  }
  
  .service-card {
    min-height: 420px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .blob,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (max-width: 767.98px) {
  /* Larger touch targets for mobile */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .faq-question {
    min-height: 44px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero {
    background: var(--primary-navy);
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card {
    border: 2px solid var(--dark-gray);
  }
  
  .btn-primary {
    border: 2px solid var(--white);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-image img,
  .service-card,
  .feature-card,
  .team-card,
  .price-card,
  .blog-card,
  .btn,
  .gallery-item img {
    transition: none !important;
    animation: none !important;
  }
  
  .blob {
    display: none;
  }
  
  .price-card.featured {
    transform: none;
  }
}

/* ===== SWIPER RESPONSIVE OVERRIDES ===== */
@media (max-width: 767.98px) {
  .swiper {
    overflow: visible;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  /* Disable autoplay on mobile */
  .swiper[data-swiper-autoplay] {
    --swiper-autoplay-delay: 0;
  }
}

/* ===== UTILITIES RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .text-center-mobile { text-align: center; }
  .text-left-mobile { text-align: left; }
  
  .mb-mobile-2 { margin-bottom: 0.5rem; }
  .mb-mobile-3 { margin-bottom: 1rem; }
  .mb-mobile-4 { margin-bottom: 1.5rem; }
  
  .mt-mobile-2 { margin-top: 0.5rem; }
  .mt-mobile-3 { margin-top: 1rem; }
  .mt-mobile-4 { margin-top: 1.5rem; }
}

@media (min-width: 768px) {
  .text-center-desktop { text-align: center; }
  .text-left-desktop { text-align: left; }
}

/* ===== LANDSCAPE MOBILE ADJUSTMENTS ===== */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero {
    min-height: 90vh;
  }
  
  .section {
    padding: 2rem 0;
  }
} 