/* ============================================================================
   FILE: assets/css/responsive.css - Mobile Responsive Styles
   ============================================================================ */

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    /* Announcement bar */
    .announcement-bar {
        padding: 6px 15px;
        font-size: 11px;
    }

    /* Header adjustments */
    .header-main {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .menu-btn {
        display: flex !important;
        order: -1;
    }

    .logo {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .main-nav {
        display: none !important;
    }

    .search-dropdown {
        min-width: 280px;
        left: -100px;
    }

    .account-dropdown {
        right: -50px;
    }

    /* Footer adjustments */
    .footer-content {
        padding: 40px 15px;
    }

    .footer-logo {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .footer-description {
        font-size: 14px;
        max-width: 300px;
    }

    .footer-social {
        gap: 15px;
        margin-bottom: 30px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .footer-contact a {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .header-left {
        gap: 10px;
    }

    .header-right {
        gap: 10px;
    }

    .search-dropdown {
        min-width: 250px;
        left: -80px;
        padding: 15px;
    }

    .footer-content {
        padding: 30px 10px;
    }

    .footer-social {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* Very small devices */
@media (max-width: 320px) {
    .logo {
        font-size: 18px;
    }

    .search-dropdown {
        min-width: 220px;
        left: -60px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-description {
        font-size: 12px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .product-section {
        height: 90vh;
        min-height: 400px;
    }

    .shop-btn {
        bottom: 30px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-nav,
    .mobile-nav-overlay {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .product-section {
        height: auto;
        min-height: 200px;
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #ffffff;
        --border-color: #333;
    }
    
    /* Only apply if user hasn't explicitly set light theme */
    body:not(.light-theme) {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    body:not(.light-theme) .header {
        background: #222;
        /* border-bottom-color: var(--border-color); */
    }
    
    body:not(.light-theme) .search-dropdown,
    body:not(.light-theme) .account-dropdown {
        background: #222;
        border-color: var(--border-color);
    }
}