/* ==========================================================
   78 SHOES — RESPONSIVE & ANIMATIONS STYLESHEET
   ========================================================== */

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Apply smooth fade-in to main containers */
.product-card, .category-card, .feature-box {
    animation: fadeIn 0.5s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Micro-interactions */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.category-card {
    overflow: hidden;
}

.category-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Buttons Smooth Interactive Effect */
.btn-78-primary, .btn-78-outline, .btn-add-cart {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-78-primary:active, .btn-add-cart:active {
    transform: scale(0.97);
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */

/* Tablets & Small Desktops (Max-width: 991px) */
@media (max-width: 991px) {
    .hero-section {
        height: 65vh;
        text-align: center;
        padding: 0 20px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-78 .navbar-collapse {
        background-color: var(--secondary-white);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }
}

/* Mobile Devices (Max-width: 768px) */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 11px;
        padding: 6px 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .btn-78-primary, .btn-78-outline {
        padding: 10px 20px;
        font-size: 13px;
        display: block;
        width: 100%;
        margin: 8px 0 !important;
    }

    .product-thumb {
        height: 220px;
    }

    .promo-banner {
        padding: 50px 15px;
    }

    .promo-banner h2 {
        font-size: 28px;
    }

    footer {
        padding: 40px 0 10px 0;
        text-align: center;
    }

    footer .social-icons {
        justify-content: center;
        display: flex;
    }
}

/* Small Mobile Devices (Max-width: 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }
    
    .product-thumb {
        height: 180px;
    }
}