/* ============================================
   YAHMAR CLOSET - Responsive Styles
   Blush & Rose Gold Theme - Mobile Optimized
   ============================================ */

/* === TABLETS & BELOW (992px) === */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 42px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .navbar-nav {
        padding: 15px 0;
        background: var(--blush-mist);
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
    
    .btn-whatsapp {
        margin-top: 10px;
        width: 100%;
    }
    
    .dropdown-menu {
        background: var(--white);
        border: 1px solid var(--blush-mist);
    }
}

/* === MOBILE DEVICES (768px) === */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar {
        font-size: 11px;
        text-align: center;
        padding: 10px 0;
    }
    
    .top-bar .col-md-6 {
        margin-bottom: 5px;
    }
    
    .social-link {
        margin: 0 5px;
        font-size: 13px;
    }
    
    /* Brand/Logo */
    .brand-text h4 {
        font-size: 20px;
    }
    
    .brand-text .tagline {
        font-size: 10px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px var(--shadow);
    }
    
    /* Hero Section */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .btn-primary-custom {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
    }
    
    /* Sections */
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-spacing {
        padding: 50px 0;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    /* Category Cards */
    .category-card {
        margin-bottom: 20px;
    }
    
    .category-card-body {
        padding: 15px;
    }
    
    .category-card-body h5 {
        font-size: 16px;
    }
    
    .category-card-body p {
        font-size: 12px;
    }
    
    /* Product Cards */
    .product-image {
        height: 250px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-badge {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .btn-view-product {
        padding: 8px 25px;
        font-size: 14px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
        text-align: center;
        margin-top: 50px;
    }
    
    .footer-title {
        margin-top: 20px;
        font-size: 16px;
    }
    
    .footer-text {
        font-size: 13px;
    }
    
    .footer-links {
        margin-bottom: 20px;
    }
    
    .footer-contact {
        margin-bottom: 20px;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        margin-top: 30px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* === SMALL MOBILE (576px) === */
@media (max-width: 576px) {
    /* Hero */
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .hero-section p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    /* Section Titles */
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    /* Category Cards */
    .category-card img {
        height: 150px;
    }
    
    .category-card-body h5 {
        font-size: 15px;
    }
    
    .btn-view-category {
        padding: 6px 20px;
        font-size: 13px;
    }
    
    /* Product Cards */
    .product-image {
        height: 200px;
    }
    
    .product-info h5 {
        font-size: 16px;
        min-height: auto;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .product-colors {
        gap: 6px;
    }
    
    .color-dot {
        width: 18px;
        height: 18px;
    }
    
    .btn-view-product {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    /* Buttons */
    .btn-primary-custom {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    /* WhatsApp */
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 10px;
    }
    
    .footer-title {
        font-size: 15px;
        margin-top: 15px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        margin-right: 8px;
    }
}

/* === EXTRA SMALL (480px) === */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 22px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .top-bar {
        font-size: 10px;
        padding: 8px 0;
    }
}

/* === LANDSCAPE ORIENTATION === */
@media (max-width: 992px) and (orientation: landscape) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .section-spacing {
        padding: 60px 0;
    }
}

/* === HIGH DPI DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image img,
    .category-card img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* === TOUCH DEVICES === */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn-view-category,
    .btn-view-product,
    .btn-primary-custom,
    .social-icon {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-overlay {
        opacity: 0;
    }
    
    .product-card:active .product-overlay {
        opacity: 1;
    }
    
    .color-dot {
        width: 24px;
        height: 24px;
    }
}

/* === PRINT STYLES === */
@media print {
    .top-bar,
    .navbar,
    .whatsapp-float,
    .footer,
    .btn-whatsapp {
        display: none !important;
    }
    
    .hero-section {
        background: var(--blush-mist);
        color: var(--dark-cocoa);
    }
    
    .product-card,
    .category-card {
        page-break-inside: avoid;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* === DARK MODE SUPPORT (Optional) === */
@media (prefers-color-scheme: dark) {
    /* Keep light theme - comment out if dark mode needed */
    body {
        color-scheme: light;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .whatsapp-float {
        animation: none;
    }
}
