/**
 * Blackhawk Outfitters - Responsive CSS Enhancements
 * Version: 3.1
 * 
 * This file adds responsive improvements to the theme for:
 * - Mobile (320px - 767px)
 * - Tablet (768px - 1024px)
 * - Large screens (1920px+)
 */

/* ========================================
   HERO SECTION - RESPONSIVE FIXES
   ======================================== */

/* Large screens - ensure hero doesn't get too tall */
@media (min-width: 1920px) {
    .hero {
        min-height: 700px;
        max-height: 900px;
    }
    
    .hero-background {
        background-size: cover;
        background-position: center center;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        min-height: 400px;
    }
    
    .hero-background {
        background-size: cover;
        background-position: center 30%; /* Focus on center-top for mobile */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title-line {
        display: block;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   HEADER - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .header-main {
        padding: 1rem 0;
    }
    
    .secondary-nav {
        display: none; /* Hide secondary nav on tablet/mobile for now */
    }
}

@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-main {
        width: 100%;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   CATEGORIES GRID - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
}

@media (max-width: 767px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 1rem;
    }
    
    .category-card h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr; /* 1 column on small mobile */
    }
}

/* ========================================
   CONTENT PAGES - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr; /* Stack sidebar below content on tablet */
    }
    
    .content-sidebar {
        order: 2;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 3rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
}

/* ========================================
   FOOTER - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   BUTTONS - RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .btn {
        width: 100%;
        display: block;
    }
}

/* ========================================
   FORMS - RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TABLES - RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
