/* Responsive CSS for Ice Cream Zine Template */

/* Mobile First Approach - Base styles are for mobile */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Conservative typography for mobile */
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.125rem;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: var(--font-size-lg) !important;
  }
  
  /* Hero section */
  .hero-section {
  padding-top: 50px;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: var(--font-size-h1);
  }
  
  /* Section padding */
  .page-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding: 2rem 0;
  }
  
  /* Cards */
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .blog-card {
    padding: 1.5rem;
    margin-bottom: 1.55rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Timeline mobile layout */
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50px;
    margin-right: 0;
  }
  
  .timeline-content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--primary-pink);
    border-radius: 50%;
  }
  
  /* Team members smaller on mobile */
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Gallery adjustments */
  .gallery-section .col-sm-6 {
    margin-bottom: 1.21rem;
  }
  
  /* Footer */
  .footer-section {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Disable animations on mobile for performance */
  .service-card:hover,
  .case-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  /* Swiper adjustments for mobile - disable autoplay and effects */
  .swiper {
    --swiper-theme-color: var(--primary-pink);
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
  padding-top: 50px;
    padding: 3rem 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Restore some desktop features */
  .hero-section {
  padding-top: 50px;
    padding: 3.5rem 0;
  }
  
  .page-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Timeline tablet layout */
  .timeline::before {
    left: 50%;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    margin-left: 0;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
  }
  
  /* Team members normal size */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Enable hover effects on tablets */
  .service-card:hover,
  .case-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full desktop experience */
  .hero-section {
  padding-top: 50px;
    padding: 4rem 0;
  }
  
  /* Price card featured scaling */
  .price-card.featured {
    transform: scale(1.05);
  }
  
  /* All hover effects enabled */
  .navbar-nav .nav-link:hover {
    transform: translateY(-2px);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Maximum spacing and effects */
  .hero-section {
  padding-top: 50px;
    padding: 5rem 0;
  }
  
  .page-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding: 5rem 0;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  /* Larger containers for better spacing */
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .case-card,
  .blog-card {
    padding: 2.5rem;
  }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Swiper Responsive Settings */
@media (max-width: 767.98px) {
  /* Disable autoplay and effects on mobile for better performance */
  .swiper[data-mobile="true"] {
    --swiper-navigation-size: 20px;
  }
  
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 768px) {
  /* Enable full swiper features on larger screens */
  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}

/* Print Styles */
@media print {
  .header-section,
  .footer-section,
  .breadcrumb-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  .page-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .blog-card {
    border: 1px solid #b4b4b4;
    page-break-inside: avoid;
  }
}

/* Accessibility Improvements */
@media (max-width: 767.98px) {
  /* Larger touch targets on mobile */
  .navbar-nav .nav-link {
    padding: 1rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
  
  /* Ensure readable text size */
  body {
    font-size: 20.00px;
  }
  
  /* Better spacing for form elements */
  .form-control {
    min-height: 44px;
    font-size: 20.00px; /* Prevents zoom on iOS */
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders and shadows */
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .blog-card,
  .contact-form {
    border: 0.5px solid rgba(0, 0, 0, 0.1);
  }
}

/* Landscape Mobile Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
  padding-top: 50px;
    padding: 1rem 0;
  }
  
  .page-section,
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .timeline-section,
  .career-section,
  .coreinfo-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding: 1.5rem 0;
  }
} 