/**
 * CATEGORIES SHOWCASE - Vylepšené styly pro kategorie
 * GISHOP.CZ - Moderní grid kategorií s ikonami
 */

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-showcase {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.categories-showcase .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ============================================
   CATEGORY CARD
   ============================================ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.category-card:hover::before {
    transform: scaleX(1);
}

/* ============================================
   CATEGORY ICON
   ============================================ */
.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.category-icon i {
    font-size: 2rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
}

/* ============================================
   CATEGORY TEXT
   ============================================ */
.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: #667eea;
}

.category-card p {
    font-size: 0.875rem;
    color: #718096;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

/* ============================================
   CATEGORY LINK
   ============================================ */
.category-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.category-link i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-link {
    color: #764ba2;
}

.category-card:hover .category-link i {
    transform: translateX(5px);
}

/* ============================================
   VARIED ICON COLORS (optional - each category unique)
   ============================================ */
.category-card:nth-child(1) .category-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-card:nth-child(2) .category-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.category-card:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.category-card:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.category-card:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.category-card:nth-child(6) .category-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    box-shadow: 0 8px 20px rgba(168, 237, 234, 0.4);
}

.category-card:nth-child(6) .category-icon i {
    color: #1a202c;
}

.category-card:nth-child(7) .category-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    box-shadow: 0 8px 20px rgba(255, 154, 158, 0.4);
}

.category-card:nth-child(7) .category-icon i {
    color: #1a202c;
}

.category-card:nth-child(8) .category-icon {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .category-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .categories-showcase {
        padding: 40px 0;
    }
    
    .categories-showcase .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .category-card h3 {
        font-size: 0.95rem;
    }
    
    .category-card p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .category-link {
        font-size: 0.85rem;
    }
}

/* ============================================
   CHRISTMAS THEME OVERRIDE
   ============================================ */
.christmas-mode .category-card:nth-child(odd) .category-icon {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
}

.christmas-mode .category-card:nth-child(even) .category-icon {
    background: linear-gradient(135deg, #228b22 0%, #006400 100%);
}

.christmas-mode .category-card:hover {
    border-color: #c41e3a;
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.15);
}

.christmas-mode .category-link {
    color: #c41e3a;
}
