/* Personal Wardrobe Consultant Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-navbar-brand: 1.25rem;
    --section-padding: 3rem 0;
  }
  
  /* Header */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: var(--font-size-navbar-brand);
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 0.5rem 1rem;
  }
  
  /* Hero Section */
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: var(--font-size-h1);
    margin-bottom: 1.09rem;
  }
  
  .hero-subtitle {
    font-size: 1.30rem;
    margin-bottom: 1.56rem;
  }
  
  .hero-desc {
    font-size: 0.97rem;
    margin-bottom: 2.07rem;
  }
  
  /* Decorative shapes - smaller on mobile */
  .hero-shape-1 {
    width: 100px;
    height: 100px;
  }
  
  .hero-shape-2 {
    width: 80px;
    height: 80px;
  }
  
  /* Services */
  .service-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.56rem;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
  }
  
  .service-image i {
    font-size: 1.52rem;
  }
  
  .service-price {
    font-size: 1.52rem;
  }
  
  /* About Features */
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1.56rem;
  }
  
  .about-feature i {
    font-size: 2.54rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .contact-info {
    padding: 2rem 1.5rem;
    margin-top: 2.24rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Price Cards */
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .price-value {
    font-size: 2.02rem;
  }
  
  /* Process Steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.30rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog Cards */
  .blog-content {
    padding: 1.5rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1.5rem 1.5rem 1.5rem 3rem;
  }
  
  /* Core Info Items */
  .coreinfo-item {
    padding: 1.5rem 1rem;
  }
  
  /* Case Study Items */
  .casestudy-item {
    padding: 2rem 1.5rem;
  }
  
  /* Career Items */
  .career-item {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-bottom {
    margin-top: 2.24rem;
    padding-top: 1.56rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography adjustments */
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.625rem;
    --font-size-h3: 1.375rem;
    --section-padding: 4rem 0;
  }
  
  /* Hero Section */
  .hero-section {
  padding-top: 50px;
    min-height: 90vh;
  }
  
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* About Features Grid */
  .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Team Grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) - Swiper autoplay/effects disabled below this */
@media (max-width: 767.98px) {
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-container {
    --swiper-autoplay: false;
  }
  
  /* Remove animations on mobile for reduced motion */
  .service-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .team-photo:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .career-item:hover {
    transform: none;
  }
  
  /* Simplify hover effects */
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet specific styles */
  :root {
    --section-padding: 4.5rem 0;
  }
  
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* About Features Grid */
  .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Features Grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Price Plan Grid */
  .priceplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  /* Team Grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Blog Grid */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* About Features Grid */
  .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  /* Features Grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  /* Team Grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Blog Grid */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* About Features Grid */
  .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  /* Features Grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  /* Price Plan Grid */
  .priceplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* Team Grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  /* Blog Grid */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* Two Column Layouts */
  .hero-two-column,
  .contact-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Ultra Wide displays (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images for high DPI */
  .hero-section::before,
  .gallery-item img,
  .blog-image img,
  .team-photo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.52rem;
    margin-bottom: 0.62rem;
  }
  
  .hero-subtitle {
    font-size: 1.09rem;
    margin-bottom: 1.09rem;
  }
  
  .hero-desc {
    font-size: 0.97rem;
    margin-bottom: 1.56rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-shape,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev,
  .footer {
    display: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .service-card,
  .about-feature,
  .price-card {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus,
  .accordion-button:focus {
    outline: 2px solid var(--primary-2);
    outline-offset: 2px;
  }
}


/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
  
  .service-card,
  .about-feature,
  .price-card,
  .team-photo,
  .gallery-item,
  .blog-card,
  .career-item,
  .btn {
    transition: none;
  }
}

/* Container responsive behavior */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 992px) {
  .container-fluid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Utility classes for responsive design */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Responsive text alignment */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-left-desktop {
    text-align: left;
  }
  
  .text-center-mobile {
    text-align: inherit;
  }
}

/* Responsive spacing */
.mb-mobile {
  margin-bottom: 2.07rem;
}

@media (min-width: 768px) {
  .mb-mobile {
    margin-bottom: 0;
  }
} 