/* Responsive Stylesheet for Quaker State Mando and Grogu Landing Page */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        padding: 0 3rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        padding-top: 66px;
    }
    
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        max-width: 80%;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .product-card img {
        height: 200px;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    body {
        padding-top: 60px;
    }
    
    .hero-section {
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 1.5rem;
    }
    
    .hero-image img {
        max-width: 90%;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .btn-lg {
        width: 100%;
        padding: 12px 20px;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem !important;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .contact-form {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .contact-info div {
        margin-bottom: 1rem;
    }
    
    footer .row {
        text-align: center;
    }
    
    footer .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Extra Small Devices (575.98px and down) */
@media (max-width: 575.98px) {
    body {
        padding-top: 56px;
        font-size: 14px;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .hero-section {
        padding: 1rem 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        margin-top: 1rem;
    }
    
    .hero-image img {
        max-width: 95%;
        border-radius: 15px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    .btn-lg {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.25rem !important;
    }
    
    .card {
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .product-card img {
        height: 150px;
    }
    
    .product-card .card-title {
        font-size: 1rem;
    }
    
    .product-card .card-text {
        font-size: 0.85rem;
    }
    
    .product-card .h5 {
        font-size: 1.1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-form {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .contact-form .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-form .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .contact-info div {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-info i {
        font-size: 1rem !important;
        margin-right: 0.5rem !important;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    footer p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        text-align: center;
    }
    
    .social-links a {
        margin: 0 0.5rem;
    }
    
    .social-links i {
        font-size: 1.25rem !important;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-image img {
        max-height: 300px;
        object-fit: contain;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand img,
    .hero-image img,
    .product-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .contact-form,
    footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .card {
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .product-card img {
        max-width: 200px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bg-light {
        background-color: #2d3748 !important;
        color: #e2e8f0;
    }
    
    .text-muted {
        color: #a0aec0 !important;
    }
    
    .card {
        background-color: #4a5568;
        border-color: #2d3748;
        color: #e2e8f0;
    }
}
