/* ============================================
   ADVANCED HOVER EFFECTS & ANIMATIONS
   Miniwear Overseas - Premium Interactions
   ============================================ */

/* ============================================
   GLOBAL HOVER TRANSITIONS
   ============================================ */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   HEADER NAVIGATION HOVER EFFECTS
   ============================================ */
.navbar {
    transition: all 0.4s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #6366F1 0%, #EC4899 100%);
    transition: width 0.4s ease;
}

.navbar-brand:hover::before {
    width: 100%;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366F1 0%, #EC4899 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #8b5cf6 !important;
    -webkit-text-fill-color: #8b5cf6 !important;
    transform: translateY(-2px);
}

.btn-contact {
    position: relative;
    overflow: hidden;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-contact:hover::before {
    width: 300px;
    height: 300px;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
}

/* ============================================
   CARD HOVER EFFECTS
   ============================================ */
.card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #6366F1;
}

/* Category Cards */
.category-card {
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

.category-card:hover .icon-box {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Product Cards */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.product-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.product-card .badge {
    transition: all 0.3s ease;
}

.product-card:hover .badge {
    transform: scale(1.1);
}

/* Catalog Cards */
.catalog-card {
    transition: all 0.4s ease;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25);
}

.catalog-card:hover .card-header {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
}

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* ============================================
   FOOTER HOVER EFFECTS
   ============================================ */
footer a {
    position: relative;
    transition: all 0.3s ease;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #EC4899;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

footer a:hover {
    color: #EC4899 !important;
    transform: translateX(5px);
}

footer .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ============================================
   ICON HOVER EFFECTS
   ============================================ */
.icon-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-box:hover {
    transform: scale(1.2) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* ============================================
   IMAGE HOVER EFFECTS
   ============================================ */
img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card img:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* ============================================
   LINK HOVER EFFECTS
   ============================================ */
a {
    position: relative;
    transition: all 0.3s ease;
}

a:not(.btn):not(.nav-link):hover {
    color: #EC4899 !important;
}

/* ============================================
   BADGE HOVER EFFECTS
   ============================================ */
.badge {
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FORM HOVER EFFECTS
   ============================================ */
.form-control,
.form-select {
    transition: all 0.3s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control:focus,
.form-select:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    transform: scale(1.01);
}

/* ============================================
   WHATSAPP BUTTON HOVER
   ============================================ */
.whatsapp-btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    animation: none;
}

/* ============================================
   HERO SECTION HOVER EFFECTS
   ============================================ */
.hero-section .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.floating-trophy {
    transition: all 0.5s ease;
}

.floating-trophy:hover {
    transform: scale(1.1) rotate(5deg);
}

/* ============================================
   STATS COUNTER HOVER
   ============================================ */
.stats-box {
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25) !important;
}

/* ============================================
   SOCIAL ICONS HOVER
   ============================================ */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* ============================================
   PAGINATION HOVER
   ============================================ */
.page-link {
    transition: all 0.3s ease;
}

.page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .product-card:hover {
        transform: translateY(-6px);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
}

/* ============================================
   ACCESSIBILITY - REDUCE MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
