
@media (max-width: 768px) {
    .contact-info-bar {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    /* Adjust header spacing */
    .hero-section {
        padding-top: 140px;
    }
}

@media (max-width: 576px) {
    .contact-info-bar {
        gap: 0rem;
    }
    
    .hero-section {
        padding-top: 100px;
    }
}

/* Extra large screens (desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
}

/* Large screens (desktops, 1200px to 1399px) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .floating-social {
        left: 15px;
    }
    
    .theme-toggle-wrapper {
        right: 20px;
    }
}

/* Medium screens (tablets, 992px to 1199px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 6rem 0;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .contact-info-wrapper {
        margin-top: 4rem;
    }
    
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 2rem;
    }
    
    .map-info-card {
        max-width: 100%;
    }
    
    .floating-social {
        display: none;
    }
    
    .navbar-collapse {
        background: var(--card-bg);
        border-radius: 15px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: var(--shadow);
    }
}

/* Small screens (landscape phones, 768px to 991px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .car-card-wrapper {
        margin-bottom: 2rem;
    }
    
    .request-form-wrapper,
    .contact-info-wrapper {
        padding: 2rem;
    }
    
    .theme-toggle-wrapper {
        top: calc(30% - 0.5rem);
        right: 20px;
    }
    
    .theme-toggle-btn span {
        display: none;
    }
    
    .theme-toggle-btn {
        padding: 0.75rem;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Extra small screens (phones, less than 576px) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-badge {
        padding: 0.5rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1.5rem);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-sell-primary,
    .btn-sell-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .car-card {
        margin-bottom: 2rem;
    }
    
    .car-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .car-price {
        margin-top: 0.5rem;
    }
    
    .car-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .request-form-wrapper,
    .contact-info-wrapper {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .sell-title {
        font-size: 2.5rem;
    }
    
    .sell-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer {
        padding: 4rem 0 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 3rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Very small screens (phones, less than 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .title-line {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .sell-image-badge {
        padding: 1rem;
    }
    
    .badge-price {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .floating-social,
    .theme-toggle-wrapper,
    .back-to-top,
    .scroll-indicator,
    .navbar-toggler,
    .btn-car-favorite,
    .feature-hover,
    .slider-controls,
    .map-instructions,
    .footer-wave,
    .footer-newsletter,
    .footer-social {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto;
    }
    
    .hero-title,
    .section-title,
    .car-title,
    .feature-title,
    .sell-title {
        color: black !important;
    }
    
    .section-padding {
        padding: 2rem 0 !important;
    }
    
    .car-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .btn {
        border: 1px solid #ddd !important;
        background: white !important;
        color: black !important;
    }
}