/* Mobile First Approach */

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .btn-primary.ms-lg-3 {
        margin-top: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .hero-background {
        min-height: 400px;
    }
    
    .hero-content {
        text-align: center;
        padding: 60px 0;
    }
    
    .d-flex.flex-wrap.gap-2 {
        justify-content: center;
    }
}

/* Tablet Adjustments */
@media (max-width: 768px) {
    .hero-background {
        margin-top: 76px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .product-card-img {
        height: 180px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .d-flex.flex-wrap.gap-2 {
        flex-direction: column;
    }
    
    .product-card-img {
        height: 160px;
    }
    
    .footer-logo {
        height: 30px;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .list-inline {
        text-align: center;
    }
    
    .specs-image {
        margin-bottom: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .footer {
        display: none;
    }
    
    body {
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #0000FF;
        --color-primary-dark: #0000CC;
        --color-text: #000000;
        --color-text-light: #333333;
        --color-background: #FFFFFF;
        --color-background-alt: #EEEEEE;
    }
    
    .btn-primary {
        border: 2px solid black;
    }
    
    .hero-overlay {
        background-color: rgba(255, 255, 255, 0.9);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .anim-fade-up,
    .anim-fade-in,
    .anim-slide-left,
    .anim-slide-right,
    .anim-scale-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .hover-lift:hover,
    .hover-scale:hover {
        transform: none;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text: #E5E7EB;
        --color-text-light: #9CA3AF;
        --color-background: #111827;
        --color-background-alt: #1F2937;
    }
    
    .navbar {
        background-color: var(--color-background);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-light .navbar-nav .nav-link {
        color: var(--color-text);
    }
    
    .hero-overlay {
        background-color: rgba(31, 41, 55, 0.8);
    }
    
    .card {
        background-color: var(--color-background);
        border-color: var(--color-text-light);
    }
    
    .bg-light {
        background-color: var(--color-background-alt) !important;
    }
    
    .text-white-50 {
        color: rgba(255, 255, 255, 0.7) !important;
    }
} 