/*
 * Digital Decluttering Service - Responsive Styles
 * Mobile-first responsive design
 */

/* Mobile First Breakpoints */
/* xs: <576px (default) */
/* sm: >=576px */
/* md: >=768px */
/* lg: >=992px */
/* xl: >=1200px */
/* xxl: >=1400px */

/* Mobile Styles (Default - xs) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  h5 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 90vh;
    padding: 1rem 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Section padding reduction */
  .section {
    padding: 3rem 0;
  }
  
  /* Service cards mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    height: 150px;
    font-size: 2rem;
  }
  
  .service-name {
    font-size: 1.2rem;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  /* Team cards mobile */
  .team-card {
    padding: 1.5rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
    font-size: 1.5rem;
  }
  
  /* Price plan mobile */
  .priceplan-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .priceplan-card.featured {
    transform: none;
    border: 2px solid var(--primary-blue);
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  /* Contact forms mobile */
  .contact-form,
  .contact-info {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-policies a {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* Feature cards mobile */
  .feature-card,
  .features-card,
  .casestudy-card,
  .review-card,
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Blog cards mobile */
  .blog-image {
    height: 150px;
    font-size: 1.5rem;
  }
  
  .blog-content {
    padding: 1.25rem;
  }
  
  /* No animations on mobile for better performance */
  .service-card:hover,
  .blog-card:hover,
  .feature-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  /* Disable all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .section-title,
  .section-subtitle,
  .section-desc,
  .hero-title,
  .hero-subtitle,
  .hero-desc {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Small devices (sm) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (md) */
@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-image {
    height: 200px;
    font-size: 2.5rem;
  }
  
  .team-image {
    width: 110px;
    height: 110px;
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 0;
  }
  
  .footer {
    text-align: left;
  }
  
  .footer-policies a {
    display: inline;
    margin-right: 1.5rem;
  }
  
  /* Re-enable hover effects on tablets and up */
  .service-card:hover,
  .blog-card:hover,
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
}

/* Large devices (lg) */
@media (min-width: 992px) {
  .section {
    padding: 5rem 0;
  }
  
  .service-image {
    height: 200px;
    font-size: 3rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
    font-size: 2rem;
  }
  
  .priceplan-card.featured {
    transform: scale(1.05);
  }
  
  .service-card:hover {
    transform: translateY(-8px);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (xl) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Container max-width adjustments */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Navbar mobile specific */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-section {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .priceplan-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--light-gray);
  }
  
  * {
    color: var(--black) !important;
    background: var(--white) !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .priceplan-card,
  .feature-card,
  .review-card,
  .blog-card {
    border: 2px solid var(--dark-gray);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-blue);
  }
  
  .form-control {
    border: 2px solid var(--dark-gray);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .blog-card,
  .feature-card,
  .gallery-item {
    transition: none;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .feature-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .priceplan-card.featured {
    transform: none;
    border: 3px solid var(--primary-blue);
  }
}

/* Dark mode support (for future enhancement) */

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Accessibility improvements */
@media (max-width: 767.98px) {
  /* Larger touch targets for mobile */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Fix for very small screens */
@media (max-width: 359.98px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .service-card,
  .team-card,
  .priceplan-card,
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
} 

.hero-content {
    padding-top: 200px;
}