/* ================================================
   RESPONSIVE STYLES - RETAIL COMPLIANCE AUDIT
   ================================================ */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .container {
    max-width: 960px;
  }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
}

/* Small Tablet (576px to 767px) */
@media (max-width: 767px) {
  :root {
    --section-padding: 50px 0;
    --container-padding: 20px;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  /* Disable animations on mobile for better performance */
  .swiper-slide {
    transition: none !important;
  }
  
  /* Disable autoplay on mobile */
  .swiper-wrapper {
    cursor: grab;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .service-price {
    font-size: 1.8rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-title {
    font-size: 1.3rem;
  }
  
  .btn-primary,
  .btn-outline {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
  :root {
    --section-padding: 40px 0;
    --container-padding: 15px;
  }
  
  body {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 0.95rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  .service-card {
    padding: 2rem 1rem;
  }
  
  .service-icon {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .service-features {
    font-size: 0.9rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-name {
    font-size: 1rem;
  }
  
  .team-role {
    font-size: 0.9rem;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .testimonial-author {
    font-size: 0.9rem;
  }
  
  .form-control {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
  
  .accordion-button {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .gallery-img {
    height: 150px;
  }
  
  .footer-title {
    font-size: 1.2rem;
  }
  
  .footer-description,
  .contact-info {
    font-size: 0.9rem;
  }
  
  .copyright {
    font-size: 0.8rem;
  }
  
  /* Stack columns on mobile */
  .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  
  /* Full width buttons on mobile */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Simplified navigation on mobile */
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-sage);
  }
}

/* Very Small Mobile (up to 320px) */
@media (max-width: 320px) {
  :root {
    --container-padding: 10px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .service-card {
    padding: 1.5rem 0.5rem;
  }
  
  .testimonial-card {
    padding: 0.8rem;
  }
  
  .accordion-button {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .accordion-body {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar,
  .shape,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .card {
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../VIN_images/hero-bg.webp');
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .swiper-wrapper {
    animation: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .shape-1,
  .shape-2 {
    animation: none !important;
  }
  
  .fade-in-up {
    animation: none !important;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Future-proofing for dark mode implementation */
  .card {
    background: #1a1a1a;
    color: #e0e0e0;
  }
  
  .form-control {
    background: #2a2a2a;
    color: #e0e0e0;
    border-color: var(--dark-sage);
  }
}

/* Focus Styles for Accessibility */
@media (any-hover: none) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
  }
}

/* Hover Styles (only for devices that support hover) */
@media (any-hover: hover) {
  .card:hover,
  .btn:hover,
  .team-photo:hover,
  .gallery-item:hover {
    /* Hover effects already defined in main.css */
  }
}

/* No hover for touch devices */
@media (any-hover: none) {
  .card:hover,
  .btn:hover,
  .team-photo:hover,
  .gallery-item:hover {
    transform: none;
  }
} 