/* Large Desktop - 1400px and up */
@media screen and (min-width: 1400px) {
    :root {
        --max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 4.8rem;
    }
    
    .stat-suffix {
        font-size: 4.8rem;
    }
    
    .stat-number-wrapper {
        height: 6rem;
    }
    
    .stat-label {
        font-size: 1.4rem;
    }
}

/* Tablet - 769px to 1200px */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    /* Navigation adjustments */
    .nav-container {
        padding: 0 30px;
    }
    
    /* Hero adjustments */
    .hero-section {
        height: 908px;
        min-height: 908px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 2rem 4rem;
    }
    
    /* Stats adjustments */
    .stats-container {
        gap: 3rem;
    }
    
    .stat-number,
    .stat-suffix {
        font-size: 3.8rem;
    }
    
    .stat-label {
        font-size: 1.3rem;
    }
    
    /* Section adjustments */
    .section {
        padding: 4rem 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Grid adjustments */
    .grid-2 {
        gap: 1.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Card adjustments */
    .card {
        padding: 1.75rem;
    }
    
    /* Footer adjustments */
    .footer-container {
        padding: 0 30px;
    }
    
    /* Homepage sections */
    #about1 > div,
    #about2 > div {
        width: 95% !important;
        padding: 0 2.5% !important;
    }
    
    #about1 h2,
    #about2 h2 {
        font-size: 2.5rem !important;
    }
    
    #about1 h3,
    #about2 h3 {
        font-size: 1.3rem !important;
    }
    
    #about1 p,
    #about2 p {
        font-size: 1.05rem !important;
    }
    
    /* Cormint Air section */
    #cormint-air h2 {
        font-size: 3.5rem !important;
    }
    
    #cormint-air h2 div:last-child {
        font-size: 3rem !important;
    }
    
    /* Products page */
    .info-details h2 {
        font-size: 2.3rem !important;
    }
    
    .info-details p {
        font-size: 1.05rem !important;
    }
    
    /* News grid */
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

/* Mobile and Tablet with Hamburger Menu - 768px and below */
@media screen and (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    * {
        max-width: 100vw;
    }
    
    /* Safe area padding for iPhone notch */
    .site-header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .main-content {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .site-footer {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Improve tap targets */
    button, 
    a, 
    input, 
    textarea, 
    select {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Fix button heights */
    .cta-button,
    .load-more-btn,
    .contact-submit-button {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Navigation - Hamburger Menu */
    .logo-image {
        height: 28px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 56px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: right var(--transition-speed) ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item:last-child .nav-link {
        background-color: #F0890D;
        color: #000000;
        margin-top: 1rem;
        text-align: center;
        border: none;
        font-weight: 600;
    }

    /* Hero Section */
    .hero-section {
        height: 825px;
        min-height: 825px;
    }
    
    .hero-content {
        padding: 2rem 2rem;
        text-align: center;
    }
    
    .hero-logo {
        width: 300px;
        top: 40%;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 1rem;
    }

    /* Stats Section */
    .stats-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .stat-number-wrapper {
        height: 4rem;
        justify-content: flex-start;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-suffix {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.3rem;
    }
    
    /* General Sections */
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Homepage About Sections */
    #about1 > div,
    #about2 > div {
        width: 90% !important;
        padding: 0 5% !important;
    }
    
    #about1 h2,
    #about2 h2 {
        font-size: 2rem !important;
        text-align: center !important;
    }
    
    #about1 h3,
    #about2 h3 {
        font-size: 1.1rem !important;
        text-align: center !important;
    }
    
    #about1 p,
    #about2 p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }
    
    /* Stack content vertically on mobile */
    #about1 > div > div:last-child,
    #about2 > div > div:last-child {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    #about1 > div > div:last-child > div,
    #about2 > div > div:last-child > div {
        padding: 0 !important;
    }
    
    /* Pricing data styling on mobile */
    #about1 > div > div:last-child {
        display: flex !important;
        flex-direction: column !important;
    }
    
    #about1 > div > div:last-child > div:first-child {
        padding: 0 !important;
    }
    
    #about1 > div > div:last-child > div:last-child {
        padding: 2rem 0 !important;
        justify-content: center !important;
    }
    
    #about1 > div > div:last-child > div:last-child p {
        text-align: center !important;
    }
    
    #about2 {
        padding-top: 0 !important;
    }
    
    #about2 img {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 2rem;
    }
    
    /* Cormint Air section */
    #cormint-air {
        min-height: 40vh !important;
        background-position: right center !important;
    }
    
    #cormint-air > div:last-child {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    #cormint-air h2 {
        font-size: 2.5rem !important;
    }
    
    #cormint-air h2 div:last-child {
        font-size: 2rem !important;
    }
    
    .now-available-btn {
        padding: 0.6rem 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }
    
    .now-available-btn div {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
    }
    
    /* Contact section social icons */
    #contact > div > div:last-child {
        gap: 1.5rem !important;
    }
    
    #contact .social-icon-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    #contact svg {
        width: 30px !important;
        height: 30px !important;
    }

    /* Footer */
    .footer-container {
        padding: 2rem 1rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem;
        display: grid !important;
    }
    
    .footer-section {
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-section p {
        text-align: center !important;
        width: 100% !important;
    }
    
    .footer-links {
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        list-style: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-links li {
        text-align: center !important;
        margin: 0.5rem 0;
        width: 100% !important;
        display: block !important;
    }
    
    .footer-links a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    
    .footer-bottom {
        text-align: center !important;
        padding: 1rem !important;
        margin-top: 2rem !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .footer-bottom p {
        text-align: center !important;
        font-size: 0.85rem;
        margin: 0 !important;
    }

    .social-links {
        justify-content: center !important;
        display: flex !important;
        gap: 2rem !important;
        width: 100% !important;
    }
    
    .social-links a {
        text-align: center !important;
    }
}

/* Small Mobile - 480px and below */
@media screen and (max-width: 480px) {
    .hero-section {
        height: 743px;
        min-height: 743px;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        display: block;
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-suffix {
        font-size: 2.5rem;
    }
    
    .stat-number-wrapper {
        height: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.2rem;
    }
    
    .cormint-air-box {
        padding: 2rem 3rem !important;
    }
    
    .cormint-air-title {
        font-size: 2.5rem !important;
    }
    
    .cormint-air-subtitle {
        font-size: 2rem !important;
    }
    
    /* Products page mobile */
    .info-cards .grid-2 {
        grid-template-columns: 1fr !important;
    }
    
    /* Battle Tested section mobile */
    .info-details > div:nth-child(2) > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    
    .info-details > div:nth-child(2) > div > div {
        width: 100% !important;
        flex: none !important;
    }
    
    .info-details h2 {
        text-align: center !important;
        font-size: 2rem !important;
        margin-bottom: 0 !important;
    }
    
    .info-details p {
        text-align: center !important;
        font-size: 0.95rem !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
    
    .info-photos .slideshow-wrapper {
        height: 300px !important;
    }
    
    .slideshow-btn {
        padding: 10px 15px !important;
        font-size: 1.2rem !important;
    }
    
    .slideshow-dots {
        padding: 0 1rem;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .info-specs img {
        width: 100% !important;
        max-width: none !important;
    }
    
    .info-details > div > div {
        padding: 3rem 1rem !important;
    }
    
    /* Contact page mobile */
    .contact-form-card {
        padding: 1.5rem !important;
    }
    
    .contact-form-card h2 {
        font-size: 1.5rem !important;
    }
    
    .contact-form-card label {
        font-size: 0.9rem !important;
    }
    
    .contact-form-card input,
    .contact-form-card textarea {
        font-size: 16px !important;
    }
    
    /* News page mobile */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .news-card {
        padding: 1rem !important;
    }
    
    .news-title {
        font-size: 1.1rem !important;
    }
    
    .news-description {
        font-size: 0.9rem !important;
    }
    
    .news-meta {
        font-size: 0.8rem !important;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle {
        display: none;
    }

    .main-content {
        padding: 0;
    }

    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}