/* Responsive CSS for Luxury Auto Battery Services Auctions */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-img-small {
    width: 200px;
    height: 200px;
  }
  
  .about-images {
    height: 450px;
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-text, .about-images {
    width: 100%;
  }
  
  .about-images {
    height: 400px;
    margin-top: 0;
  }
  
  .services-container,
  .features-container,
  .team-container,
  .price-plan-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-icon {
    width: 60px;
    height: 60px;
  }
  
  .process-content {
    width: calc(50% - 40px);
  }

  .hero-img-small {
    opacity: 0.8;
    transform: scale(0.8);
  }
  
  .hero-img-1 {
    bottom: 5%;
    left: 5%;
  }
  
  .hero-img-2 {
    top: 10%;
    right: 5%;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-img-small {
    width: 150px;
    height: 150px;
  }
  
  .hero-img-1 {
    bottom: 5%;
    left: 5%;
  }
  
  .hero-img-2 {
    top: 10%;
    right: 5%;
  }
  
  /* Mobile menu styles */
  .hamburger {
    display: block; /* Show hamburger on mobile */
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--primary-3);
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    padding: 40px 0;
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 20px 0;
    margin-left: 0;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .about-images {
    height: 350px;
  }
  
  .services-container,
  .features-container,
  .price-plan-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .review-item {
    padding: 20px;
  }
  
  .review-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .review-author-img {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .team-img-container {
    height: 250px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    order: 2;
  }
  
  .contact-info {
    order: 1;
    margin-bottom: 30px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  /* Process timeline for mobile */
  .process-timeline::before {
    left: 30px;
  }
  
  .process-icon {
    left: 30px;
    transform: translateX(0);
  }
  
  .process-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
    margin-right: 0 !important;
  }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero-img-small {
    width: 120px;
    height: 120px;
  }
  
  .about-images {
    height: 300px;
  }
  
  .about-img-1, .about-img-2 {
    width: 70%;
    height: 70%;
  }
  
  .service-item, .feature-item, .price-plan-item, .team-member, .add-page-item {
    padding: 20px;
  }
  
  .service-title, .feature-title, .price-plan-title, .team-name, .add-page-item h3 {
    font-size: 1.2rem;
  }
  
  .service-icon, .feature-icon, .add-page-item-icon {
    margin-bottom: 15px;
  }
  
  .service-icon i, .feature-icon i, .add-page-item-icon i {
    font-size: 1.8rem;
  }
  
  .team-container {
    grid-template-columns: 1fr;
  }
  
  .team-member {
    max-width: 280px;
    margin: 0 auto 30px;
  }
  
  .price-plan-price {
    font-size: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .shape-1, .shape-2 {
    width: 150px;
    height: 150px;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .process-timeline {
    padding: 30px 0;
  }
  
  .process-icon {
    width: 50px;
    height: 50px;
  }
  
  .process-icon i {
    font-size: 1.2rem;
  }
  
  .process-content {
    width: calc(100% - 70px);
    margin-left: 50px !important;
    padding: 15px;
  }
  
  .process-content h3 {
    font-size: 1.1rem;
  }
}

/* Special Breakpoint for Extra Large Hero text */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
  
  .container {
    max-width: 1320px;
  }
}

/* Print Styles */
@media print {
  .header, .footer, .hero-slider, .btn, .shape, .hero-img-small {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  section {
    page-break-inside: avoid;
    margin-bottom: 20px;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }
  
  .price-plan-item, .service-item, .team-member, .feature-item, .review-item, .add-page-item {
    box-shadow: none !important;
    border: 1px solid #ddd;
  }
}

/* Dark Mode Media Query - For Future Implementation */
@media (prefers-color-scheme: dark) {
  /* Override styles for dark mode if needed in the future */
}

/* Animation Reduction for Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
} 